aboutsummaryrefslogtreecommitdiff
path: root/gas/dep-in.sed
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-06-22 13:01:43 +0000
committerAlan Modra <amodra@gmail.com>2000-06-22 13:01:43 +0000
commit1581f8c9feb992568c0f36d2c76d43f7a75a4750 (patch)
treefd86b2f947da0e879eae266d65bddf7d3470dae9 /gas/dep-in.sed
parent45288df104aeefbd6fb98ac40659b1aec6b6bb65 (diff)
downloadgdb-1581f8c9feb992568c0f36d2c76d43f7a75a4750.zip
gdb-1581f8c9feb992568c0f36d2c76d43f7a75a4750.tar.gz
gdb-1581f8c9feb992568c0f36d2c76d43f7a75a4750.tar.bz2
Ensure /usr/include and the like stay out of dependencies.
Diffstat (limited to 'gas/dep-in.sed')
-rw-r--r--gas/dep-in.sed58
1 files changed, 31 insertions, 27 deletions
diff --git a/gas/dep-in.sed b/gas/dep-in.sed
index 8771f0f..fd1be2c 100644
--- a/gas/dep-in.sed
+++ b/gas/dep-in.sed
@@ -2,37 +2,41 @@
/\\$/N
/\\$/b loop
-s! ../config.h!!g
-s! ../../bfd/bfd.h!!g
-s! ../itbl-parse.h!!g
+s! \.\./! !g
s!@INCDIR@!$(INCDIR)!g
s!@BFDDIR@!$(BFDDIR)!g
s!@SRCDIR@/config!$(srcdir)/config!g
-s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g
+s!@SRCDIR@/\.\./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! \$(INCDIR)/ansidecl\.h!!g
+s! \$(INCDIR)/fopen-same\.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! \$(INCDIR)/bin-bugs\.h!!g
+s! \$(INCDIR)/libiberty\.h!!g
+s! \$(INCDIR)/progress\.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