Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / bsd / openldap / dist / build / dir.mk
bloba6ee00090116cb8faa448a1a3c8a53bdb7145959
1 # $OpenLDAP: pkg/ldap/build/dir.mk,v 1.17.2.3 2008/02/11 23:26:37 kurt Exp $
2 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
3 ##
4 ## Copyright 1998-2008 The OpenLDAP Foundation.
5 ## All rights reserved.
6 ##
7 ## Redistribution and use in source and binary forms, with or without
8 ## modification, are permitted only as authorized by the OpenLDAP
9 ## Public License.
11 ## A copy of this license is available in the file LICENSE in the
12 ## top-level directory of the distribution or, alternatively, at
13 ## <http://www.OpenLDAP.org/license.html>.
14 ##---------------------------------------------------------------------------
16 # Makes subdirectories
20 all-common: FORCE
21 @echo "Making all in `$(PWD)`"
22 @for i in $(SUBDIRS) $(ALLDIRS); do \
23 echo " Entering subdirectory $$i"; \
24 ( cd $$i; $(MAKE) $(MFLAGS) all ); \
25 if test $$? != 0 ; then exit 1; fi ; \
26 echo " "; \
27 done
29 install-common: FORCE
30 @echo "Making install in `$(PWD)`"
31 @for i in $(SUBDIRS) $(INSTALLDIRS); do \
32 echo " Entering subdirectory $$i"; \
33 ( cd $$i; $(MAKE) $(MFLAGS) install ); \
34 if test $$? != 0 ; then exit 1; fi ; \
35 echo " "; \
36 done
38 clean-common: FORCE
39 @echo "Making clean in `$(PWD)`"
40 @for i in $(SUBDIRS) $(CLEANDIRS); do \
41 echo " Entering subdirectory $$i"; \
42 ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
43 if test $$? != 0 ; then exit 1; fi ; \
44 echo " "; \
45 done
47 veryclean-common: FORCE
48 @echo "Making veryclean in `$(PWD)`"
49 @for i in $(SUBDIRS) $(CLEANDIRS); do \
50 echo " Entering subdirectory $$i"; \
51 ( cd $$i; $(MAKE) $(MFLAGS) veryclean ); \
52 if test $$? != 0 ; then exit 1; fi ; \
53 echo " "; \
54 done
56 depend-common: FORCE
57 @echo "Making depend in `$(PWD)`"
58 @for i in $(SUBDIRS) $(DEPENDDIRS); do \
59 echo " Entering subdirectory $$i"; \
60 ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
61 if test $$? != 0 ; then exit 1; fi ; \
62 echo " "; \
63 done
65 Makefile: $(top_srcdir)/build/dir.mk