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/mips64orion/clock/Makefile.am | 13 ++++++------- c/src/lib/libcpu/mips64orion/timer/Makefile.am | 12 ++++++------ 2 files changed, 12 insertions(+), 13 deletions(-) (limited to 'c/src/lib/libcpu/mips64orion') diff --git a/c/src/lib/libcpu/mips64orion/clock/Makefile.am b/c/src/lib/libcpu/mips64orion/clock/Makefile.am index 854a2eb08c..e235a5d4de 100644 --- a/c/src/lib/libcpu/mips64orion/clock/Makefile.am +++ b/c/src/lib/libcpu/mips64orion/clock/Makefile.am @@ -4,18 +4,15 @@ AUTOMAKE_OPTIONS = foreign 1.4 -PGM = ${ARCH}/clock.rel +PGM = $(ARCH)/clock.rel -## C source names C_FILES = ckinit.c -## Assembly source names S_FILES = clock.S H_FILES = clock.h -noinst_HEADERS = $(H_FILES) -clock_rel_OBJECTS = $(C_FILES:%.c=${ARCH}/%.o) $(S_FILES:%.S=${ARCH}/%.o) +clock_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 @@ -27,8 +24,10 @@ include $(top_srcdir)/../../../../../automake/lib.am $(PGM): $(clock_rel_OBJECTS) $(make-rel) -all-local: ${ARCH} $(PGM) +all-local: $(ARCH) $(clock_rel_OBJECTS) $(PGM) -EXTRA_DIST = $(S_FILES) $(C_FILES) +.PRECIOUS: $(PGM) + +EXTRA_DIST = ckinit.c clock.S clock.h include $(top_srcdir)/../../../../../automake/local.am diff --git a/c/src/lib/libcpu/mips64orion/timer/Makefile.am b/c/src/lib/libcpu/mips64orion/timer/Makefile.am index 99e55df71d..ee37d10453 100644 --- a/c/src/lib/libcpu/mips64orion/timer/Makefile.am +++ b/c/src/lib/libcpu/mips64orion/timer/Makefile.am @@ -4,15 +4,13 @@ AUTOMAKE_OPTIONS = foreign 1.4 -PGM = ${ARCH}/timer.rel +PGM = $(ARCH)/timer.rel -## C source names C_FILES = timer.c -## Assembly source names S_FILES = gettime.S -timer_rel_OBJECTS = $(C_FILES:%.c=${ARCH}/%.o) $(S_FILES:%.S=${ARCH}/%.o) +timer_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 @@ -24,8 +22,10 @@ include $(top_srcdir)/../../../../../automake/lib.am $(PGM): $(timer_rel_OBJECTS) $(make-rel) -all-local: ${ARCH} $(PGM) +all-local: $(ARCH) $(timer_rel_OBJECTS) $(PGM) -EXTRA_DIST = $(S_FILES) $(C_FILES) +.PRECIOUS: $(PGM) + +EXTRA_DIST = gettime.S timer.c include $(top_srcdir)/../../../../../automake/local.am -- cgit v1.2.3