X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=binutils%2Fdep-in.sed;fp=binutils%2Fdep-in.sed;h=4823f1e3829cfd61978278d4b9e1644878e50faf;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hp=c30c39693ff8ad02aa925803b9c16ddb5dcae893;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10;p=msp430-binutils.git diff --git a/binutils/dep-in.sed b/binutils/dep-in.sed index c30c396..4823f1e 100644 --- a/binutils/dep-in.sed +++ b/binutils/dep-in.sed @@ -1,6 +1,7 @@ :loop /\\$/N -/\\$/b loop +s/\\\n */ /g +t loop s! \./! !g s!@INCDIR@!$(INCDIR)!g @@ -11,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/$/ \\/