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 clients Makefile
14 #-----------------------------------------------------------------------------
16 ############################################################################
18 # You should not have to edit anything below this point #
20 ############################################################################
23 @echo "making all in `$(PWD)`"
25 if [ -d $$i -a $$i != "CVS" ]; then \
26 echo; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
27 ( cd $$i; $(MAKE) $(MFLAGS) all ); \
33 # rules to install the software
37 @echo "making install in `$(PWD)`"
39 if [ -d $$i -a $$i != "CVS" ]; then \
40 echo; echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
41 ( cd $$i; $(MAKE) $(MFLAGS) install ); \
50 @echo "making clean in `$(PWD)`"
52 if [ -d $$i -a $$i != "CVS" ]; then \
53 echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
54 ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
61 # rules to make depend
66 @echo "making depend in `$(PWD)`"
68 if [ -d $$i -a $$i != "CVS" ]; then \
69 echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
70 ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
75 @echo "making links in `$(PWD)`"; \
77 if [ -d $$i -a $$i != ".src/CVS" ]; then \
79 ( $(MKDIR) $$d; cd $$d; $(LN) ../.src/$$d .src; \
80 $(LN) ../.src/$$d/Make-template . ; \
81 $(MAKE) $(MFLAGS) MKDIR="$(MKDIR)" LN="$(LN)" \
82 -f Make-template links ) ; \