X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fdep-in.sed;h=2e0a4fb59ab1485f01e01d755c95ccf10114a97c;hb=831bd6aa3b2d5e36c94b89756f58bb99f35026ca;hp=f2dc0b625f111415e7710ec3b9df7f1b7f918553;hpb=d684720f2942469235f050c9901acc4eb11738b5;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/dep-in.sed b/bfd/dep-in.sed index f2dc0b625f..2e0a4fb59a 100644 --- a/bfd/dep-in.sed +++ b/bfd/dep-in.sed @@ -1,21 +1,28 @@ :loop /\\$/N -/\\$/b loop +s/\\\n */ /g +t loop +s! \./! !g s! @BFD_H@!!g -s!@INCDIR@!$(INCDIR)!g -s!@srcdir@/!!g -s!hosts/.*\.h ! !g -s/ sysdep.h//g -s/ libbfd.h//g -s! \$(INCDIR)/fopen-.*\.h!!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 +s! \.\./bfd/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! \$(INCDIR)/symcat\.h!!g +s! \.\./intl/libintl\.h!!g -s/\\\n *\\/\\/g -s/\\\n *$/ /g - -/^ *\\$/d s/ *$// s/ */ /g -/:$/d +s/^ */A/ +s/ / \\\ +B/g +$s/$/ \\/