2003-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* automake/compile.am: Introduce depend-gcc.
	* automake/lib.am: Remove stray comment.
	* automake/local.am: Introduce depend-gcc.
This commit is contained in:
Ralf Corsepius
2003-02-28 05:13:20 +00:00
parent 09969a8d12
commit 15eb411e86
4 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
2003-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Introduce depend-gcc.
* automake/lib.am: Remove stray comment.
* automake/local.am: Introduce depend-gcc.
2003-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* config-ml.in: Don't build arm-rtems/*fpu* multilib variants.

View File

@@ -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

View File

@@ -2,7 +2,6 @@
## $Id$
##
## LD = @LD@
AR = @AR@
RANLIB = @RANLIB@

View File

@@ -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