srv.mk 1.51 KB
Newer Older
Kurt Zeilenga's avatar
Kurt Zeilenga committed
1
# $OpenLDAP$
Kurt Zeilenga's avatar
Kurt Zeilenga committed
2
3
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
Quanah Gibson-Mount's avatar
Quanah Gibson-Mount committed
4
## Copyright 1998-2021 The OpenLDAP Foundation.
Kurt Zeilenga's avatar
Kurt Zeilenga committed
5
## All rights reserved.
Kurt Zeilenga's avatar
Kurt Zeilenga committed
6
##
Kurt Zeilenga's avatar
Kurt Zeilenga committed
7
8
9
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
Kurt Zeilenga's avatar
Kurt Zeilenga committed
10
##
Kurt Zeilenga's avatar
Kurt Zeilenga committed
11
12
13
14
15
16
17
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
##---------------------------------------------------------------------------
#
# Makefile Template for Servers
#
Kurt Zeilenga's avatar
Kurt Zeilenga committed
18

Howard Chu's avatar
Howard Chu committed
19
20
21
all-common: all-$(BUILD_SRV)
all-no lint-no 5lint-no depend-no install-no:
	@echo "run configure with $(BUILD_OPT) to make $(PROGRAMS)"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
22

23
24
clean-common: clean-srv FORCE
veryclean-common: veryclean-srv FORCE
Kurt Zeilenga's avatar
Kurt Zeilenga committed
25

Howard Chu's avatar
Howard Chu committed
26
lint-common: lint-$(BUILD_SRV)
Kurt Zeilenga's avatar
Kurt Zeilenga committed
27

Howard Chu's avatar
Howard Chu committed
28
5lint-common: 5lint-$(BUILD_SRV)
Kurt Zeilenga's avatar
Kurt Zeilenga committed
29

Howard Chu's avatar
Howard Chu committed
30
depend-common: depend-$(BUILD_SRV)
Kurt Zeilenga's avatar
Kurt Zeilenga committed
31

Howard Chu's avatar
Howard Chu committed
32
install-common: install-$(BUILD_SRV)
Kurt Zeilenga's avatar
Kurt Zeilenga committed
33

34
all-local-srv:
Howard Chu's avatar
Howard Chu committed
35
all-yes: all-local-srv FORCE
Kurt Zeilenga's avatar
Kurt Zeilenga committed
36

37
install-local-srv:
Howard Chu's avatar
Howard Chu committed
38
install-yes: install-local-srv FORCE
Kurt Zeilenga's avatar
Kurt Zeilenga committed
39

40
lint-local-srv:
Howard Chu's avatar
Howard Chu committed
41
lint-yes: lint-local-srv FORCE
Kurt Zeilenga's avatar
Kurt Zeilenga committed
42
43
	$(LINT) $(DEFS) $(DEFINES) $(SRCS)

44
5lint-local-srv:
Howard Chu's avatar
Howard Chu committed
45
5lint-yes: 5lint-local-srv FORCE
Kurt Zeilenga's avatar
Kurt Zeilenga committed
46
47
	$(5LINT) $(DEFS) $(DEFINES) $(SRCS)

48
49
clean-local-srv:
clean-srv: 	clean-local-srv FORCE
50
	$(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/* *.exe
Kurt Zeilenga's avatar
Kurt Zeilenga committed
51

52
depend-local-srv:
Howard Chu's avatar
Howard Chu committed
53
depend-yes: depend-local-srv FORCE
Kurt Zeilenga's avatar
Kurt Zeilenga committed
54
55
	$(MKDEP) $(DEFS) $(DEFINES) $(SRCS)

56
57
veryclean-local-srv:
veryclean-srv: 	clean-srv veryclean-local-srv
Kurt Zeilenga's avatar
Kurt Zeilenga committed
58
59

Makefile: $(top_srcdir)/build/srv.mk