diff options
Diffstat (limited to 'ld/dep-in.sed')
-rw-r--r-- | ld/dep-in.sed | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/ld/dep-in.sed b/ld/dep-in.sed index 0bf6ffe..e51593b 100644 --- a/ld/dep-in.sed +++ b/ld/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,8 @@ s!@SRCDIR@/!!g s! \.\./bfd/hosts/[^ ]*\.h! !g s! \.\./intl/libintl\.h!!g -s/\\\n */ /g - s/ *$// s/ */ /g -/:$/d - -s/\(.\{50\}[^ ]*\) /\1 \\\ - /g +s/^ */A/ +s/ / \\\nB/g +$s/$/ \\/ |