1 # $NetBSD: Makefile,v 1.2 2008/03/02 11:22:10 jmmv Exp $ 2 3 .include <bsd.own.mk> 4 5 TESTSDIR= ${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. 12 .if ${MKMODULAR} != no 13 14 TESTS_CXX= t_modctl 15 LDADD= -lprop 16 17 TESTS_SH= t_modload 18 19 SUBDIR= k_helper 20 21 .endif 22 23 .include <bsd.subdir.mk> 24 .include <bsd.test.mk> 25