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