1 1.8 christos # $NetBSD: Makefile,v 1.8 2025/12/14 17:51:03 christos Exp $ 2 1.2 lukem 3 1.2 lukem USE_FORT?= yes 4 1.4 joerg CWARNFLAGS.clang= -Wno-format-extra-args 5 1.1 lukem 6 1.1 lukem .include "../libldap/Makefile.libldap" 7 1.1 lukem 8 1.1 lukem LIB= ldap_r 9 1.1 lukem 10 1.1 lukem .PATH: ${LDAP_DISTDIR}/libraries/libldap_r 11 1.1 lukem 12 1.6 christos SRCS+= threads.c rdwr.c rq.c \ 13 1.6 christos thr_posix.c thr_thr.c thr_nt.c \ 14 1.7 mrg thr_pth.c thr_debug.c tpool.c 15 1.1 lukem 16 1.1 lukem COPTS+= -pthread 17 1.3 mrg LIBDPLIBS+= pthread ${.CURDIR}/../../../../../lib/libpthread 18 1.1 lukem 19 1.8 christos EXPSYM_SRCS+= ldap_r.common.expsym 20 1.8 christos .if ${MKKERBEROS:Uno} != "no" 21 1.8 christos EXPSYM_SRCS+= ldap_r.kerberos.expsym 22 1.8 christos .endif 23 1.8 christos 24 1.8 christos LIB_EXPSYM= ldap_r.expsym 25 1.8 christos ldap_r.expsym: ${EXPSYM_SRCS} 26 1.8 christos ${_MKTARGET_CREATE} 27 1.8 christos LC_ALL=C sort -m ${.ALLSRC} > ${.TARGET}.tmp && \ 28 1.8 christos ${MV} ${.TARGET}.tmp ${.TARGET} 29 1.8 christos CLEANFILES+= ldap_r.expsym ldap_r.expsym.tmp 30 1.8 christos 31 1.1 lukem .include <bsd.lib.mk> 32