summaryrefslogtreecommitdiff
path: root/bfd/dep-in.sed
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/dep-in.sed')
-rw-r--r--bfd/dep-in.sed4
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/dep-in.sed b/bfd/dep-in.sed
index 4a706aa5be0..ce8b79b0546 100644
--- a/bfd/dep-in.sed
+++ b/bfd/dep-in.sed
@@ -5,8 +5,10 @@ t loop
s!\.o:!.lo:!
s! @BFD_H@!!g
-s!@INCDIR@!$(INCDIR)!g
+s!@SRCDIR@/../include!$(INCDIR)!g
+s!@TOPDIR@/include!$(INCDIR)!g
s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g
+s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
s!@SRCDIR@/!!g
s! hosts/[^ ]*\.h! !g
s! sysdep.h!!g