# $FreeBSD$

SHLIB_NAME= lkpd_ldap.so.1
SHLIB_LINK= lkpd_ldap.so
SHLIB_MAJOR= 1

PREFIX?=/usr/local
SHLIBDIR?=${PREFIX}/lib
LIBDIR=${SHLIBDIR}

SRCS= 	bsdnss.c ldap-grp.c ldap-schema.c resolve.c util.c dnsconfig.c \
			ldap-nss.c ltf.c sasl.c globals.c ldap-pwd.c pagectrl.c snprintf.c

WARNS?=2
STRIP=
LDFLAGS+=-nostdlib -lc -shared -L${LOCALBASE}/lib -lldap_r
CFLAGS+=-pthread -I${LOCALBASE}/include/lookupd -I${LOCALBASE}/include \
	-DLDAP_DEPRECATED=1
NOMAN= 1

.include <bsd.lib.mk>


syntax highlighted by Code2HTML, v. 0.9.1