aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-03-31 23:00:57 +0000
committerIan Lance Taylor <ian@airs.com>1998-03-31 23:00:57 +0000
commitcfa9f8450c82b71a4e7b8acd7c064872706327eb (patch)
tree00d4d586aeabb0191d5d41e844d48acdeec0f718 /gas/Makefile.am
parentba91002682bdb1fe9615ccc6d36a952f83e0eef2 (diff)
downloadgdb-cfa9f8450c82b71a4e7b8acd7c064872706327eb.zip
gdb-cfa9f8450c82b71a4e7b8acd7c064872706327eb.tar.gz
gdb-cfa9f8450c82b71a4e7b8acd7c064872706327eb.tar.bz2
tweak
Diffstat (limited to 'gas/Makefile.am')
-rw-r--r--gas/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/Makefile.am b/gas/Makefile.am
index 6d007e7..695ae1d 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