]> git.sur5r.net Git - openldap/blob - build/srv.mk
Ready for release
[openldap] / build / srv.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 # Makefile Template for Servers
15 #
16
17 all-common: all-$(BUILD_SRV)
18 all-no lint-no 5lint-no depend-no install-no:
19         @echo "run configure with $(BUILD_OPT) to make $(PROGRAMS)"
20
21 clean-common: clean-srv FORCE
22 veryclean-common: veryclean-srv FORCE
23
24 lint-common: lint-$(BUILD_SRV)
25
26 5lint-common: 5lint-$(BUILD_SRV)
27
28 depend-common: depend-$(BUILD_SRV)
29
30 install-common: install-$(BUILD_SRV)
31
32 all-local-srv:
33 all-yes: all-local-srv FORCE
34
35 install-local-srv:
36 install-yes: install-local-srv FORCE
37
38 lint-local-srv:
39 lint-yes: lint-local-srv FORCE
40         $(LINT) $(DEFS) $(DEFINES) $(SRCS)
41
42 5lint-local-srv:
43 5lint-yes: 5lint-local-srv FORCE
44         $(5LINT) $(DEFS) $(DEFINES) $(SRCS)
45
46 clean-local-srv:
47 clean-srv:      clean-local-srv FORCE
48         $(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/* *.exe
49
50 depend-local-srv:
51 depend-yes: depend-local-srv FORCE
52         $(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
53
54 veryclean-local-srv:
55 veryclean-srv:  clean-srv veryclean-local-srv
56
57 Makefile: $(top_srcdir)/build/srv.mk