diff options
Diffstat (limited to 'lib/libpthread/dlopen/Makefile')
-rw-r--r-- | lib/libpthread/dlopen/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/libpthread/dlopen/Makefile b/lib/libpthread/dlopen/Makefile new file mode 100644 index 000000000000..d00eb2a26c4b --- /dev/null +++ b/lib/libpthread/dlopen/Makefile @@ -0,0 +1,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> |