aboutsummaryrefslogtreecommitdiff
path: root/ld/dep-in.sed
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-04-04 14:07:57 +0000
committerAlan Modra <amodra@gmail.com>2002-04-04 14:07:57 +0000
commit61bef6f1a0bde53d572248596bbada98c8049b56 (patch)
tree3684e89c4e673f0d33588a65aff8fff1bd3a3a42 /ld/dep-in.sed
parent8e42bcb6b9f45f5d37fd492f0803d3a8973b57c2 (diff)
downloadgdb-61bef6f1a0bde53d572248596bbada98c8049b56.zip
gdb-61bef6f1a0bde53d572248596bbada98c8049b56.tar.gz
gdb-61bef6f1a0bde53d572248596bbada98c8049b56.tar.bz2
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR and BFDDIR. Run "make dep-am". * Makefile.in: Regenerate.
Diffstat (limited to 'ld/dep-in.sed')
-rw-r--r--ld/dep-in.sed3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/dep-in.sed b/ld/dep-in.sed
index 89b1201..aad7d92 100644
--- a/ld/dep-in.sed
+++ b/ld/dep-in.sed
@@ -3,6 +3,9 @@
/\\$/b loop
s!@INCDIR@!$(INCDIR)!g
+s!@TOPDIR@/include!$(INCDIR)!g
+s!@BFDDIR@!$(BFDDIR)!g
+s!@TOPDIR@/bfd!$(BFDDIR)!g
s!@SRCDIR@/!!g
s! \.\./bfd/hosts/[^ ]*\.h! !g