# $NetBSD: Makefile.libldap,v 1.9 2018/02/04 03:19:52 christos 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 gssapi.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 deref.c fetch.c ldif.c SRCS+= tls2.c tls_o.c tls_g.c tls_m.c CPPFLAGS+= -DLDAP_LIBRARY LIBDPLIBS+= lber ${.CURDIR}/../liblber LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto LIBDPLIBS+= ssl ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libssl