aboutsummaryrefslogtreecommitdiff
path: root/bfd/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 /bfd/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 'bfd/dep-in.sed')
-rw-r--r--bfd/dep-in.sed13
1 files changed, 4 insertions, 9 deletions
diff --git a/bfd/dep-in.sed b/bfd/dep-in.sed
index 2732d6b..c9ce802 100644
--- a/bfd/dep-in.sed
+++ b/bfd/dep-in.sed
@@ -3,7 +3,6 @@
s/\\\n */ /g
t loop
-s!\.o:!.lo:!
s! \./! !g
s! @BFD_H@!!g
s!@SRCDIR@/../include!$(INCDIR)!g
@@ -11,7 +10,7 @@ s!@TOPDIR@/include!$(INCDIR)!g
s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g
s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
s!@SRCDIR@/!!g
-s! hosts/[^ ]*\.h! !g
+s! hosts/[^ ]*\.h!!g
s! sysdep.h!!g
s! \.\./bfd/sysdep.h!!g
s! libbfd.h!!g
@@ -21,12 +20,8 @@ s! \$(INCDIR)/ansidecl\.h!!g
s! \$(INCDIR)/symcat\.h!!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/$/ \\/