# $FreeBSD: head/lib/libthr/tests/dlopen/Makefile 299094 2016-05-04 23:20:53Z ngie $ TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen .include TESTSDIR= ${TESTSBASE}/lib/libthr/dlopen CFLAGS+= -DTESTDIR=\"${TESTSDIR:Q}/\" LDFLAGS+= -L${.OBJDIR}/dso -Wl,-rpath=${TESTDIR} .if !defined(NO_PIC) SUBDIR+= dso NETBSD_ATF_TESTS_C= dlopen_test NETBSD_ATF_TESTS_C+= main_pthread_create_test # XXX: this blocks running the testcase #NETBSD_ATF_TESTS_C+= dso_pthread_create_test .for t in dlopen_test main_pthread_create_test LIBADD.${t}+= pthread .endfor .endif .include .include