diff options
author | Michael Sokolov <msokolov@ivan.Harhan.ORG> | 2000-04-21 22:20:20 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-04-21 16:20:20 -0600 |
commit | 7277f72df9c5ce236fbab10119e4cee60b620dc0 (patch) | |
tree | f16a128d2212c3b1ba184395a8d90b10df4cfbca | |
parent | 6cd167e1a7f8c13bbc51393aef6c7bd6f0f50075 (diff) | |
download | gcc-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/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/Makefile.in | 7 |
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 |