xref: /netbsd-src/tests/modules/Makefile (revision 7a6a7ae08ac6c612f0fbb0d4425825c6be2a9050)
1# $NetBSD: Makefile,v 1.8 2010/08/27 09:56:40 pooka Exp $
2
3.include <bsd.own.mk>
4
5TESTSDIR=	${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.
12TESTS_C=	t_modctl
13TESTS_C+=	t_builtin
14LDADD=		-lprop
15LDADD+=		-lrumpfs_kernfs -lrumpvfs -lrump -lrumpuser -lpthread
16
17TESTS_SH=	t_modload
18
19SUBDIR=		k_helper
20SUBDIR+=	k_helper2
21
22.include <bsd.test.mk>
23