From 4e36a2f133c68aaf637e166385eff1a05b59f38e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 31 Jan 2000 15:27:02 +0000 Subject: Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from Ralf Corsepius that contain: * Modifications, (minor) corrections, cleanups to most existing Makefile.ams * Adds automake support to all remaining BSPs which have not yet been converted to automake. * Makefile.am for all remaining wrapup/Makefile.ams --- c/src/lib/libcpu/powerpc/mpc6xx/mmu/Makefile.am | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'c/src/lib/libcpu/powerpc/mpc6xx/mmu/Makefile.am') diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/Makefile.am b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/Makefile.am index 041881a756..0c3ee63743 100644 --- a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/Makefile.am @@ -4,18 +4,15 @@ AUTOMAKE_OPTIONS = foreign 1.4 -PGM = ${ARCH}/mmu.rel +PGM = $(ARCH)/mmu.rel -## C sources C_FILES = bat.c -## Assembly sources S_FILES = mmuAsm.S H_FILES = bat.h -noinst_HEADERS = $(H_FILES) -mmu_rel_OBJECTS = $(C_FILES:%.c=${ARCH}/%.o) $(S_FILES:%.S=${ARCH}/%.o) +mmu_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o) $(S_FILES:%.S=$(ARCH)/%.o) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../../../automake/lib.am @@ -25,8 +22,6 @@ $(PROJECT_INCLUDE)/libcpu: $(PROJECT_INCLUDE)/libcpu/%.h: %.h $(INSTALL_DATA) $< $@ -PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu $(PROJECT_INCLUDE)/libcpu/bat.h - # # (OPTIONAL) Add local stuff here using += # @@ -36,8 +31,13 @@ AM_CFLAGS = $(CFLAGS_OS_V) $(PGM): $(mmu_rel_OBJECTS) $(make-rel) -all-local: ${ARCH} $(PREINSTALL_FILES) $(PGM) +PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \ + $(PROJECT_INCLUDE)/libcpu/bat.h + +all-local: $(ARCH) $(PREINSTALL_FILES) $(mmu_rel_OBJECTS) $(PGM) + +.PRECIOUS: $(PGM) -EXTRA_DIST = $(C_FILES) $(S_FILES) +EXTRA_DIST = bat.c bat.h mmuAsm.S include $(top_srcdir)/../../../../../automake/local.am -- cgit v1.2.3