From: Ian Lance Taylor Date: Tue, 31 Mar 1998 23:00:57 +0000 (+0000) Subject: tweak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfa9f8450c82b71a4e7b8acd7c064872706327eb;p=binutils-gdb.git tweak --- diff --git a/gas/Makefile.am b/gas/Makefile.am index 6d007e7912d..695ae1de705 100644 --- a/gas/Makefile.am +++ b/gas/Makefile.am @@ -633,7 +633,8 @@ DEP_FILE_DEPS = $(CFILES) $(HFILES) $(TARGET_CPU_CFILES) \ .dep: dep.sed $(DEP_FILE_DEPS) .tcdep .objdep .dep2 rm -f .dep1 - $(MAKE) DEP=$(DEP) .dep1 + srcdir=`cd $(srcdir); pwd`; \ + $(MAKE) DEP=$(DEP) srcdir=$${srcdir} VPATH=$${srcdir} .dep1 rm -rf .depdir sed -f dep.sed < .dep1 > .depa sed -f dep.sed < .tcdep >> .depa diff --git a/gas/Makefile.in b/gas/Makefile.in index be591fe6ad9..b615a82e4bd 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -1787,7 +1787,8 @@ de-stage3: .dep: dep.sed $(DEP_FILE_DEPS) .tcdep .objdep .dep2 rm -f .dep1 - $(MAKE) DEP=$(DEP) .dep1 + srcdir=`cd $(srcdir); pwd`; \ + $(MAKE) DEP=$(DEP) srcdir=$${srcdir} VPATH=$${srcdir} .dep1 rm -rf .depdir sed -f dep.sed < .dep1 > .depa sed -f dep.sed < .tcdep >> .depa