summaryrefslogtreecommitdiffstats
path: root/lib/libthr/tests/dlopen/dso/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/tests/dlopen/dso/Makefile')
-rw-r--r--lib/libthr/tests/dlopen/dso/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/libthr/tests/dlopen/dso/Makefile b/lib/libthr/tests/dlopen/dso/Makefile
new file mode 100644
index 0000000..080dec9
--- /dev/null
+++ b/lib/libthr/tests/dlopen/dso/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+OBJTOP= ${.OBJDIR:H:H:H:H:H}
+SRCTOP= ${.CURDIR:H:H:H:H:H}
+TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen/dso
+
+SHLIB= h_pthread_dlopen
+SHLIB_MAJOR= 1
+SHLIB_NAME= h_pthread_dlopen.so.${SHLIB_MAJOR}
+SRCS= h_pthread_dlopen.c
+
+DPADD+= ${LIBPTHREAD}
+LDADD+= -lpthread
+
+LIBDIR= ${TESTSBASE}/lib/libthr/dlopen
+
+.include <netbsd-tests.test.mk>
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud