openldap/build/lib.mk

44 lines
1.1 KiB
Makefile
Raw Normal View History

1999-08-30 16:08:00 +08:00
# $OpenLDAP$
2000-05-13 10:36:07 +08:00
## Copyright 1998-2000 The OpenLDAP Foundation
1998-12-29 03:58:57 +08:00
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
## of this package for details.
1998-10-25 09:41:42 +08:00
##---------------------------------------------------------------------------
##
## Makefile Template for Libraries
##
all-common: $(LIBRARY) $(PROGRAMS)
1999-04-30 02:28:57 +08:00
version.c: $(OBJS)
1998-10-25 09:41:42 +08:00
$(RM) $@
1999-04-30 02:28:57 +08:00
$(MKVERSION) $(LIBRARY) > $@
1998-10-25 09:41:42 +08:00
install-common: FORCE
1998-10-25 09:41:42 +08:00
lint: lint-local FORCE
$(LINT) $(DEFS) $(DEFINES) $(SRCS)
lint5: lint5-local FORCE
$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
2001-12-07 12:03:25 +08:00
#
# In the mingw/cygwin environment, the so and dll files must be
# deleted separately, instead of using the {.so*,*.dll} construct
# that was previously used. It just didn't work.
#
clean-common: FORCE
$(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
$(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
*.o *.lo a.out *.exe core version.c .libs/* \
2001-12-07 12:03:25 +08:00
../`$(BASENAME) $(LIBRARY) .la`.so* \
../`$(BASENAME) $(LIBRARY) .la`*.dll
1998-10-25 09:41:42 +08:00
depend-common: FORCE
$(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
1998-10-25 09:41:42 +08:00
lint-local: FORCE
lint5-local: FORCE
Makefile: $(top_srcdir)/build/lib.mk
2001-12-07 12:03:25 +08:00