aboutsummaryrefslogtreecommitdiff
path: root/bfd/dep-in.sed
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/dep-in.sed')
-rw-r--r--bfd/dep-in.sed16
1 files changed, 10 insertions, 6 deletions
diff --git a/bfd/dep-in.sed b/bfd/dep-in.sed
index f2dc0b6..9f1f29f 100644
--- a/bfd/dep-in.sed
+++ b/bfd/dep-in.sed
@@ -4,18 +4,22 @@
s! @BFD_H@!!g
s!@INCDIR@!$(INCDIR)!g
-s!@srcdir@/!!g
-s!hosts/.*\.h ! !g
+s!@SRCDIR@/!!g
+s!hosts/[^ ]*\.h ! !g
s/ sysdep.h//g
+s/ \.\./bfd/sysdep.h//g
s/ libbfd.h//g
-s! \$(INCDIR)/fopen-.*\.h!!g
+s/ config.h//g
+s! \$(INCDIR)/fopen-[^ ]*\.h!!g
s! \$(INCDIR)/ansidecl\.h!!g
s! \$(INCDIR)/obstack\.h!!g
-s/\\\n *\\/\\/g
-s/\\\n *$/ /g
+s/\\\n */ /g
-/^ *\\$/d
s/ *$//
s/ */ /g
+s/ *:/:/g
/:$/d
+
+s/\(.\{50\}[^ ]*\) /\1 \\\
+ /g