aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sokolov <msokolov@ivan.Harhan.ORG>2000-04-21 22:20:20 +0000
committerJeff Law <law@gcc.gnu.org>2000-04-21 16:20:20 -0600
commit7277f72df9c5ce236fbab10119e4cee60b620dc0 (patch)
treef16a128d2212c3b1ba184395a8d90b10df4cfbca
parent6cd167e1a7f8c13bbc51393aef6c7bd6f0f50075 (diff)
downloadgcc-7277f72df9c5ce236fbab10119e4cee60b620dc0.zip
gcc-7277f72df9c5ce236fbab10119e4cee60b620dc0.tar.gz
gcc-7277f72df9c5ce236fbab10119e4cee60b620dc0.tar.bz2
Makefile.in (*-subdir): Revamp slightly to avoid losing on 4.3BSD systems.
2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> * Makefile.in (*-subdir): Revamp slightly to avoid losing on 4.3BSD systems. From-SVN: r33329
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/Makefile.in7
2 files changed, 9 insertions, 3 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 238e877..c8bd757 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * Makefile.in (*-subdir): Revamp slightly to avoid losing on
+ 4.3BSD systems.
+
Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* hashtab.c: Various minor cleanups.
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 9aa57f0..054454e 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -244,9 +244,10 @@ all-subdir check-subdir installcheck-subdir info-subdir \
install-info-subdir clean-info-subdir dvi-subdir install-subdir \
etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
maintainer-clean-subdir:
- @target=`echo $@ | sed -e 's/-subdir//'`; \
- for dir in . $(SUBDIRS) ; do \
- test $$dir = . || (cd $$dir && $(MAKE) $$target) || exit 1; \
+ @if test "x$(SUBDIRS)" = x; then exit 0; fi; \
+ target=`echo $@ | sed -e 's/-subdir//'`; \
+ for dir in $(SUBDIRS) ; do \
+ cd $$dir && $(MAKE) $$target; \
done
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA): stamp-picdir