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/libbsp/i386/i386ex/network/Makefile.am | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'c/src/lib/libbsp/i386/i386ex/network') diff --git a/c/src/lib/libbsp/i386/i386ex/network/Makefile.am b/c/src/lib/libbsp/i386/i386ex/network/Makefile.am index a1d9825440..622d9ccfb3 100644 --- a/c/src/lib/libbsp/i386/i386ex/network/Makefile.am +++ b/c/src/lib/libbsp/i386/i386ex/network/Makefile.am @@ -4,14 +4,12 @@ AUTOMAKE_OPTIONS = foreign 1.4 -PGM = ${ARCH}/network.rel +PGM = $(ARCH)/network.rel -## C source names C_FILES = network.c -C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) +C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) H_FILES = netexterns.h uti596.h -noinst_HEADERS = $(H_FILES) OBJS = $(C_O_FILES) @@ -22,17 +20,17 @@ include $(top_srcdir)/../../../../../../automake/lib.am # (OPTIONAL) Add local stuff here using += # -$(PGM): ${OBJS} +$(PGM): $(OBJS) $(make-rel) +# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile + if HAS_NETWORKING -all-local: ${ARCH} $(PGM) -else -all-local: +all-local: $(ARCH) $(OBJS) $(PGM) endif -# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile +.PRECIOUS: $(PGM) -EXTRA_DIST = $(C_FILES) +EXTRA_DIST = netexterns.h network.c uti596.h include $(top_srcdir)/../../../../../../automake/local.am -- cgit v1.2.3