]> git.sur5r.net Git - openldap/blob - build/lib.mk
s/Id/OpenLDAP/ in RCSids
[openldap] / build / lib.mk
1 # $OpenLDAP$
2 ## Copyright 1998,1999 The OpenLDAP Foundation
3 ## COPYING RESTRICTIONS APPLY.  See COPYRIGHT File in top level directory
4 ## of this package for details.
5 ##---------------------------------------------------------------------------
6 ##
7 ## Makefile Template for Libraries
8 ##
9
10 all-common: $(LIBRARY) $(PROGRAMS)
11
12 version.c: $(OBJS)
13         $(RM) $@
14         $(MKVERSION) $(LIBRARY) > $@
15
16 install-common: FORCE
17
18 lint: lint-local FORCE
19         $(LINT) $(DEFS) $(DEFINES) $(SRCS)
20
21 lint5: lint5-local FORCE
22         $(5LINT) $(DEFS) $(DEFINES) $(SRCS)
23
24 clean-common:   FORCE
25         $(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
26                 $(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
27                 *.o *.lo a.out core version.c .libs/*
28
29 depend-common: FORCE
30         $(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
31
32 lint-local: FORCE
33 lint5-local: FORCE
34
35 Makefile: $(top_srcdir)/build/lib.mk