# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
-## Copyright 1998-2009 The OpenLDAP Foundation.
+## Copyright 1998-2010 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
$(LIBRARY): version.lo
$(LTLINK_LIB) -o $@ $(OBJS) version.lo $(LINK_LIBS)
- @if test "$(BUILD_LIBS_DYNAMIC)" = shared; then \
- DIR=`$(PWD)`; DIR=`$(BASENAME) $$DIR`; \
- dlname=`grep '^dlname=' $@`; \
- eval $$dlname; \
- echo "$(RM) ../$$dlname; ln -s $$DIR/.libs/$$dlname .."; \
- $(RM) ../$$dlname; $(LN_S) $$DIR/.libs/$$dlname .; \
- mv $$dlname ..; \
- fi
Makefile: $(top_srcdir)/build/lib-shared.mk