1 # $NetBSD: openldap.mk,v 1.2 2008/08/13 04:42:47 lukem Exp $
7 LDAP_SRCDIR
= ${NETBSDSRCDIR}/external
/bsd
/openldap
8 LDAP_DISTDIR
= ${NETBSDSRCDIR}/external
/bsd
/openldap
/dist
12 LDAP_DATADIR
= ${LDAP_PREFIX}/share
/openldap
14 LDAP_RUNDIR
= /var
/openldap
16 CPPFLAGS
+= -I
${LDAP_SRCDIR}/include
17 CPPFLAGS
+= -I
${LDAP_DISTDIR}/include
19 .for _LIB in lutil
# XXX lber ldap ldap_r lunicode rewrite
20 .if
!defined
(LDAPOBJDIR.
${_LIB})
21 LDAPOBJDIR.
${_LIB}!= cd
${LDAP_SRCDIR}/lib
/lib
${_LIB} && ${PRINTOBJDIR}
22 .MAKEOVERRIDES
+= LDAPOBJDIR.
${_LIB}
24 LDAPLIB.
${_LIB}= ${LDAPOBJDIR.
${_LIB}}/lib
${_LIB}.a
27 LDAP_MKVERSION
= ${HOST_SH} ${LDAP_DISTDIR}/build
/mkversion
-v
"${LDAP_VERSION}"
29 .if
${MKCRYPTO} != "no"