somehow missed committing this.
[external/binutils.git] / bfd / dep-in.sed
1 :loop
2 /\\$/N
3 s/\\\n */ /g
4 t loop
5
6 s!\.o:!.lo:!
7 s! @BFD_H@!!g
8 s!@INCDIR@!$(INCDIR)!g
9 s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g
10 s!@SRCDIR@/!!g
11 s! hosts/[^ ]*\.h! !g
12 s! sysdep.h!!g
13 s! \.\./bfd/sysdep.h!!g
14 s! libbfd.h!!g
15 s! config.h!!g
16 s! \$(INCDIR)/fopen-[^ ]*\.h!!g
17 s! \$(INCDIR)/ansidecl\.h!!g
18 s! \$(INCDIR)/symcat\.h!!g
19
20 s/\\\n */ /g
21
22 s/ *$//
23 s/  */ /g
24 s/ *:/:/g
25 /:$/d
26
27 s/\(.\{50\}[^ ]*\) /\1 \\\
28   /g