summaryrefslogtreecommitdiff
path: root/rump/modautoload/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rump/modautoload/Makefile')
-rw-r--r--rump/modautoload/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/rump/modautoload/Makefile b/rump/modautoload/Makefile
new file mode 100644
index 000000000000..6a922c47f5f9
--- /dev/null
+++ b/rump/modautoload/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.2 2014/03/10 22:38:53 pooka Exp $
+#
+
+TESTSDIR= ${TESTSBASE}/rump/modautoload
+
+TESTS_C= t_modautoload
+
+# Note: we link the rump kernel into the application to make this work
+# on amd64. This is the reason we keep this test in its own
+# subdirectory -- otherwise the LDADD lines would get a little hairy.
+LDFLAGS+= -Wl,-E
+LDADD+= -Wl,--whole-archive ${DESTDIR}/usr/lib/librumpvfs.a \
+ ${DESTDIR}/usr/lib/librump.a \
+ -Wl,--no-whole-archive
+LDADD+= -lrumpuser -lpthread
+
+WARNS= 4
+
+.include <bsd.test.mk>