1# $OpenLDAP$
2## This work is part of OpenLDAP Software <http://www.openldap.org/>.
3##
4## Copyright 1998-2011 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
19all-common: all-$(BUILD_SRV)
20all-no lint-no 5lint-no depend-no install-no:
21	@echo "run configure with $(BUILD_OPT) to make $(PROGRAMS)"
22
23clean-common: clean-srv FORCE
24veryclean-common: veryclean-srv FORCE
25
26lint-common: lint-$(BUILD_SRV)
27
285lint-common: 5lint-$(BUILD_SRV)
29
30depend-common: depend-$(BUILD_SRV)
31
32install-common: install-$(BUILD_SRV)
33
34all-local-srv:
35all-yes: all-local-srv FORCE
36
37install-local-srv:
38install-yes: install-local-srv FORCE
39
40lint-local-srv:
41lint-yes: lint-local-srv FORCE
42	$(LINT) $(DEFS) $(DEFINES) $(SRCS)
43
445lint-local-srv:
455lint-yes: 5lint-local-srv FORCE
46	$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
47
48clean-local-srv:
49clean-srv: 	clean-local-srv FORCE
50	$(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/* *.exe
51
52depend-local-srv:
53depend-yes: depend-local-srv FORCE
54	$(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
55
56veryclean-local-srv:
57veryclean-srv: 	clean-srv veryclean-local-srv
58
59Makefile: $(top_srcdir)/build/srv.mk
60