]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libthr/tests/dlopen/Makefile
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed
[FreeBSD/FreeBSD.git] / lib / libthr / tests / dlopen / Makefile
1 # $FreeBSD$
2
3 TESTSRC=        ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen
4
5 .include <bsd.own.mk>
6
7 TESTSDIR=       ${TESTSBASE}/lib/libthr/dlopen
8
9 CFLAGS+=        -DTESTDIR=\"${TESTSDIR:Q}/\"
10 LDFLAGS+=       -L${.OBJDIR}/dso -Wl,-rpath=${TESTDIR}
11
12 .if !defined(NO_PIC)
13 SUBDIR+=        dso
14
15 NETBSD_ATF_TESTS_C=     dlopen_test
16 NETBSD_ATF_TESTS_C+=    main_pthread_create_test
17 # XXX: this blocks running the testcase
18 #NETBSD_ATF_TESTS_C+=   dso_pthread_create_test
19
20 .for t in dlopen_test main_pthread_create_test
21 LIBADD.${t}+=   pthread
22 .endfor
23 .endif
24
25 .include <netbsd-tests.test.mk>
26
27 .include <bsd.test.mk>