| @@ -1,27 +1,29 @@ | | | @@ -1,27 +1,29 @@ |
1 | # $NetBSD: Makefile.libldap,v 1.9 2018/02/04 03:19:52 christos Exp $ | | 1 | # $NetBSD: Makefile.libldap,v 1.10 2019/10/16 07:39:18 mrg Exp $ |
2 | | | 2 | |
3 | .include "../../openldap.mk" | | 3 | .include "../../openldap.mk" |
4 | | | 4 | |
5 | .PATH: ${LDAP_DISTDIR}/libraries/libldap | | 5 | .PATH: ${LDAP_DISTDIR}/libraries/libldap |
6 | CPPFLAGS+= -I${LDAP_DISTDIR}/libraries/libldap | | 6 | CPPFLAGS+= -I${LDAP_DISTDIR}/libraries/libldap |
7 | | | 7 | |
8 | SRCS+= bind.c open.c result.c error.c compare.c search.c \ | | 8 | SRCS+= bind.c open.c result.c error.c compare.c search.c \ |
9 | controls.c messages.c references.c extended.c cyrus.c \ | | 9 | controls.c messages.c references.c extended.c cyrus.c \ |
10 | modify.c add.c modrdn.c delete.c abandon.c \ | | 10 | modify.c add.c modrdn.c delete.c abandon.c \ |
11 | sasl.c gssapi.c sbind.c unbind.c cancel.c \ | | 11 | sasl.c gssapi.c sbind.c unbind.c cancel.c \ |
12 | filter.c free.c sort.c passwd.c whoami.c \ | | 12 | filter.c free.c sort.c passwd.c whoami.c \ |
13 | getdn.c getentry.c getattr.c getvalues.c addentry.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 \ | | 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 \ | | 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 \ | | 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 \ | | 17 | turn.c ppolicy.c dds.c txn.c ldap_sync.c stctrl.c \ |
18 | assertion.c deref.c fetch.c ldif.c | | 18 | assertion.c deref.c fetch.c ldif.c |
19 | | | 19 | |
20 | SRCS+= tls2.c tls_o.c tls_g.c tls_m.c | | 20 | SRCS+= tls2.c tls_o.c tls_g.c tls_m.c |
21 | | | 21 | |
22 | CPPFLAGS+= -DLDAP_LIBRARY | | 22 | CPPFLAGS+= -DLDAP_LIBRARY |
23 | | | 23 | |
24 | LIBDPLIBS+= lber ${.CURDIR}/../liblber | | 24 | LIBDPLIBS+= lber ${.CURDIR}/../liblber |
25 | | | 25 | |
26 | LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto | | 26 | LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto |
27 | LIBDPLIBS+= ssl ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libssl | | 27 | LIBDPLIBS+= ssl ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libssl |
| | | 28 | |
| | | 29 | COPTS.charray.c+= ${GCC_NO_STRINGOP_OVERFLOW} |