summaryrefslogtreecommitdiff
path: root/opcodes/dep-in.sed
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2009-05-26 03:19:15 +0000
committerAlan Modra <amodra@bigpond.net.au>2009-05-26 03:19:15 +0000
commit3cbc17db979a9bfa6ad8b6a6b60acf008e4936af (patch)
treeb61831cad3cb5fe45caae9ceec7452d50fd0a518 /opcodes/dep-in.sed
parent5ed3c6d8fec56cea2cf5593cc10ed394e66f51a8 (diff)
downloadgdb-3cbc17db979a9bfa6ad8b6a6b60acf008e4936af.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 081f99c1e08..df8bc1eec11 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/$/ \\/