2007-04-06 03:09:06 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2010-07-31 19:13:14 +02:00
|
|
|
SUBDIR= ${_dtrace} \
|
2010-08-26 13:46:38 +02:00
|
|
|
${_dtruss} \
|
2010-07-31 19:13:14 +02:00
|
|
|
${_lockstat} \
|
2012-06-11 13:35:22 +02:00
|
|
|
${_zdb} \
|
|
|
|
${_zhack}
|
2007-04-06 03:09:06 +02:00
|
|
|
|
2007-04-16 23:20:26 +02:00
|
|
|
.if ${MK_ZFS} != "no"
|
2008-03-29 18:44:40 +01:00
|
|
|
.if ${MK_LIBTHR} != "no"
|
2007-04-06 03:09:06 +02:00
|
|
|
_zdb= zdb
|
2012-06-11 13:35:22 +02:00
|
|
|
_zhack= zhack
|
2007-04-06 03:09:06 +02:00
|
|
|
.endif
|
2007-10-01 20:23:24 +02:00
|
|
|
.endif
|
2007-04-06 03:09:06 +02:00
|
|
|
|
2010-08-21 16:02:04 +02:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
2010-07-31 19:13:14 +02:00
|
|
|
_dtrace= dtrace
|
2010-08-26 13:46:38 +02:00
|
|
|
_dtruss= dtruss
|
2010-07-31 19:13:14 +02:00
|
|
|
_lockstat= lockstat
|
|
|
|
.endif
|
|
|
|
|
2012-03-24 06:29:07 +01:00
|
|
|
.if ${MACHINE_CPUARCH} == "mips"
|
|
|
|
_dtrace= dtrace
|
|
|
|
.endif
|
|
|
|
|
2012-11-08 00:45:09 +01:00
|
|
|
.if ${MACHINE_CPUARCH} == "powerpc"
|
|
|
|
_dtrace= dtrace
|
|
|
|
_dtruss= dtruss
|
|
|
|
_lockstat= lockstat
|
|
|
|
.endif
|
|
|
|
|
2007-04-06 03:09:06 +02:00
|
|
|
.include <bsd.subdir.mk>
|