1999-08-30 16:08:00 +08:00
|
|
|
# $OpenLDAP$
|
2005-01-22 03:38:13 +08:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2008-01-08 08:19:56 +08:00
|
|
|
## Copyright 1998-2008 The OpenLDAP Foundation.
|
2003-11-26 10:58:56 +08:00
|
|
|
## All rights reserved.
|
1998-10-25 09:41:42 +08:00
|
|
|
##
|
2003-11-26 10:58:56 +08:00
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
## modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
## Public License.
|
1998-10-25 09:41:42 +08:00
|
|
|
##
|
2003-11-26 10:58:56 +08:00
|
|
|
## 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 Libraries
|
|
|
|
#
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
all-common: $(LIBRARY) $(PROGRAMS)
|
|
|
|
|
2003-03-29 02:47:57 +08:00
|
|
|
version.c: Makefile
|
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
|
|
|
|
2003-03-29 17:03:46 +08:00
|
|
|
version.o version.lo: version.c $(OBJS)
|
2003-03-29 02:47:57 +08:00
|
|
|
|
1998-11-22 12:22:28 +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.
|
|
|
|
#
|
1998-11-22 12:22:28 +08:00
|
|
|
clean-common: FORCE
|
1998-12-19 09:27:20 +08:00
|
|
|
$(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
|
1998-12-20 08:58:55 +08:00
|
|
|
$(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
|
2000-05-31 02:23:56 +08:00
|
|
|
*.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
|
|
|
|
1998-11-22 12:22:28 +08:00
|
|
|
depend-common: FORCE
|
1998-12-20 08:58:55 +08:00
|
|
|
$(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
|
|
|
|