1# $NetBSD: Makefile,v 1.3 2008/10/27 07:26:29 mrg Exp $ 2 3USE_FORT?= yes 4 5.include "../libldap/Makefile.libldap" 6 7LIB= ldap_r 8 9.PATH: ${LDAP_DISTDIR}/libraries/libldap_r 10 11SRCS+= threads.c rdwr.c rmutex.c tpool.c rq.c \ 12 thr_posix.c thr_cthreads.c thr_thr.c thr_lwp.c thr_nt.c \ 13 thr_pth.c thr_stub.c thr_debug.c 14 15CPPFLAGS+= -DLDAP_R_COMPILE 16 17COPTS+= -pthread 18LIBDPLIBS+= pthread ${.CURDIR}/../../../../../lib/libpthread 19 20.include <bsd.lib.mk> 21