X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fdep-in.sed;h=4823f1e3829cfd61978278d4b9e1644878e50faf;hb=92434a14b97bf07546701613a16aaf4d8a3b3eca;hp=1c46ad2e197643cbb5f82c67552fe0c36d7ec7da;hpb=cd46af111eaebc699cc735387bddfce8ee4c37ff;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/dep-in.sed b/binutils/dep-in.sed index 1c46ad2e19..4823f1e382 100644 --- a/binutils/dep-in.sed +++ b/binutils/dep-in.sed @@ -1,15 +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/\\\n */ /g +s!@OBJDIR@/!!g +s! \.\./intl/libintl\.h!!g s/ *$// s/ */ /g -/:$/d - -s/\(.\{50\}[^ ]*\) /\1 \\\ - /g +s/^ */A/ +s/ / \\\ +B/g +$s/$/ \\/