2011-05-25 Tristan Gingold <gingold@adacore.com>
[binutils.git] / gas / dep-in.sed
blob69591402afedd56bc01915c55fd3c45b74a4b690
1 :loop
2 /\\$/N
3 s/\\\n */ /g
4 t loop
6 s! \.\./! !g
7 s! \./! !g
8 s!@INCDIR@!$(INCDIR)!g
9 s!@TOPDIR@/include!$(INCDIR)!g
10 s!@BFDDIR@!$(BFDDIR)!g
11 s!@TOPDIR@/bfd!$(BFDDIR)!g
12 s!@SRCDIR@/config!$(srcdir)/config!g
13 s!@SRCDIR@/\.\./opcodes!$(srcdir)/../opcodes!g
14 s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
15 s!@SRCDIR@/!!g
16 s! \$(srcdir)/config/te-generic\.h!!g
17 s! itbl-cpu\.h!!g
18 s! itbl-parse\.h!!g
19 s! \.\./intl/libintl\.h!!g
21 s! \.\./bfd/bfd\.h!!g
22 s! \$(INCDIR)/symcat\.h!!g
23 s! \$(INCDIR)/ansidecl\.h!!g
24 s! \$(INCDIR)/libiberty\.h!!g
25 s! \$(INCDIR)/progress\.h!!g
26 s! \$(INCDIR)/fopen-[^ ]*\.h!!g
27 s! obj-format\.h!!g
28 s! targ-cpu\.h!!g
29 s! targ-env\.h!!g
30 s! as\.h!!g
31 s! asintl\.h!!g
32 s! bignum\.h!!g
33 s! bit_fix\.h!!g
34 s! config\.h!!g
35 s! emul\.h!!g
36 s! expr\.h!!g
37 s! flonum\.h!!g
38 s! frags\.h!!g
39 s! hash\.h!!g
40 s! listing\.h!!g
41 s! obj\.h!!g
42 s! read\.h!!g
43 s! symbols\.h!!g
44 s! tc\.h!!g
45 s! write\.h!!g
47 s/ *$//
48 s/  */ /g
49 s/^ */A/
50 s/ / \\\
51 B/g
52 $s/$/ \\/