Makefile.libldap revision 1.4
1# $NetBSD: Makefile.libldap,v 1.4 2008/10/27 07:26:29 mrg Exp $ 2 3.include "../../openldap.mk" 4 5.PATH: ${LDAP_DISTDIR}/libraries/libldap 6CPPFLAGS+= -I${LDAP_DISTDIR}/libraries/libldap 7 8SRCS+= bind.c open.c result.c error.c compare.c search.c \ 9 controls.c messages.c references.c extended.c cyrus.c \ 10 modify.c add.c modrdn.c delete.c abandon.c \ 11 sasl.c sbind.c unbind.c cancel.c \ 12 filter.c free.c sort.c passwd.c whoami.c \ 13 getdn.c getentry.c getattr.c getvalues.c addentry.c \ 14 request.c os-ip.c url.c pagectrl.c sortctrl.c vlvctrl.c \ 15 init.c options.c print.c string.c util-int.c schema.c \ 16 charray.c os-local.c dnssrv.c utf-8.c utf-8-conv.c \ 17 turn.c ppolicy.c dds.c txn.c ldap_sync.c stctrl.c \ 18 assertion.c 19 20.if ${MKCRYPTO} != "no" 21SRCS+= tls.c 22.endif 23 24CPPFLAGS+= -DLDAP_LIBRARY 25 26LIBDPLIBS+= lber ${.CURDIR}/../liblber 27 28.if ${MKCRYPTO} != "no" 29LIBDPLIBS+= crypto ${.CURDIR}/../../../../../lib/libcrypto 30LIBDPLIBS+= ssl ${.CURDIR}/../../../../../lib/libssl 31.endif 32