2007-04-06 01:09:06 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2007-04-06 01:09:06 +00:00
|
|
|
|
2010-07-31 17:13:14 +00:00
|
|
|
SUBDIR= ${_dtrace} \
|
2010-08-26 11:46:38 +00:00
|
|
|
${_dtruss} \
|
2010-07-31 17:13:14 +00:00
|
|
|
${_lockstat} \
|
2014-09-23 18:22:40 +00:00
|
|
|
${_plockstat} \
|
2014-04-21 21:39:25 +00:00
|
|
|
${_tests} \
|
2012-06-11 11:35:22 +00:00
|
|
|
${_zdb} \
|
|
|
|
${_zhack}
|
2007-04-06 01:09:06 +00:00
|
|
|
|
2014-04-21 21:39:25 +00:00
|
|
|
.if ${MK_TESTS} != "no"
|
|
|
|
_tests= tests
|
|
|
|
.endif
|
|
|
|
|
2007-04-16 21:20:26 +00:00
|
|
|
.if ${MK_ZFS} != "no"
|
2008-03-29 17:44:40 +00:00
|
|
|
.if ${MK_LIBTHR} != "no"
|
2007-04-06 01:09:06 +00:00
|
|
|
_zdb= zdb
|
2012-06-11 11:35:22 +00:00
|
|
|
_zhack= zhack
|
2007-04-06 01:09:06 +00:00
|
|
|
.endif
|
2007-10-01 18:23:24 +00:00
|
|
|
.endif
|
2007-04-06 01:09:06 +00:00
|
|
|
|
2010-08-21 14:02:04 +00:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
2010-07-31 17:13:14 +00:00
|
|
|
_dtrace= dtrace
|
2010-08-26 11:46:38 +00:00
|
|
|
_dtruss= dtruss
|
2010-07-31 17:13:14 +00:00
|
|
|
_lockstat= lockstat
|
2014-09-23 18:22:40 +00:00
|
|
|
_plockstat= plockstat
|
|
|
|
.endif
|
2010-07-31 17:13:14 +00:00
|
|
|
|
2015-07-01 15:51:11 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
|
2015-02-10 19:41:30 +00:00
|
|
|
_dtrace= dtrace
|
|
|
|
_dtruss= dtruss
|
|
|
|
_lockstat= lockstat
|
|
|
|
.endif
|
|
|
|
|
2012-03-24 05:29:07 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "mips"
|
|
|
|
_dtrace= dtrace
|
|
|
|
.endif
|
|
|
|
|
2012-11-07 23:45:09 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "powerpc"
|
|
|
|
_dtrace= dtrace
|
|
|
|
_dtruss= dtruss
|
|
|
|
_lockstat= lockstat
|
|
|
|
.endif
|
|
|
|
|
2015-05-20 12:26:09 +00:00
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
|
2007-04-06 01:09:06 +00:00
|
|
|
.include <bsd.subdir.mk>
|