From 5de4cd1336d5bc50c1cd281eaacf62058e8a905b Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 26 May 2009 03:19:50 +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. (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq. Emit multi dependencies on one line. * Makefile.in: Regenerate. --- gas/dep-in.sed | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'gas/dep-in.sed') diff --git a/gas/dep-in.sed b/gas/dep-in.sed index d81c460..b5c0bd0 100644 --- a/gas/dep-in.sed +++ b/gas/dep-in.sed @@ -1,6 +1,7 @@ :loop /\\$/N -/\\$/b loop +s/\\\n */ /g +t loop s! \.\./! !g s! \./! !g @@ -43,11 +44,8 @@ s! symbols\.h!!g s! tc\.h!!g s! write\.h!!g -s/\\\n */ /g - s/ *$// s/ */ /g -/:$/d - -s/\(.\{50\}[^ ]*\) /\1 \\\ - /g +s/^ */A/ +s/ / \\\nB/g +$s/$/ \\/ -- cgit v1.1