aboutsummaryrefslogtreecommitdiff
path: root/lib/libthr/tests/dlopen/dso
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/tests/dlopen/dso')
-rw-r--r--lib/libthr/tests/dlopen/dso/Makefile16
-rw-r--r--lib/libthr/tests/dlopen/dso/Makefile.depend17
2 files changed, 33 insertions, 0 deletions
diff --git a/lib/libthr/tests/dlopen/dso/Makefile b/lib/libthr/tests/dlopen/dso/Makefile
new file mode 100644
index 000000000000..74d8ada35ff1
--- /dev/null
+++ b/lib/libthr/tests/dlopen/dso/Makefile
@@ -0,0 +1,16 @@
+TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libpthread/dlopen/dso
+WARNS?= 3
+
+PACKAGE= tests
+SHLIB= h_pthread_dlopen
+SHLIB_MAJOR= 1
+SHLIB_NAME= h_pthread_dlopen.so.${SHLIB_MAJOR}
+SRCS= h_pthread_dlopen.c
+
+LIBADD+= pthread
+
+LIBDIR= ${TESTSBASE}/lib/libthr/dlopen
+
+.include <netbsd-tests.test.mk>
+
+.include <bsd.lib.mk>
diff --git a/lib/libthr/tests/dlopen/dso/Makefile.depend b/lib/libthr/tests/dlopen/dso/Makefile.depend
new file mode 100644
index 000000000000..a6b2561a99a8
--- /dev/null
+++ b/lib/libthr/tests/dlopen/dso/Makefile.depend
@@ -0,0 +1,17 @@
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+ gnu/lib/csu \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libcompiler_rt \
+ lib/libthr \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif