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