rules.mk 951 Bytes
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 Programs
#
Kurt Zeilenga's avatar
Kurt Zeilenga committed
18

19
all-common: $(PROGRAMS) FORCE
Kurt Zeilenga's avatar
Kurt Zeilenga committed
20

21
clean-common: 	FORCE
22
23
	$(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o *.lo a.out core *.core \
		    .libs/* *.exe
Kurt Zeilenga's avatar
Kurt Zeilenga committed
24

25
depend-common: FORCE
Kurt Zeilenga's avatar
Kurt Zeilenga committed
26
27
	$(MKDEP) $(DEFS) $(DEFINES) $(SRCS)

28
lint: FORCE
Kurt Zeilenga's avatar
Kurt Zeilenga committed
29
30
	$(LINT) $(DEFS) $(DEFINES) $(SRCS)

31
lint5: FORCE
Kurt Zeilenga's avatar
Kurt Zeilenga committed
32
33
34
	$(5LINT) $(DEFS) $(DEFINES) $(SRCS)

Makefile: $(top_srcdir)/build/rules.mk
35