[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / tests

File: [cvs.NetBSD.org] / src / tests / Makefile (download)

Revision 1.40, Sat Feb 16 12:44:26 2013 UTC (11 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.39: +2 -2 lines

Move tests for examples from tests/examples to tests/share/examples.

This is to match the layout of the installed and source files more closely.
While doing this, honor the MKSHARE variable, as the files these tests
validate are only installed when MKSHARE=yes.

# $NetBSD: Makefile,v 1.40 2013/02/16 12:44:26 jmmv Exp $

.include <bsd.own.mk>

.if ${MKATF} != "no"

TESTSDIR=	${TESTSBASE}
ATFFILE=	yes

SUBDIR=		bin dev games include kernel lib libexec net
SUBDIR+=	sbin sys usr.bin usr.sbin

. if (${MKRUMP} != "no")
SUBDIR+= fs rump

. if ${MKKMOD} != "no"
SUBDIR+= modules
. endif
. endif

. if ${MKCRYPTO} != "no"
SUBDIR+=	crypto
. endif

. if ${MKIPFILTER} != "no"
SUBDIR+=	ipf
. endif

. if ${MKSHARE} != "no"
SUBDIR+=	share
. endif

.include <bsd.test.mk>

.else

.include <bsd.subdir.mk>
.endif