Makefile revision 1.17
1# $NetBSD: Makefile,v 1.17 2019/04/15 23:41:23 christos Exp $
2
3.include <bsd.own.mk>
4
5TESTSDIR=	${TESTSBASE}/modules
6CPPFLAGS+=	-D_KERNTYPES
7
8# Ideally this test could be in the parent Makefile, which could not descend
9# into this directory at all.  Unfortunately, the etc/mtree/NetBSD.dist file
10# creates the 'modules' subdirectory unconditionally, which if left empty
11# will confuse atf-run.  Therefore we must install, at the very least, the
12# Atffile into it.
13TESTS_C=	t_modctl
14TESTS_C+=	t_builtin
15TESTS_C+=	t_kcov
16TESTS_C+=	t_ufetchstore
17CPPFLAGS.t_ufetchstore.c+=-I${.CURDIR}/ufetchstore
18.for i in t_modctl t_builtin t_kcov
19LDADD.${i}=	-lprop
20LDADD.${i}+=	-lrumpfs_kernfs -lrumpvfs -lrump -lrumpuser -lrump -lpthread
21.endfor
22
23TESTS_SH=	t_abi_uvm
24TESTS_SH+=	t_modload
25TESTS_SH+= 	t_klua_pr_52864
26TESTS_SH+=	t_threadpool
27
28SUBDIR=		k_helper
29SUBDIR+=	k_helper2
30SUBDIR+=	k_helper3
31SUBDIR+=	k_uvm
32SUBDIR+=	threadpool_tester
33SUBDIR+=	ufetchstore
34
35.include <bsd.test.mk>
36