# $NetBSD: Makefile.libldap,v 1.4 2008/10/27 07:26:29 mrg Exp $ .include "../../openldap.mk" .PATH: ${LDAP_DISTDIR}/libraries/libldap CPPFLAGS+= -I${LDAP_DISTDIR}/libraries/libldap SRCS+= bind.c open.c result.c error.c compare.c search.c \ controls.c messages.c references.c extended.c cyrus.c \ modify.c add.c modrdn.c delete.c abandon.c \ sasl.c sbind.c unbind.c cancel.c \ filter.c free.c sort.c passwd.c whoami.c \ getdn.c getentry.c getattr.c getvalues.c addentry.c \ request.c os-ip.c url.c pagectrl.c sortctrl.c vlvctrl.c \ init.c options.c print.c string.c util-int.c schema.c \ charray.c os-local.c dnssrv.c utf-8.c utf-8-conv.c \ turn.c ppolicy.c dds.c txn.c ldap_sync.c stctrl.c \ assertion.c .if ${MKCRYPTO} != "no" SRCS+= tls.c .endif CPPFLAGS+= -DLDAP_LIBRARY LIBDPLIBS+= lber ${.CURDIR}/../liblber .if ${MKCRYPTO} != "no" LIBDPLIBS+= crypto ${.CURDIR}/../../../../../lib/libcrypto LIBDPLIBS+= ssl ${.CURDIR}/../../../../../lib/libssl .endif