1 # $NetBSD: Makefile,v 1.13 2018/01/08 14:17:15 martin Exp $ 2 3 .include <bsd.own.mk> 4 5 TESTSDIR= ${TESTSBASE}/modules 6 CPPFLAGS+= -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. 13 TESTS_C= t_modctl 14 TESTS_C+= t_builtin 15 LDADD= -lprop 16 LDADD+= -lrumpfs_kernfs -lrumpvfs -lrump -lrumpuser -lrump -lpthread 17 18 TESTS_SH= t_abi_uvm 19 TESTS_SH+= t_modload 20 TESTS_SH+= t_klua_pr_52864 21 22 SUBDIR= k_helper 23 SUBDIR+= k_helper2 24 SUBDIR+= k_helper3 25 SUBDIR+= k_uvm 26 27 .include <bsd.test.mk> 28