]> git.sur5r.net Git - openldap/blob - servers/Make-template
expand attribute sets per X.520
[openldap] / servers / Make-template
1 #-----------------------------------------------------------------------------
2 # Copyright (c) 1994 Regents of the University of Michigan.
3 # All rights reserved.
4 #
5 # Redistribution and use in source and binary forms are permitted
6 # provided that this notice is preserved and that due credit is given
7 # to the University of Michigan at Ann Arbor. The name of the University
8 # may not be used to endorse or promote products derived from this
9 # software without specific prior written permission. This software
10 # is provided ``as is'' without express or implied warranty.
11 #
12 #       LDAP servers Makefile
13 #
14 #-----------------------------------------------------------------------------
15
16 ############################################################################
17 #                                                                          #
18 # You should not have to edit anything below this point                    #
19 #                                                                          #
20 ############################################################################
21
22 #
23 # rules to make the software
24 #
25
26 all:    FORCE
27         @echo "making all in `$(PWD)`"
28         @for i in *; do \
29             if [ -d $$i -a $$i != "RCS" ]; then \
30                 echo "  cd $$i; $(MAKE) $(MFLAGS) all"; \
31                 ( cd $$i; $(MAKE) $(MFLAGS) all ); \
32             fi; \
33         done
34
35
36 #
37 # rules to install the software
38 #
39
40 install:        FORCE
41         @echo "making install in `$(PWD)`"
42         @for i in *; do \
43             if [ -d $$i -a $$i != "RCS" ]; then \
44                 echo "  cd $$i; $(MAKE) $(MFLAGS) install"; \
45                 ( cd $$i; $(MAKE) $(MFLAGS) install ); \
46             fi; \
47         done
48
49 #
50 # rules to make clean
51 #
52
53 clean:  FORCE
54         @echo "making clean in `$(PWD)`"
55         @for i in *; do \
56             if [ -d $$i -a $$i != "RCS" ]; then \
57                 echo "  cd $$i; $(MAKE) $(MFLAGS) clean"; \
58                 ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
59             fi; \
60         done
61
62 veryclean:      clean
63
64 #
65 # rules to make depend
66 #
67 #
68
69 depend: FORCE
70         @echo "making depend in `$(PWD)`"
71         @for i in *; do \
72             if [ -d $$i -a $$i != "RCS" ]; then \
73                 echo "  cd $$i; $(MAKE) $(MFLAGS) depend"; \
74                 ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
75             fi; \
76         done
77
78 links:
79         @echo "making links in `$(PWD)`"; \
80         for i in .src/*; do \
81             if [ -d $$i -a $$i != ".src/RCS" ]; then \
82                 d=`basename $$i`; \
83                 ( $(MKDIR) $$d; cd $$d; $(LN) ../.src/$$d .src; \
84                   $(LN) ../.src/$$d/Make-template . ; \
85                   $(MAKE) $(MFLAGS) MKDIR="$(MKDIR)" LN="$(LN)" \
86                     -f Make-template links ) ; \
87             fi; \
88         done