1 1.2 jmmv # $NetBSD: Makefile,v 1.2 2008/03/02 11:22:10 jmmv Exp $ 2 1.1 jmmv 3 1.1 jmmv .include <bsd.own.mk> 4 1.1 jmmv 5 1.1 jmmv TESTSDIR= ${TESTSBASE}/modules 6 1.1 jmmv 7 1.1 jmmv # Ideally this test could be in the parent Makefile, which could not descend 8 1.1 jmmv # into this directory at all. Unfortunately, the etc/mtree/NetBSD.dist file 9 1.1 jmmv # creates the 'modules' subdirectory unconditionally, which if left empty 10 1.1 jmmv # will confuse atf-run. Therefore we must install, at the very least, the 11 1.1 jmmv # Atffile into it. 12 1.1 jmmv .if ${MKMODULAR} != no 13 1.1 jmmv 14 1.1 jmmv TESTS_CXX= t_modctl 15 1.2 jmmv LDADD= -lprop 16 1.2 jmmv 17 1.2 jmmv TESTS_SH= t_modload 18 1.1 jmmv 19 1.1 jmmv SUBDIR= k_helper 20 1.1 jmmv 21 1.1 jmmv .endif 22 1.1 jmmv 23 1.1 jmmv .include <bsd.subdir.mk> 24 1.1 jmmv .include <bsd.test.mk> 25