summaryrefslogtreecommitdiff
path: root/bfd/Makefile.in
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 /bfd/Makefile.in
parentbf56b07989b5f41e58d9d5166a7ebd05826efeb1 (diff)
downloadbinutils-redhat-5647d9dd4d56f70042fe95c8c2c4157b3ee71db4.tar.gz
Ensure /usr/include and the like stay out of dependencies.
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r--bfd/Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 4aa68c53f9..7b31b59c96 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -671,7 +671,7 @@ configure.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-TAR = gtar
+TAR = tar
GZIP_ENV = --best
SOURCES = $(libbfd_a_SOURCES) $(libbfd_la_SOURCES)
OBJECTS = $(libbfd_a_OBJECTS) $(libbfd_la_OBJECTS)
@@ -1116,8 +1116,12 @@ install-data-local: $(BFD_H)
DEP: dep.sed $(CFILES) $(HFILES) bfd.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