diff options
author | Alan Modra <amodra@gmail.com> | 2000-06-22 13:01:43 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-06-22 13:01:43 +0000 |
commit | 1581f8c9feb992568c0f36d2c76d43f7a75a4750 (patch) | |
tree | fd86b2f947da0e879eae266d65bddf7d3470dae9 /opcodes | |
parent | 45288df104aeefbd6fb98ac40659b1aec6b6bb65 (diff) | |
download | binutils-1581f8c9feb992568c0f36d2c76d43f7a75a4750.zip binutils-1581f8c9feb992568c0f36d2c76d43f7a75a4750.tar.gz binutils-1581f8c9feb992568c0f36d2c76d43f7a75a4750.tar.bz2 |
Ensure /usr/include and the like stay out of dependencies.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 6 | ||||
-rw-r--r-- | opcodes/Makefile.am | 8 | ||||
-rw-r--r-- | opcodes/Makefile.in | 10 |
3 files changed, 19 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 676c97b..1060d30 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2000-06-22 Alan Modra <alan@linuxcare.com.au> + + * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we + find one. + * Makefile.in: Regenerate. + 2000-06-20 H.J. Lu <hjl@gnu.org> * Makefile.am: Rebuild dependency. diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am index 565b1ca..f4af046 100644 --- a/opcodes/Makefile.am +++ b/opcodes/Makefile.am @@ -250,8 +250,12 @@ ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.t DEP: dep.sed $(CFILES) $(HFILES) config.h rm -f DEP1 $(MAKE) MKDEP="$(MKDEP)" DEP1 - sed -f dep.sed < DEP1 > $@ - echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@ + if grep ' /' DEP1 > /dev/null 2> /dev/null; then \ + echo 'make DEP failed!'; exit 1; \ + else \ + sed -f dep.sed < DEP1 > $@; \ + echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \ + fi DEP1: $(CFILES) echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2 diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in index bf5f166..d189e6a 100644 --- a/opcodes/Makefile.in +++ b/opcodes/Makefile.in @@ -334,7 +334,7 @@ acinclude.m4 aclocal.m4 config.in configure configure.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES) OBJECTS = libopcodes.a.o $(libopcodes_la_OBJECTS) @@ -748,8 +748,12 @@ ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.t DEP: dep.sed $(CFILES) $(HFILES) config.h rm -f DEP1 $(MAKE) MKDEP="$(MKDEP)" DEP1 - sed -f dep.sed < DEP1 > $@ - echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@ + if grep ' /' DEP1 > /dev/null 2> /dev/null; then \ + echo 'make DEP failed!'; exit 1; \ + else \ + sed -f dep.sed < DEP1 > $@; \ + echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \ + fi DEP1: $(CFILES) echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2 |