2 ## Copyright 1998-2004 The OpenLDAP Foundation.
3 ## All rights reserved.
5 ## Redistribution and use in source and binary forms, with or without
6 ## modification, are permitted only as authorized by the OpenLDAP
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 ##---------------------------------------------------------------------------
14 # Makefile Template for Servers
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)"
21 clean-common: clean-srv FORCE
22 veryclean-common: veryclean-srv FORCE
24 lint-common: lint-$(BUILD_SRV)
26 5lint-common: 5lint-$(BUILD_SRV)
28 depend-common: depend-$(BUILD_SRV)
30 install-common: install-$(BUILD_SRV)
33 all-yes: all-local-srv FORCE
36 install-yes: install-local-srv FORCE
39 lint-yes: lint-local-srv FORCE
40 $(LINT) $(DEFS) $(DEFINES) $(SRCS)
43 5lint-yes: 5lint-local-srv FORCE
44 $(5LINT) $(DEFS) $(DEFINES) $(SRCS)
47 clean-srv: clean-local-srv FORCE
48 $(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/* *.exe
51 depend-yes: depend-local-srv FORCE
52 $(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
55 veryclean-srv: clean-srv veryclean-local-srv
57 Makefile: $(top_srcdir)/build/srv.mk