diff options
Diffstat (limited to 'kerberos5/Makefile.inc')
-rw-r--r-- | kerberos5/Makefile.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kerberos5/Makefile.inc b/kerberos5/Makefile.inc index b172f89..452e0e7 100644 --- a/kerberos5/Makefile.inc +++ b/kerberos5/Makefile.inc @@ -13,6 +13,13 @@ CFLAGS+=-I${INCLUDEOBJDIR} -DHAVE_CONFIG_H CFLAGS+=-DINET6 +.if defined(USE_OPENLDAP) +OPENLDAPBASE?= /usr/local +LDAPLIBS=-lldap -llber +LDAPCFLAGS=-I${OPENLDAPBASE}/include -DOPENLDAP=1 +LDAPLDADD=-L${OPENLDAPBASE}/lib ${LDAPLIBS} +.endif + .if exists(${.OBJDIR}/../../include) INCLUDEOBJDIR= ${.OBJDIR}/../../include .else |