xref: /minix/tests/rump/modautoload/Makefile (revision 0a6a1f1d)
1#	$NetBSD: Makefile,v 1.2 2014/03/10 22:38:53 pooka Exp $
2#
3
4TESTSDIR=	${TESTSBASE}/rump/modautoload
5
6TESTS_C=	t_modautoload
7
8# Note: we link the rump kernel into the application to make this work
9# on amd64.  This is the reason we keep this test in its own
10# subdirectory -- otherwise the LDADD lines would get a little hairy.
11LDFLAGS+=	-Wl,-E
12LDADD+=		-Wl,--whole-archive	${DESTDIR}/usr/lib/librumpvfs.a	\
13					${DESTDIR}/usr/lib/librump.a	\
14		-Wl,--no-whole-archive
15LDADD+=		-lrumpuser -lpthread
16
17WARNS=	4
18
19.include <bsd.test.mk>
20