forked from Imagelibrary/rtems
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:
@@ -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>
|
2003-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* config-ml.in: Don't build arm-rtems/*fpu* multilib variants.
|
* config-ml.in: Don't build arm-rtems/*fpu* multilib variants.
|
||||||
|
|||||||
@@ -110,9 +110,10 @@ DEPEND=Depends-${ARCH}
|
|||||||
# on 'make clean'
|
# on 'make clean'
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if RTEMS_USE_GCC
|
||||||
## HACK: Specific to gcc
|
## HACK: Specific to gcc
|
||||||
## FIXME: The approach below is known to be conceptionally broken.
|
## 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
|
## Use gcc -M to generate dependencies
|
||||||
## Replace foo.o with $(ARCH)/foo.o
|
## Replace foo.o with $(ARCH)/foo.o
|
||||||
## Replace $(ARCH) value with string $(ARCH)
|
## 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:?' \
|
sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
|
||||||
-e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp
|
-e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp
|
||||||
mv $(DEPEND).tmp $(DEPEND)
|
mv $(DEPEND).tmp $(DEPEND)
|
||||||
depend: depend-am
|
|
||||||
|
|
||||||
# pull in dependencies if they exist
|
# pull in dependencies if they exist
|
||||||
ifeq (${DEPEND},$(wildcard ${DEPEND}))
|
ifeq (${DEPEND},$(wildcard ${DEPEND}))
|
||||||
include ${DEPEND}
|
include ${DEPEND}
|
||||||
@ENDIF@
|
@ENDIF@
|
||||||
|
endif
|
||||||
|
depend: depend-am
|
||||||
|
|
||||||
# spell out all the LINK_FILE's, rather than using -lbsp, so
|
# spell out all the LINK_FILE's, rather than using -lbsp, so
|
||||||
# that $(LINK_FILES) can be a dependency
|
# that $(LINK_FILES) can be a dependency
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
## LD = @LD@
|
|
||||||
AR = @AR@
|
AR = @AR@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
|
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ preinstall-am: $(PREINSTALL_FILES)
|
|||||||
preinstall: preinstall-am
|
preinstall: preinstall-am
|
||||||
.PHONY: preinstall preinstall-am
|
.PHONY: preinstall preinstall-am
|
||||||
|
|
||||||
depend-am:
|
depend-am: depend-gcc
|
||||||
depend: depend-am
|
depend: depend-am
|
||||||
.PHONY: depend depend-am
|
.PHONY: depend depend-am depend-gcc
|
||||||
|
|
||||||
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
|
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user