summaryrefslogtreecommitdiff
path: root/libiberty/Makefile.in
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2000-04-21 22:19:43 +0000
committerJeff Law <law@redhat.com>2000-04-21 22:19:43 +0000
commit5e0a5ca19448ac9aebd13c0d63d5114047d47709 (patch)
treecd7f923af2d315e1ff745e2b7256df9cab4d38f4 /libiberty/Makefile.in
parent826e4191680e4dd5f3ab965190ca692eff2cf224 (diff)
downloadgdb-5e0a5ca19448ac9aebd13c0d63d5114047d47709.tar.gz
2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* Makefile.in (*-subdir): Revamp slightly to avoid losing on 4.3BSD systems.
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r--libiberty/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 9aa57f06d4b..054454e6096 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