aboutsummaryrefslogtreecommitdiff
path: root/opcodes/dep-in.sed
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-05-26 03:19:28 +0000
committerAlan Modra <amodra@gmail.com>2009-05-26 03:19:28 +0000
commit9e097a72c91d18b86c53ce98e9a9d32d9df899de (patch)
tree923777a964b277e6cfab9ec36a3139a41857b58e /opcodes/dep-in.sed
parente50d6125d6f76abd44712d027e0de53c5c697c3c (diff)
downloadgdb-9e097a72c91d18b86c53ce98e9a9d32d9df899de.zip
gdb-9e097a72c91d18b86c53ce98e9a9d32d9df899de.tar.gz
gdb-9e097a72c91d18b86c53ce98e9a9d32d9df899de.tar.bz2
* 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 081f99c..df8bc1e 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/$/ \\/