Remove building with NOCRYPTO option
[minix.git] / tests / lib / libc / tls / Makefile
blobc23b7111b5784b8b8ecb32c0004c7e5e4801a973
1 # $NetBSD: Makefile,v 1.4 2011/11/18 01:32:33 joerg Exp $
3 .include <bsd.own.mk>
5 TESTSDIR= ${TESTSBASE}/lib/libc/tls
6 .if (${MKPIC} == "yes")
7 SUBDIR+= dso
8 .endif
10 TESTS_C+= t_tls_static
11 .if (${MKPIC} == "yes")
12 TESTS_C+= t_tls_dynamic t_tls_dlopen
13 .endif
15 DSODIR!= cd ${.CURDIR}/../tls_dso && ${PRINTOBJDIR}
17 SRCS.t_tls_static= t_tls_static.c t_tls_static_helper.c
18 DPADD.t_tls_static+= ${LIBPTHREAD}
19 LDADD.t_tls_static+= -lpthread -static
20 DPADD.t_tls_dynamic+= ${LIBPTHREAD} ${DSODIR}/libh_tls_dynamic.so
21 LDADD.t_tls_dynamic+= -lpthread \
22 -Wl,-rpath,${TESTSDIR} -L${DSODIR} -lh_tls_dynamic
23 DPADD.t_tls_dlopen+= ${LIBPTHREAD}
24 LDADD.t_tls_dlopen+= -lpthread -Wl,-rpath,${TESTSDIR} -Wl,-export-dynamic
26 .include <bsd.test.mk>