]> git.sur5r.net Git - openldap/blob - build/dir.mk
ITS#4949 make config_syslog accumulate across multiple values
[openldap] / build / dir.mk
1 # $OpenLDAP$
2 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
3 ##
4 ## Copyright 1998-2007 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.
10 ##
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 ##---------------------------------------------------------------------------
15 #
16 # Makes subdirectories
17 #
18
19
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
28
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
37
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
46
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
55
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
64
65 Makefile: $(top_srcdir)/build/dir.mk