2 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ## Copyright 1998-2009 The OpenLDAP Foundation.
5 ## All rights reserved.
7 ## Redistribution and use in source and binary forms, with or without
8 ## modification, are permitted only as authorized by the OpenLDAP
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 ##---------------------------------------------------------------------------
16 # Makefile Template for Servers
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)"
23 clean-common: clean-srv FORCE
24 veryclean-common: veryclean-srv FORCE
26 lint-common: lint-$(BUILD_SRV)
28 5lint-common: 5lint-$(BUILD_SRV)
30 depend-common: depend-$(BUILD_SRV)
32 install-common: install-$(BUILD_SRV)
35 all-yes: all-local-srv FORCE
38 install-yes: install-local-srv FORCE
41 lint-yes: lint-local-srv FORCE
42 $(LINT) $(DEFS) $(DEFINES) $(SRCS)
45 5lint-yes: 5lint-local-srv FORCE
46 $(5LINT) $(DEFS) $(DEFINES) $(SRCS)
49 clean-srv: clean-local-srv FORCE
50 $(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/* *.exe
53 depend-yes: depend-local-srv FORCE
54 $(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
57 veryclean-srv: clean-srv veryclean-local-srv
59 Makefile: $(top_srcdir)/build/srv.mk