summaryrefslogtreecommitdiff
path: root/tests/modules/Makefile
blob: 52309bcc7b30de447af112d35468009b8c9eafdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: Makefile,v 1.3 2008/05/01 15:38:17 jmmv Exp $

.include <bsd.own.mk>

TESTSDIR=	${TESTSBASE}/modules

# Ideally this test could be in the parent Makefile, which could not descend
# into this directory at all.  Unfortunately, the etc/mtree/NetBSD.dist file
# creates the 'modules' subdirectory unconditionally, which if left empty
# will confuse atf-run.  Therefore we must install, at the very least, the
# Atffile into it.
.if ${MKMODULAR} != no

TESTS_C=	t_modctl
LDADD=		-lprop

TESTS_SH=	t_modload

SUBDIR=		k_helper

.endif

.include <bsd.subdir.mk>
.include <bsd.test.mk>