From 00f3247a62aa73c2cd8f80d8d8614a89bc417301 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 26 May 2009 03:20:10 +0000 Subject: * dep-in.sed: Output one filename per line with all lines having continuation backslash. Prefix first line with "A", following lines with "B". * Makefile.am (DEP): Don't use dep.sed here. (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, sort and uniq. * Makefile.in: Regenerate. --- ld/dep-in.sed | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'ld/dep-in.sed') 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/$/ \\/ -- cgit v1.1