]> git.sur5r.net Git - openldap/blob - build/dir.mk
Remove "touch all-common", not building when needed is worse than building
[openldap] / build / dir.mk
1 ## Copyright 1998,1999 The OpenLDAP Foundation
2 ## COPYING RESTRICTIONS APPLY.  See COPYRIGHT File in top level directory
3 ## of this package for details.
4 ##---------------------------------------------------------------------------
5 ##
6 ## Makes subdirectories
7 ##
8
9
10 all-common: FORCE
11         @echo "Making all in `$(PWD)`"
12         @for i in $(SUBDIRS) $(ALLDIRS); do             \
13                 echo "  Entering subdirectory $$i";             \
14                 ( cd $$i; $(MAKE) $(MFLAGS) all );              \
15                 echo " ";                                                               \
16         done
17
18 install-common: FORCE
19         @echo "Making install in `$(PWD)`"
20         @for i in $(SUBDIRS) $(INSTALLDIRS); do         \
21                 echo "  Entering subdirectory $$i";             \
22                 ( cd $$i; $(MAKE) $(MFLAGS) install );  \
23                 echo " ";                                                               \
24         done
25
26 clean-common: FORCE
27         @echo "Making clean in `$(PWD)`"
28         @for i in $(SUBDIRS) $(CLEANDIRS); do           \
29                 echo "  Entering subdirectory $$i";             \
30                 ( cd $$i; $(MAKE) $(MFLAGS) clean );    \
31                 echo " ";                                                               \
32         done
33
34 veryclean-common: FORCE
35         @echo "Making veryclean in `$(PWD)`"
36         @for i in $(SUBDIRS) $(CLEANDIRS); do           \
37                 echo "  Entering subdirectory $$i";             \
38                 ( cd $$i; $(MAKE) $(MFLAGS) veryclean );        \
39                 echo " ";                                                               \
40         done
41
42 depend-common: FORCE
43         @echo "Making depend in `$(PWD)`"
44         @for i in $(SUBDIRS) $(DEPENDDIRS); do          \
45                 echo "  Entering subdirectory $$i";             \
46                 ( cd $$i; $(MAKE) $(MFLAGS) depend );   \
47                 echo " ";                                                               \
48         done
49
50 Makefile: $(top_srcdir)/build/dir.mk