diff options
Diffstat (limited to 'contrib/gdb/bfd/dep-in.sed')
-rw-r--r-- | contrib/gdb/bfd/dep-in.sed | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/gdb/bfd/dep-in.sed b/contrib/gdb/bfd/dep-in.sed new file mode 100644 index 0000000..1cbd786 --- /dev/null +++ b/contrib/gdb/bfd/dep-in.sed @@ -0,0 +1,24 @@ +:loop +/\\$/N +/\\$/b loop + +s! @BFD_H@!!g +s!@INCDIR@!$(INCDIR)!g +s!@SRCDIR@/!!g +s!hosts/[^ ]*\.h ! !g +s/ sysdep.h//g +s/ libbfd.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/ *$// +s/ */ /g +s/ *:/:/g +/:$/d + +s/\(.\{50\}[^ ]*\) /\1 \\\ + /g |