aboutsummaryrefslogtreecommitdiff
path: root/bfd/dep-in.sed
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-10-04 17:50:47 +0000
committerIan Lance Taylor <ian@airs.com>1996-10-04 17:50:47 +0000
commita3d5a7062df3f0649e1c64f0755db4fd177a8ec6 (patch)
tree0acac376c00bb4082d3e245514067c6545029b41 /bfd/dep-in.sed
parentc00ae065d4d65cae7d3651759b04b35e940b4547 (diff)
downloadgdb-a3d5a7062df3f0649e1c64f0755db4fd177a8ec6.zip
gdb-a3d5a7062df3f0649e1c64f0755db4fd177a8ec6.tar.gz
gdb-a3d5a7062df3f0649e1c64f0755db4fd177a8ec6.tar.bz2
* dep-in.sed: Remove ../bfd/sysdep.h, since it will appear when
som.h is included.
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