Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / bsd / openldap / dist / build / lib.mk
blob8e678eb49b89e6275e3cdd58a38faf7447a47e1d
1 # $OpenLDAP: pkg/ldap/build/lib.mk,v 1.23.2.3 2008/02/11 23:26:37 kurt Exp $
2 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
3 ##
4 ## Copyright 1998-2008 The OpenLDAP Foundation.
5 ## All rights reserved.
6 ##
7 ## Redistribution and use in source and binary forms, with or without
8 ## modification, are permitted only as authorized by the OpenLDAP
9 ## Public License.
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 Libraries
19 all-common: $(LIBRARY) $(PROGRAMS)
21 version.c: Makefile
22 $(RM) $@
23 $(MKVERSION) $(LIBRARY) > $@
25 version.o version.lo: version.c $(OBJS)
27 install-common: FORCE
29 lint: lint-local FORCE
30 $(LINT) $(DEFS) $(DEFINES) $(SRCS)
32 lint5: lint5-local FORCE
33 $(5LINT) $(DEFS) $(DEFINES) $(SRCS)
36 # In the mingw/cygwin environment, the so and dll files must be
37 # deleted separately, instead of using the {.so*,*.dll} construct
38 # that was previously used. It just didn't work.
40 clean-common: FORCE
41 $(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
42 $(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
43 *.o *.lo a.out *.exe core version.c .libs/* \
44 ../`$(BASENAME) $(LIBRARY) .la`.so* \
45 ../`$(BASENAME) $(LIBRARY) .la`*.dll
47 depend-common: FORCE
48 $(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
50 lint-local: FORCE
51 lint5-local: FORCE
53 Makefile: $(top_srcdir)/build/lib.mk