xref: /minix/tests/modules/Makefile (revision 0a6a1f1d)
1# $NetBSD: Makefile,v 1.11 2014/06/10 04:28:40 he Exp $
2
3.include <bsd.own.mk>
4
5TESTSDIR=	${TESTSBASE}/modules
6
7# Ideally this test could be in the parent Makefile, which could not descend
8# into this directory at all.  Unfortunately, the etc/mtree/NetBSD.dist file
9# creates the 'modules' subdirectory unconditionally, which if left empty
10# will confuse atf-run.  Therefore we must install, at the very least, the
11# Atffile into it.
12TESTS_C=	t_modctl
13TESTS_C+=	t_builtin
14LDADD=		-lprop
15LDADD+=		-lrumpfs_kernfs -lrumpvfs -lrump -lrumpuser -lrump -lpthread
16
17TESTS_SH=	t_abi_uvm
18TESTS_SH+=	t_modload
19
20SUBDIR=		k_helper
21SUBDIR+=	k_helper2
22SUBDIR+=	k_helper3
23SUBDIR+=	k_uvm
24
25.include <bsd.test.mk>
26