Allow system-specific gunk after canonical file format.
[binutils.git] / gas / dep-in.sed
blob9f086457db7630e1b0c05fb95d281b38b4ff1344
1 :loop
2 /\\$/N
3 /\\$/b loop
5 s! \.\./! !g
6 s!@INCDIR@!$(INCDIR)!g
7 s!@TOPDIR@/include!$(INCDIR)!g
8 s!@BFDDIR@!$(BFDDIR)!g
9 s!@TOPDIR@/bfd!$(BFDDIR)!g
10 s!@SRCDIR@/config!$(srcdir)/config!g
11 s!@SRCDIR@/\.\./opcodes!$(srcdir)/../opcodes!g
12 s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
13 s!@SRCDIR@/!!g
14 s!\.\./bfd/bfdver\.h!$(BFDVER_H)!g
15 s! \$(srcdir)/config/te-generic\.h!!g
16 s! \.\./bfd/bfd\.h!!g
17 s! itbl-cpu\.h!!g
18 s! itbl-parse\.h!!g
20 s! \$(INCDIR)/bin-bugs\.h!!g
21 s! \$(INCDIR)/ansidecl\.h!!g
22 s! \$(INCDIR)/libiberty\.h!!g
23 s! \$(INCDIR)/progress\.h!!g
24 s! \$(INCDIR)/fopen-same\.h!!g
25 s! obj-format\.h!!g
26 s! targ-cpu\.h!!g
27 s! targ-env\.h!!g
28 s! as\.h!!g
29 s! asintl\.h!!g
30 s! bignum\.h!!g
31 s! bit_fix\.h!!g
32 s! config\.h!!g
33 s! emul\.h!!g
34 s! expr\.h!!g
35 s! flonum\.h!!g
36 s! frags\.h!!g
37 s! hash\.h!!g
38 s! listing\.h!!g
39 s! obj\.h!!g
40 s! read\.h!!g
41 s! symbols\.h!!g
42 s! tc\.h!!g
43 s! write\.h!!g
45 s/\\\n */ /g
47 s/ *$//
48 s/  */ /g
49 /:$/d
51 s/\(.\{50\}[^ ]*\) /\1 \\\
52   /g