* dep-in.sed: Don't use \n in replacement part of s command.
[platform/upstream/binutils.git] / bfd / dep-in.sed
1 :loop
2 /\\$/N
3 s/\\\n */ /g
4 t loop
5
6 s! \./! !g
7 s! @BFD_H@!!g
8 s!@SRCDIR@/../include!$(INCDIR)!g
9 s!@TOPDIR@/include!$(INCDIR)!g
10 s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g
11 s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
12 s!@SRCDIR@/!!g
13 s! hosts/[^ ]*\.h!!g
14 s! sysdep.h!!g
15 s! \.\./bfd/sysdep.h!!g
16 s! libbfd.h!!g
17 s! config.h!!g
18 s! \$(INCDIR)/fopen-[^ ]*\.h!!g
19 s! \$(INCDIR)/ansidecl\.h!!g
20 s! \$(INCDIR)/symcat\.h!!g
21 s! \.\./intl/libintl\.h!!g
22
23 s/ *$//
24 s/  */ /g
25 s/^ */A/
26 s/ / \\\
27 B/g
28 $s/$/ \\/