1999-08-30 04:08:00 -04:00
|
|
|
# $OpenLDAP$
|
2003-01-03 15:20:47 -05:00
|
|
|
## Copyright 1998-2003 The OpenLDAP Foundation
|
1998-12-28 14:58:57 -05:00
|
|
|
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
|
|
|
|
## of this package for details.
|
1998-10-24 21:41:42 -04:00
|
|
|
##---------------------------------------------------------------------------
|
|
|
|
|
##
|
|
|
|
|
## Makefile Template for Libraries
|
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
all-common: $(LIBRARY) $(PROGRAMS)
|
|
|
|
|
|
2003-03-28 13:47:57 -05:00
|
|
|
version.c: Makefile
|
1998-10-24 21:41:42 -04:00
|
|
|
$(RM) $@
|
1999-04-29 14:28:57 -04:00
|
|
|
$(MKVERSION) $(LIBRARY) > $@
|
1998-10-24 21:41:42 -04:00
|
|
|
|
2003-03-29 04:03:46 -05:00
|
|
|
version.o version.lo: version.c $(OBJS)
|
2003-03-28 13:47:57 -05:00
|
|
|
|
1998-11-21 23:22:28 -05:00
|
|
|
install-common: FORCE
|
1998-10-24 21:41:42 -04:00
|
|
|
|
|
|
|
|
lint: lint-local FORCE
|
|
|
|
|
$(LINT) $(DEFS) $(DEFINES) $(SRCS)
|
|
|
|
|
|
|
|
|
|
lint5: lint5-local FORCE
|
|
|
|
|
$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
|
|
|
|
|
|
2001-12-06 23:03:25 -05: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-21 23:22:28 -05:00
|
|
|
clean-common: FORCE
|
1998-12-18 20:27:20 -05:00
|
|
|
$(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
|
1998-12-19 19:58:55 -05:00
|
|
|
$(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
|
2000-05-30 14:23:56 -04:00
|
|
|
*.o *.lo a.out *.exe core version.c .libs/* \
|
2001-12-06 23:03:25 -05:00
|
|
|
../`$(BASENAME) $(LIBRARY) .la`.so* \
|
|
|
|
|
../`$(BASENAME) $(LIBRARY) .la`*.dll
|
1998-10-24 21:41:42 -04:00
|
|
|
|
1998-11-21 23:22:28 -05:00
|
|
|
depend-common: FORCE
|
1998-12-19 19:58:55 -05:00
|
|
|
$(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
|
1998-10-24 21:41:42 -04:00
|
|
|
|
|
|
|
|
lint-local: FORCE
|
|
|
|
|
lint5-local: FORCE
|
|
|
|
|
|
|
|
|
|
Makefile: $(top_srcdir)/build/lib.mk
|
2001-12-06 23:03:25 -05:00
|
|
|
|