Import changes made to files shared with the FSF GCC project.
[external/binutils.git] / ld / dep-in.sed
1 :loop
2 /\\$/N
3 s/\\\n */ /g
4 t loop
5
6 s! \./! !g
7 s!@INCDIR@!$(INCDIR)!g
8 s!@TOPDIR@/include!$(INCDIR)!g
9 s!@BFDDIR@!$(BFDDIR)!g
10 s!@TOPDIR@/bfd!$(BFDDIR)!g
11 s!@SRCDIR@/!!g
12 s! \.\./bfd/hosts/[^ ]*\.h! !g
13 s! \.\./intl/libintl\.h!!g
14
15 s/ *$//
16 s/  */ /g
17 s/^ */A/
18 s/ / \\\
19 B/g
20 $s/$/ \\/