From 15eb411e86ea28b79343858152a10107de0f71f8 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 28 Feb 2003 05:13:20 +0000 Subject: 2003-02-28 Ralf Corsepius * automake/compile.am: Introduce depend-gcc. * automake/lib.am: Remove stray comment. * automake/local.am: Introduce depend-gcc. --- automake/compile.am | 7 ++++--- automake/lib.am | 1 - automake/local.am | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'automake') diff --git a/automake/compile.am b/automake/compile.am index f7aa280ec3..81181cead7 100644 --- a/automake/compile.am +++ b/automake/compile.am @@ -110,9 +110,10 @@ DEPEND=Depends-${ARCH} # on 'make clean' # +if RTEMS_USE_GCC ## HACK: Specific to gcc ## FIXME: The approach below is known to be conceptionally broken. -depend-am: $(C_FILES) $(CC_FILES) $(S_FILES) +depend-gcc: $(C_FILES) $(CC_FILES) $(S_FILES) ## Use gcc -M to generate dependencies ## Replace foo.o with $(ARCH)/foo.o ## Replace $(ARCH) value with string $(ARCH) @@ -121,13 +122,13 @@ depend-am: $(C_FILES) $(CC_FILES) $(S_FILES) sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \ -e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp mv $(DEPEND).tmp $(DEPEND) -depend: depend-am # pull in dependencies if they exist ifeq (${DEPEND},$(wildcard ${DEPEND})) include ${DEPEND} @ENDIF@ - +endif +depend: depend-am # spell out all the LINK_FILE's, rather than using -lbsp, so # that $(LINK_FILES) can be a dependency diff --git a/automake/lib.am b/automake/lib.am index cebdc20377..79eca2089b 100644 --- a/automake/lib.am +++ b/automake/lib.am @@ -2,7 +2,6 @@ ## $Id$ ## -## LD = @LD@ AR = @AR@ RANLIB = @RANLIB@ diff --git a/automake/local.am b/automake/local.am index 013d48f70a..59698e508d 100644 --- a/automake/local.am +++ b/automake/local.am @@ -20,9 +20,9 @@ preinstall-am: $(PREINSTALL_FILES) preinstall: preinstall-am .PHONY: preinstall preinstall-am -depend-am: +depend-am: depend-gcc depend: depend-am -.PHONY: depend depend-am +.PHONY: depend depend-am depend-gcc PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools -- cgit v1.2.3