Makefile revision 1.2
11.2Sjmmv# $NetBSD: Makefile,v 1.2 2008/03/02 11:22:10 jmmv Exp $
21.1Sjmmv
31.1Sjmmv.include <bsd.own.mk>
41.1Sjmmv
51.1SjmmvTESTSDIR=	${TESTSBASE}/modules
61.1Sjmmv
71.1Sjmmv# Ideally this test could be in the parent Makefile, which could not descend
81.1Sjmmv# into this directory at all.  Unfortunately, the etc/mtree/NetBSD.dist file
91.1Sjmmv# creates the 'modules' subdirectory unconditionally, which if left empty
101.1Sjmmv# will confuse atf-run.  Therefore we must install, at the very least, the
111.1Sjmmv# Atffile into it.
121.1Sjmmv.if ${MKMODULAR} != no
131.1Sjmmv
141.1SjmmvTESTS_CXX=	t_modctl
151.2SjmmvLDADD=		-lprop
161.2Sjmmv
171.2SjmmvTESTS_SH=	t_modload
181.1Sjmmv
191.1SjmmvSUBDIR=		k_helper
201.1Sjmmv
211.1Sjmmv.endif
221.1Sjmmv
231.1Sjmmv.include <bsd.subdir.mk>
241.1Sjmmv.include <bsd.test.mk>
25