* dep-in.sed: Cope with absolute paths.
[deliverable/binutils-gdb.git] / bfd / dep-in.sed
index 9f1f29f504d385378b89bc79be0ae07f6f6999a4..ce8b79b0546a54363505e00c3821518b06489b03 100644 (file)
@@ -1,18 +1,23 @@
 :loop
 /\\$/N
-/\\$/b loop
+s/\\\n */ /g
+t loop
 
+s!\.o:!.lo:!
 s! @BFD_H@!!g
-s!@INCDIR@!$(INCDIR)!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! 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
 
This page took 0.024534 seconds and 4 git commands to generate.