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/sh/sh7032/null/Makefile.am | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'c/src/lib/libcpu/sh/sh7032/null/Makefile.am') diff --git a/c/src/lib/libcpu/sh/sh7032/null/Makefile.am b/c/src/lib/libcpu/sh/sh7032/null/Makefile.am index dcfa2abdd7..67862acb20 100644 --- a/c/src/lib/libcpu/sh/sh7032/null/Makefile.am +++ b/c/src/lib/libcpu/sh/sh7032/null/Makefile.am @@ -4,32 +4,27 @@ AUTOMAKE_OPTIONS = foreign 1.4 -PGM = ${ARCH}/null.rel +PGM = $(ARCH)/null.rel -## C source names C_FILES = open.c close.c read.c write.c init.c cntrl.c -C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) - -H_FILES = - -## Assembly source names -S_FILES = -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) +C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) OBJS = $(C_O_FILES) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg +include $(top_srcdir)/../../../../../automake/lib.am # # (OPTIONAL) Add local stuff here using += # -${PGM}: ${OBJS} +$(PGM): $(OBJS) $(make-rel) -all: ${ARCH} $(PGM) +all-local: $(ARCH) $(OBJS) $(PGM) + +.PRECIOUS: $(PGM) -EXTRA_DIST = $(C_FILES) $(S_FILES) +EXTRA_DIST = close.c cntrl.c init.c open.c read.c write.c include $(top_srcdir)/../../../../../automake/local.am -- cgit v1.2.3