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:49:31 +00:00
parent 2c8fbddf08
commit 8a13fe8172
4 changed files with 29 additions and 18 deletions
@@ -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.
2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add PREINSTALL_DIRS.
@@ -4,32 +4,32 @@
ACLOCAL_AMFLAGS = -I ../../../../../aclocal
# C source names
C_FILES = cpu.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
include $(top_srcdir)/../../../../../automake/compile.am
EXTRA_PROGRAMS =
CLEANFILES =
noinst_DATA =
include_rtems_scoredir = $(includedir)/rtems/score
include_rtems_score_HEADERS = rtems/score/ppc_offs.h
# Assembly source names
S_FILES = cpu_asm.S
S_O_FILES = $(S_FILES:%.S=${ARCH}/%.$(OBJEXT))
include $(top_srcdir)/../../../../../automake/compile.am
include $(top_srcdir)/../../../../../automake/lib.am
AM_CPPFLAGS += -I$(srcdir)
REL = $(ARCH)/rtems-cpu.rel
EXTRA_DIST = TODO irq_stub.S ppccache.c
$(REL): $(C_O_FILES) $(S_O_FILES)
$(make-rel)
EXTRA_PROGRAMS += rtems-cpu.rel
CLEANFILES += rtems-cpu.rel
rtems_cpu_rel_SOURCES = cpu.c cpu_asm.S rtems/score/ppc_offs.h
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)
UNUSED_FILES = irq_stub.S
EXTRA_DIST = TODO $(C_FILES) $(S_FILES) $(UNUSED_FILES)
noinst_DATA += rtems-cpu$(LIB_VARIANT).rel
PREINSTALL_DIRS =
PREINSTALL_FILES =
@@ -43,7 +43,7 @@ $(PROJECT_INCLUDE)/rtems/score/ppc_offs.h: rtems/score/ppc_offs.h $(PROJECT_INCL
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/ppc_offs.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/ppc_offs.h
CLEANFILES = $(PREINSTALL_FILES)
CLEANFILES += $(PREINSTALL_FILES)
DISTCLEANFILES = $(PREINSTALL_DIRS)
include $(top_srcdir)/../../../../../automake/local.am
@@ -13,6 +13,7 @@ RTEMS_PROJECT_ROOT
RTEMS_PROG_CC_FOR_TARGET
RTEMS_CANONICALIZE_TOOLS
RTEMS_PROG_CCAS
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
@@ -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.
2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add PREINSTALL_DIRS.