X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fdep-in.sed;h=69591402afedd56bc01915c55fd3c45b74a4b690;hb=934c26326909f953aaa15edb423dd4af6f33c448;hp=8771f0f4a86553ba418c52d2b295457e11257fa9;hpb=abd8680d6efd97e7ba848a6392ee3ad72be18cd0;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/dep-in.sed b/gas/dep-in.sed index 8771f0f4a8..69591402af 100644 --- a/gas/dep-in.sed +++ b/gas/dep-in.sed @@ -1,44 +1,52 @@ :loop /\\$/N -/\\$/b loop +s/\\\n */ /g +t loop -s! ../config.h!!g -s! ../../bfd/bfd.h!!g -s! ../itbl-parse.h!!g +s! \.\./! !g +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!@SRCDIR@/\.\./opcodes!$(srcdir)/../opcodes!g +s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g s!@SRCDIR@/!!g -s! config.h!!g -s! as.h!!g -s! asintl.h!!g -s! targ-env.h!!g -s! obj-format.h!!g -s! targ-cpu.h!!g -s! flonum.h!!g -s! expr.h!!g -s! write.h!!g -s! frags.h!!g -s! hash.h!!g -s! read.h!!g -s! symbols.h!!g -s! tc.h!!g -s! obj.h!!g -s! listing.h!!g -s! bignum.h!!g -s! bit_fix.h!!g -s! itbl-cpu.h!!g -s! \$(srcdir)/config/te-generic.h!!g -s! \$(INCDIR)/libiberty.h!!g -s! \$(INCDIR)/ansidecl.h!!g -s! \$(INCDIR)/fopen-same.h!!g +s! \$(srcdir)/config/te-generic\.h!!g +s! itbl-cpu\.h!!g +s! itbl-parse\.h!!g +s! \.\./intl/libintl\.h!!g -s/\\\n */ /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 s/ *$// s/ */ /g -/:$/d - -s/\(.\{50\}[^ ]*\) /\1 \\\ - /g +s/^ */A/ +s/ / \\\ +B/g +$s/$/ \\/