X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=binutils%2Fdep-in.sed;h=4823f1e3829cfd61978278d4b9e1644878e50faf;hb=4d91c2a4677b90802c8d369190927921bf8ee97d;hp=aeb22a1acc787f9de5ce605d4c9f53f572d2c0cb;hpb=55bb4be3762bc2c2372420fa84fa771125b91f19;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/dep-in.sed b/binutils/dep-in.sed index aeb22a1acc..4823f1e382 100644 --- a/binutils/dep-in.sed +++ b/binutils/dep-in.sed @@ -1,7 +1,9 @@ :loop /\\$/N -/\\$/b loop +s/\\\n */ /g +t loop +s! \./! !g s!@INCDIR@!$(INCDIR)!g s!@TOPDIR@/include!$(INCDIR)!g s!@BFDDIR@!$(BFDDIR)!g @@ -10,11 +12,9 @@ s!@SRCDIR@/!!g s!@OBJDIR@/!!g s! \.\./intl/libintl\.h!!g -s/\\\n */ /g - s/ *$// s/ */ /g -/:$/d - -s/\(.\{50\}[^ ]*\) /\1 \\\ - /g +s/^ */A/ +s/ / \\\ +B/g +$s/$/ \\/