summaryrefslogtreecommitdiff
path: root/opcodes/dep-in.sed
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2009-05-26 03:19:28 +0000
committerAlan Modra <amodra@bigpond.net.au>2009-05-26 03:19:28 +0000
commit050bbafcf5ad5a3bf8bb475540c06a49efe988e8 (patch)
tree490b7f4856d6c1fe325c8eca0fd27473b92be0e5 /opcodes/dep-in.sed
parentac3f93dc025a4dcf2c7dcf12039c46555b8a7ecd (diff)
downloadbinutils-redhat-050bbafcf5ad5a3bf8bb475540c06a49efe988e8.tar.gz
* dep-in.sed: Don't modify .o to .lo here. 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, modify .o to .lo here. Use dep.sed here on dependencies, sort and uniq. * Makefile.in: Regenerate.
Diffstat (limited to 'opcodes/dep-in.sed')
-rw-r--r--opcodes/dep-in.sed11
1 files changed, 3 insertions, 8 deletions
diff --git a/opcodes/dep-in.sed b/opcodes/dep-in.sed
index 081f99c1e0..df8bc1eec1 100644
--- a/opcodes/dep-in.sed
+++ b/opcodes/dep-in.sed
@@ -3,7 +3,6 @@
s/\\\n */ /g
t loop
-s!\.o:!.lo:!
s! \./! !g
s! @BFD_H@! $(BFD_H)!g
s!@INCDIR@!$(INCDIR)!g
@@ -13,12 +12,8 @@ s!@TOPDIR@/bfd!$(BFDDIR)!g
s!@SRCDIR@/!!g
s! \.\./intl/libintl\.h!!g
-s/\\\n */ /g
-
s/ *$//
s/ */ /g
-s/ *:/:/g
-/:$/d
-
-s/\(.\{50\}[^ ]*\) /\1 \\\
- /g
+s/^ */A/
+s/ / \\\nB/g
+$s/$/ \\/