2 ## Copyright 1998-2002 The OpenLDAP Foundation
3 ## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
4 ## of this package for details.
5 ##---------------------------------------------------------------------------
7 ## Makefile Template for Libraries
10 all-common: $(LIBRARY) $(PROGRAMS)
14 $(MKVERSION) $(LIBRARY) > $@
18 lint: lint-local FORCE
19 $(LINT) $(DEFS) $(DEFINES) $(SRCS)
21 lint5: lint5-local FORCE
22 $(5LINT) $(DEFS) $(DEFINES) $(SRCS)
25 # In the mingw/cygwin environment, the so and dll files must be
26 # deleted separately, instead of using the {.so*,*.dll} construct
27 # that was previously used. It just didn't work.
30 $(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
31 $(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
32 *.o *.lo a.out *.exe core version.c .libs/* \
33 ../`$(BASENAME) $(LIBRARY) .la`.so* \
34 ../`$(BASENAME) $(LIBRARY) .la`*.dll
37 $(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
42 Makefile: $(top_srcdir)/build/lib.mk