+# $OpenLDAP$
## Copyright 1998,1999 The OpenLDAP Foundation
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
## of this package for details.
## Makefile Template for Shared Libraries
##
-LTVERSION = -version-info $(LIBVERSION)
-LINK = $(LTLINK)
COMPILE = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c
MKDEPFLAG = -l
$(COMPILE) $<
$(LIBRARY): version.lo
- $(LINK) -rpath $(libdir) -o $@ $(OBJS) version.lo
+ $(LTLIBLINK) -rpath $(libdir) -o $@ $(OBJS) version.lo
$(RM) ../$@; \
(d=`$(PWD)` ; $(LN_S) `$(BASENAME) $$d`/$@ ../$@)
$(RM) ../`$(BASENAME) $@ .la`.a; \