diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-08-24 05:57:44 +0000 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-08-24 05:57:44 +0000 |
commit | 8a0e27600ba9a8575365c257cda4816cdd7011a2 (patch) | |
tree | 385d94d7af8a6e126ed5ae2bcfa50bd47eaeea5d /ld/Makefile.am | |
parent | a15af8e2a701878628fc17f5abfdd088aeec4fa3 (diff) | |
download | gdb-8a0e27600ba9a8575365c257cda4816cdd7011a2.zip gdb-8a0e27600ba9a8575365c257cda4816cdd7011a2.tar.gz gdb-8a0e27600ba9a8575365c257cda4816cdd7011a2.tar.bz2 |
dependency tracking fixes in ld
ld/:
* Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
rules.
(eelf32_spu.o): Add dependency tracking.
* Makefile.in: Regenerate.
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r-- | ld/Makefile.am | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am index bc4915c..1469015 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -523,7 +523,7 @@ if am__fastdepCC mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po else if AMDEP - source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@ + source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ endif $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \ @@ -540,7 +540,7 @@ if am__fastdepCC mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po else if AMDEP - source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@ + source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ endif $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \ @@ -549,8 +549,18 @@ endif endif eelf32_spu.o: eelf32_spu.c +if am__fastdepCC + $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ + -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c + mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +else +if AMDEP + source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@ + DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +endif $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \ eelf32_spu.c +endif ldemul-list.h: Makefile (echo "/* This file is automatically generated. DO NOT EDIT! */";\ |