diff options
author | Alan Modra <amodra@gmail.com> | 2019-04-23 16:42:27 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-04-23 17:02:44 +0930 |
commit | cc9519e7d6251b84dd95c55b562a15b25d703bc0 (patch) | |
tree | 72696813973af6dd02511a3a8c32e51c0445c6af /ld/Makefile.in | |
parent | 6f38008bb423d71e6984c8ce49b4fc83d2cdaf0d (diff) | |
download | gdb-cc9519e7d6251b84dd95c55b562a15b25d703bc0.zip gdb-cc9519e7d6251b84dd95c55b562a15b25d703bc0.tar.gz gdb-cc9519e7d6251b84dd95c55b562a15b25d703bc0.tar.bz2 |
Fix automatic makefile dependencies for generated ld/e*.c
Commit c40e31a121 broke --enable-dependency-tracking=no.
* Makefile.am (GENDEPDIR): New var, used..
(GENSCRIPTS): ..here.
* Makefile.in: Regenerate.
* genscripts.sh: Test for $DEPDIR set before every use.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r-- | ld/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in index e71b4d4..fbccfbc 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -638,6 +638,8 @@ AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \ BFDLIB = ../bfd/libbfd.la LIBIBERTY = ../libiberty/libiberty.a + +# These all start with e so 'make clean' can find them. ALL_EMULATION_SOURCES = \ eaix5ppc.c \ eaix5rs6.c \ @@ -979,9 +981,9 @@ OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c SRC_POTFILES = $(CFILES) $(HFILES) BLD_POTFILES = $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES) - -# These all start with e so 'make clean' can find them. -GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @target_alias@ "${DEPDIR}" "${LIB_PATH}" "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@ @enable_initfini_array@ +@AMDEP_FALSE@GENDEPDIR = +@AMDEP_TRUE@GENDEPDIR = $(DEPDIR) +GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @target_alias@ "$(GENDEPDIR)" "${LIB_PATH}" "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@ @enable_initfini_array@ GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed # We need this for automake to use YLWRAP. |