1 #-----------------------------------------------------------------------------
2 # Copyright (c) 1994 Regents of the University of Michigan.
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.
12 # LDAP servers Makefile
14 #-----------------------------------------------------------------------------
16 ############################################################################
18 # You should not have to edit anything below this point #
20 ############################################################################
23 # rules to make the software
27 @echo "making all in `$(PWD)`"
29 if [ -d $$i -a $$i != "CVS" ]; then \
30 echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
31 ( cd $$i; $(MAKE) $(MFLAGS) all ); \
37 # rules to install the software
41 @echo "making install in `$(PWD)`"
43 if [ -d $$i -a $$i != "CVS" ]; then \
44 echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
45 ( cd $$i; $(MAKE) $(MFLAGS) install ); \
54 @echo "making clean in `$(PWD)`"
56 if [ -d $$i -a $$i != "CVS" ]; then \
57 echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
58 ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
65 # rules to make depend
70 @echo "making depend in `$(PWD)`"
72 if [ -d $$i -a $$i != "CVS" ]; then \
73 echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
74 ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
79 @echo "making links in `$(PWD)`"; \
81 if [ -d $$i -a $$i != ".src/CVS" ]; then \
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 ) ; \