]> git.sur5r.net Git - openldap/blob - build/srv.mk
Do not require ac/string.h for lber_pvt.h
[openldap] / build / srv.mk
1 # $OpenLDAP$
2 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
3 ##
4 ## Copyright 1998-2018 The OpenLDAP Foundation.
5 ## All rights reserved.
6 ##
7 ## Redistribution and use in source and binary forms, with or without
8 ## modification, are permitted only as authorized by the OpenLDAP
9 ## Public License.
10 ##
11 ## A copy of this license is available in the file LICENSE in the
12 ## top-level directory of the distribution or, alternatively, at
13 ## <http://www.OpenLDAP.org/license.html>.
14 ##---------------------------------------------------------------------------
15 #
16 # Makefile Template for Servers
17 #
18
19 all-common: all-$(BUILD_SRV)
20 all-no lint-no 5lint-no depend-no install-no:
21         @echo "run configure with $(BUILD_OPT) to make $(PROGRAMS)"
22
23 clean-common: clean-srv FORCE
24 veryclean-common: veryclean-srv FORCE
25
26 lint-common: lint-$(BUILD_SRV)
27
28 5lint-common: 5lint-$(BUILD_SRV)
29
30 depend-common: depend-$(BUILD_SRV)
31
32 install-common: install-$(BUILD_SRV)
33
34 all-local-srv:
35 all-yes: all-local-srv FORCE
36
37 install-local-srv:
38 install-yes: install-local-srv FORCE
39
40 lint-local-srv:
41 lint-yes: lint-local-srv FORCE
42         $(LINT) $(DEFS) $(DEFINES) $(SRCS)
43
44 5lint-local-srv:
45 5lint-yes: 5lint-local-srv FORCE
46         $(5LINT) $(DEFS) $(DEFINES) $(SRCS)
47
48 clean-local-srv:
49 clean-srv:      clean-local-srv FORCE
50         $(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/* *.exe
51
52 depend-local-srv:
53 depend-yes: depend-local-srv FORCE
54         $(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
55
56 veryclean-local-srv:
57 veryclean-srv:  clean-srv veryclean-local-srv
58
59 Makefile: $(top_srcdir)/build/srv.mk