summaryrefslogtreecommitdiff
path: root/gas/dep-in.sed
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-06-22 13:01:43 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-06-22 13:01:43 +0000
commit5647d9dd4d56f70042fe95c8c2c4157b3ee71db4 (patch)
tree1ca2391be8c930601f4ebe2d0a950f2d0b8eada7 /gas/dep-in.sed
parentbf56b07989b5f41e58d9d5166a7ebd05826efeb1 (diff)
downloadbinutils-redhat-5647d9dd4d56f70042fe95c8c2c4157b3ee71db4.tar.gz
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 8771f0f4a8..fd1be2c379 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