netbsd/external/bsd/openldap/lib/libldap/Makefile.libldap
2015-10-15 10:25:28 +02:00

32 lines
1.1 KiB
Makefile

# $NetBSD: Makefile.libldap,v 1.7 2014/05/28 11:32:19 tron 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
.if ${MKCRYPTO} != "no"
SRCS+= tls2.c tls_o.c tls_g.c tls_m.c
.endif
CPPFLAGS+= -DLDAP_LIBRARY
LIBDPLIBS+= lber ${.CURDIR}/../liblber
.if ${MKCRYPTO} != "no"
LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto
LIBDPLIBS+= ssl ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libssl
.endif