2 ## Copyright 1998-2000 The OpenLDAP Foundation
3 ## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
4 ## of this package for details.
5 ##---------------------------------------------------------------------------
7 ## Makes subdirectories
12 @echo "Making all in `$(PWD)`"
13 @for i in $(SUBDIRS) $(ALLDIRS); do \
14 echo " Entering subdirectory $$i"; \
15 ( cd $$i; $(MAKE) $(MFLAGS) all ); \
16 if test $$? != 0 ; then exit 1; fi ; \
21 @echo "Making install in `$(PWD)`"
22 @for i in $(SUBDIRS) $(INSTALLDIRS); do \
23 echo " Entering subdirectory $$i"; \
24 ( cd $$i; $(MAKE) $(MFLAGS) install ); \
25 if test $$? != 0 ; then exit 1; fi ; \
30 @echo "Making clean in `$(PWD)`"
31 @for i in $(SUBDIRS) $(CLEANDIRS); do \
32 echo " Entering subdirectory $$i"; \
33 ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
34 if test $$? != 0 ; then exit 1; fi ; \
38 veryclean-common: FORCE
39 @echo "Making veryclean in `$(PWD)`"
40 @for i in $(SUBDIRS) $(CLEANDIRS); do \
41 echo " Entering subdirectory $$i"; \
42 ( cd $$i; $(MAKE) $(MFLAGS) veryclean ); \
43 if test $$? != 0 ; then exit 1; fi ; \
48 @echo "Making depend in `$(PWD)`"
49 @for i in $(SUBDIRS) $(DEPENDDIRS); do \
50 echo " Entering subdirectory $$i"; \
51 ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
52 if test $$? != 0 ; then exit 1; fi ; \
56 Makefile: $(top_srcdir)/build/dir.mk