X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=ld%2Fdep-in.sed;h=4f77b5de5721f0329a13fce0e9bb277cad4e87f0;hb=db3ad2f031d4da70db35977abbcede0399d81d6b;hp=89b120147bd8d384d3017a6161ceda1597458073;hpb=27e232885db363fb545fd2f450e72d929e59b8f6;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/dep-in.sed b/ld/dep-in.sed index 89b120147b..4f77b5de57 100644 --- a/ld/dep-in.sed +++ b/ld/dep-in.sed @@ -1,16 +1,20 @@ :loop /\\$/N -/\\$/b loop +s/\\\n */ /g +t loop +s! \./! !g s!@INCDIR@!$(INCDIR)!g +s!@TOPDIR@/include!$(INCDIR)!g +s!@BFDDIR@!$(BFDDIR)!g +s!@TOPDIR@/bfd!$(BFDDIR)!g s!@SRCDIR@/!!g s! \.\./bfd/hosts/[^ ]*\.h! !g - -s/\\\n */ /g +s! \.\./intl/libintl\.h!!g s/ *$// s/ */ /g -/:$/d - -s/\(.\{50\}[^ ]*\) /\1 \\\ - /g +s/^ */A/ +s/ / \\\ +B/g +$s/$/ \\/