diff options
author | Alan Modra <amodra@gmail.com> | 2009-05-26 03:19:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-05-26 03:19:50 +0000 |
commit | 5de4cd1336d5bc50c1cd281eaacf62058e8a905b (patch) | |
tree | 5ec2264f2391f59a9b787e8611a1752741316b7e /gas/dep-in.sed | |
parent | 9e097a72c91d18b86c53ce98e9a9d32d9df899de (diff) | |
download | fsf-binutils-gdb-5de4cd1336d5bc50c1cd281eaacf62058e8a905b.zip fsf-binutils-gdb-5de4cd1336d5bc50c1cd281eaacf62058e8a905b.tar.gz fsf-binutils-gdb-5de4cd1336d5bc50c1cd281eaacf62058e8a905b.tar.bz2 |
* 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.
Diffstat (limited to 'gas/dep-in.sed')
-rw-r--r-- | gas/dep-in.sed | 12 |
1 files changed, 5 insertions, 7 deletions
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/$/ \\/ |