X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=ld%2Fdep-in.sed;h=4f77b5de5721f0329a13fce0e9bb277cad4e87f0;hb=198204a7f0255c0e25dcda6b7d6a72e666d689c1;hp=89b120147bd8d384d3017a6161ceda1597458073;hpb=28ea9521fe2cd3a3fa4e187e3571ac886f444671;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/$/ \\/