NetBSD/tests/Makefile

44 lines
746 B
Makefile

# $NetBSD: Makefile,v 1.47 2023/08/19 22:56:43 christos Exp $
.include <bsd.own.mk>
.if ${MKATF} != "no"
TESTSDIR= ${TESTSBASE}
TESTS_SUBDIRS= bin compat dev games include kernel lib libexec net
TESTS_SUBDIRS+= sbin sys usr.bin usr.sbin
. if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
TESTS_SUBDIRS+= fs rump
. if ${MKKMOD} != "no"
TESTS_SUBDIRS+= modules
. endif
. endif
TESTS_SUBDIRS+= crypto
. if ${MKIPFILTER} != "no"
TESTS_SUBDIRS+= ipf
. endif
. if ${MKSHARE} != "no"
TESTS_SUBDIRS+= share
. endif
. if ${MKATF} != "no"
ATFFILE_EXTRA_SUBDIRS+= atf
. endif
. if ${MKKYUA} != "no"
ATFFILE_EXTRA_SUBDIRS+= kyua-atf-compat kyua-cli kyua-testers
. endif
.include <bsd.test.mk>
.else
.include <bsd.subdir.mk>
.endif