diff options
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! */";\ |