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