old-cross-binutils/gas/dep-in.sed

53 lines
921 B
Sed
Raw Normal View History

1999-05-03 07:29:11 +00:00
:loop
/\\$/N
s/\\\n */ /g
t loop
1999-05-03 07:29:11 +00:00
s! \.\./! !g
s! \./! !g
1999-05-03 07:29:11 +00:00
s!@INCDIR@!$(INCDIR)!g
s!@TOPDIR@/include!$(INCDIR)!g
1999-05-03 07:29:11 +00:00
s!@BFDDIR@!$(BFDDIR)!g
s!@TOPDIR@/bfd!$(BFDDIR)!g
1999-05-03 07:29:11 +00:00
s!@SRCDIR@/config!$(srcdir)/config!g
s!@SRCDIR@/\.\./opcodes!$(srcdir)/../opcodes!g
s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
1999-05-03 07:29:11 +00:00
s!@SRCDIR@/!!g
s! \$(srcdir)/config/te-generic\.h!!g
s! itbl-cpu\.h!!g
s! itbl-parse\.h!!g
s! \.\./intl/libintl\.h!!g
s! \.\./bfd/bfd\.h!!g
s! \$(INCDIR)/symcat\.h!!g
s! \$(INCDIR)/ansidecl\.h!!g
s! \$(INCDIR)/libiberty\.h!!g
s! \$(INCDIR)/progress\.h!!g
s! \$(INCDIR)/fopen-[^ ]*\.h!!g
s! obj-format\.h!!g
s! targ-cpu\.h!!g
s! targ-env\.h!!g
s! as\.h!!g
s! asintl\.h!!g
s! bignum\.h!!g
s! bit_fix\.h!!g
s! config\.h!!g
s! emul\.h!!g
s! expr\.h!!g
s! flonum\.h!!g
s! frags\.h!!g
s! hash\.h!!g
s! listing\.h!!g
s! obj\.h!!g
s! read\.h!!g
s! symbols\.h!!g
s! tc\.h!!g
s! write\.h!!g
1999-05-03 07:29:11 +00:00
s/ *$//
s/ */ /g
s/^ */A/
s/ / \\\
B/g
$s/$/ \\/