etc/protocols - sync with NetBSD-8
[minix.git] / tests / lib / libpthread / dlopen / Makefile
blobd00eb2a26c4b80fc926806510870278925d64387
1 # $NetBSD: Makefile,v 1.1 2013/03/21 16:50:21 christos Exp $
3 NOMAN= # defined
5 .include <bsd.own.mk>
7 TESTSDIR= ${TESTSBASE}/lib/libpthread/dlopen
8 CPPFLAGS+= -DTESTDIR=\"${TESTSDIR:Q}/\"
9 RPATH=-Wl,-rpath=${TESTDIR}
11 LDADD+=${RPATH}
13 .if (${MKPIC:Uno} != "no")
14 SUBDIR+= dso
15 TESTS_C+= t_dlopen
16 TESTS_C+= t_main_pthread_create
17 LDADD.t_main_pthread_create+=-lpthread
18 PDADD.t_main_pthread_create+=${LIBPTHREAD}
19 TESTS_C+= t_dso_pthread_create
20 .endif
22 .include <bsd.test.mk>