2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* configure.ac: Add RTEMS_PROG_CCAS.
	* Makefile.am: Use automake compilation rules.
This commit is contained in:
Ralf Corsepius
2004-01-30 12:54:49 +00:00
parent 8a13fe8172
commit d1b26aafd6
4 changed files with 26 additions and 15 deletions

View File

@@ -1,3 +1,8 @@
2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_PROG_CCAS.
* Makefile.am: Use automake compilation rules.
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.

View File

@@ -4,26 +4,26 @@
ACLOCAL_AMFLAGS = -I ../../../../../aclocal ACLOCAL_AMFLAGS = -I ../../../../../aclocal
C_FILES = cpu.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
S_FILES = cpu_asm.S
S_O_FILES = $(S_FILES:%.S=${ARCH}/%.$(OBJEXT))
include $(top_srcdir)/../../../../../automake/compile.am include $(top_srcdir)/../../../../../automake/compile.am
include $(top_srcdir)/../../../../../automake/lib.am
# EXTRA_PROGRAMS =
# (OPTIONAL) Add local stuff here using += CLEANFILES =
# noinst_DATA =
REL = $(ARCH)/rtems-cpu.rel all-local: $(TMPINSTALL_FILES)
$(REL): $(C_O_FILES) $(S_O_FILES) EXTRA_PROGRAMS += rtems-cpu.rel
$(make-rel) CLEANFILES += rtems-cpu.rel
rtems_cpu_rel_SOURCES = cpu.c cpu_asm.S
rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
all-local: $(TMPINSTALL_FILES) $(REL) EXTRA_PROGRAMS += rtems-cpu_g.rel
CLEANFILES += rtems-cpu_g.rel
rtems_cpu_g_rel_SOURCES = $(rtems_cpu_rel_SOURCES)
rtems_cpu_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
rtems_cpu_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
EXTRA_DIST = $(C_FILES) $(S_FILES) noinst_DATA += rtems-cpu$(LIB_VARIANT).rel
include $(top_srcdir)/../../../../../automake/local.am include $(top_srcdir)/../../../../../automake/local.am

View File

@@ -13,6 +13,7 @@ RTEMS_PROJECT_ROOT
RTEMS_PROG_CC_FOR_TARGET RTEMS_PROG_CC_FOR_TARGET
RTEMS_CANONICALIZE_TOOLS RTEMS_CANONICALIZE_TOOLS
RTEMS_PROG_CCAS
AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([Makefile])
AC_OUTPUT AC_OUTPUT

View File

@@ -1,3 +1,8 @@
2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_PROG_CCAS.
* Makefile.am: Use automake compilation rules.
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.