freebsd-dev/contrib/binutils/gas/dep-in.sed
David E. O'Brien da03bc7002 Import of Binutils from the FSF 2.15 branch (just post-.0 release).
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
2004-06-16 05:45:41 +00:00

54 lines
960 B
Sed

:loop
/\\$/N
/\\$/b loop
s! \.\./! !g
s!@INCDIR@!$(INCDIR)!g
s!@TOPDIR@/include!$(INCDIR)!g
s!@BFDDIR@!$(BFDDIR)!g
s!@TOPDIR@/bfd!$(BFDDIR)!g
s!@SRCDIR@/config!$(srcdir)/config!g
s!@SRCDIR@/\.\./opcodes!$(srcdir)/../opcodes!g
s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
s!@SRCDIR@/!!g
s!\.\./bfd/bfdver\.h!$(BFDVER_H)!g
s! \$(srcdir)/config/te-generic\.h!!g
s! \.\./bfd/bfd\.h!!g
s! itbl-cpu\.h!!g
s! itbl-parse\.h!!g
s! \.\./intl/libintl\.h!!g
s! \$(INCDIR)/bin-bugs\.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
s/\\\n */ /g
s/ *$//
s/ */ /g
/:$/d
s/\(.\{50\}[^ ]*\) /\1 \\\
/g