Correct spelling of "relocatable".
[binutils-gdb.git] / bfd / dep-in.sed
index f2dc0b625f111415e7710ec3b9df7f1b7f918553..ce8b79b0546a54363505e00c3821518b06489b03 100644 (file)
@@ -1,21 +1,30 @@
 :loop
 /\\$/N
-/\\$/b loop
+s/\\\n */ /g
+t loop
 
+s!\.o:!.lo:!
 s! @BFD_H@!!g
-s!@INCDIR@!$(INCDIR)!g
-s!@srcdir@/!!g
-s!hosts/.*\.h ! !g
-s/ sysdep.h//g
-s/ libbfd.h//g
-s! \$(INCDIR)/fopen-.*\.h!!g
+s!@SRCDIR@/../include!$(INCDIR)!g
+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! sysdep.h!!g
+s! \.\./bfd/sysdep.h!!g
+s! libbfd.h!!g
+s! config.h!!g
+s! \$(INCDIR)/fopen-[^ ]*\.h!!g
 s! \$(INCDIR)/ansidecl\.h!!g
-s! \$(INCDIR)/obstack\.h!!g
+s! \$(INCDIR)/symcat\.h!!g
 
-s/\\\n *\\/\\/g
-s/\\\n *$/ /g
+s/\\\n */ /g
 
-/^ *\\$/d
 s/ *$//
 s/  */ /g
+s/ *:/:/g
 /:$/d
+
+s/\(.\{50\}[^ ]*\) /\1 \\\
+  /g