From cfa9f8450c82b71a4e7b8acd7c064872706327eb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 31 Mar 1998 23:00:57 +0000 Subject: [PATCH] tweak --- gas/Makefile.am | 3 ++- gas/Makefile.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.30.2