summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-08-02 00:37:33 +0000
committermarkj <markj@FreeBSD.org>2015-08-02 00:37:33 +0000
commit1ce9c620ee9f61a1157fba7e3cbaf3eca1709fb0 (patch)
tree59c8981c72fccda410c416090e6c97aa9b94c9e2 /cddl
parentf78f701a2d4993b2637f7dd1df051410664b375f (diff)
downloadFreeBSD-src-1ce9c620ee9f61a1157fba7e3cbaf3eca1709fb0.zip
FreeBSD-src-1ce9c620ee9f61a1157fba7e3cbaf3eca1709fb0.tar.gz
Add a src.conf option to build and install the DTrace test suite.
Reviewed by: gnn, ngie Differential Revision: https://reviews.freebsd.org/D3195
Diffstat (limited to 'cddl')
-rw-r--r--cddl/usr.sbin/dtrace/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/cddl/usr.sbin/dtrace/Makefile b/cddl/usr.sbin/dtrace/Makefile
index 8c5e3ab..551f6cf 100644
--- a/cddl/usr.sbin/dtrace/Makefile
+++ b/cddl/usr.sbin/dtrace/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <src.opts.mk>
+
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/dtrace
PROG= dtrace
@@ -22,4 +24,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
LIBADD= dtrace
+.if ${MK_DTRACE_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud