X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=build%2Fdir.mk;h=c12f706fd4b64b55042deb9fc95f913f85f98c24;hb=fe569dbb7517dbb8bf1905c4f87732197114c4cf;hp=40d25568428119fa2ec62c6e07fdf7d7c1c82a13;hpb=ae21b1ee9404c2c1b2ebe10dc37665669de7205f;p=openldap diff --git a/build/dir.mk b/build/dir.mk index 40d2556842..c12f706fd4 100644 --- a/build/dir.mk +++ b/build/dir.mk @@ -1,46 +1,55 @@ +# $OpenLDAP$ +## Copyright 1998-2002 The OpenLDAP Foundation +## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory +## of this package for details. ##--------------------------------------------------------------------------- ## ## Makes subdirectories ## -all-common: all-local FORCE +all-common: FORCE @echo "Making all in `$(PWD)`" @for i in $(SUBDIRS) $(ALLDIRS); do \ echo " Entering subdirectory $$i"; \ ( cd $$i; $(MAKE) $(MFLAGS) all ); \ + if test $$? != 0 ; then exit 1; fi ; \ echo " "; \ done -install-common: install-local FORCE +install-common: FORCE @echo "Making install in `$(PWD)`" @for i in $(SUBDIRS) $(INSTALLDIRS); do \ echo " Entering subdirectory $$i"; \ ( cd $$i; $(MAKE) $(MFLAGS) install ); \ + if test $$? != 0 ; then exit 1; fi ; \ echo " "; \ done -clean-common: clean-local FORCE +clean-common: FORCE @echo "Making clean in `$(PWD)`" @for i in $(SUBDIRS) $(CLEANDIRS); do \ echo " Entering subdirectory $$i"; \ ( cd $$i; $(MAKE) $(MFLAGS) clean ); \ + if test $$? != 0 ; then exit 1; fi ; \ echo " "; \ done -veryclean-common: veryclean-local FORCE +veryclean-common: FORCE @echo "Making veryclean in `$(PWD)`" @for i in $(SUBDIRS) $(CLEANDIRS); do \ echo " Entering subdirectory $$i"; \ ( cd $$i; $(MAKE) $(MFLAGS) veryclean ); \ + if test $$? != 0 ; then exit 1; fi ; \ echo " "; \ done -depend-common: depend-local FORCE +depend-common: FORCE @echo "Making depend in `$(PWD)`" @for i in $(SUBDIRS) $(DEPENDDIRS); do \ echo " Entering subdirectory $$i"; \ ( cd $$i; $(MAKE) $(MFLAGS) depend ); \ + if test $$? != 0 ; then exit 1; fi ; \ echo " "; \ done