1 # $NetBSD: Makefile.inc,v 1.1 2008/05/22 13:57:47 lukem Exp $
3 .include "../openldap.mk"
7 .PATH: ${LDAP_DISTDIR}/clients/tools
8 .PATH: ${LDAP_SRCDIR}/man
10 SRCS= ${PROG}.c common.c
14 CLEANFILES+= version.c
16 version.c: ../openldap.mk
18 ${LDAP_MKVERSION} -s ${PROG} > ${.TARGET}
21 LDADD+= -L${LDAPOBJDIR.lutil} -llutil
22 DPADD+= ${LDAPLIB.lutil}
27 .if (${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != ""))
30 .if ${MKCRYPTO} != "no"
31 DPADD+= ${LIBSSL} ${LIBCRYPTO}
32 LDADD+= -lssl -lcrypto