2007-04-06 01:09:06 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
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} \
|
2012-06-11 11:35:22 +00:00
|
|
|
${_zdb} \
|
|
|
|
${_zhack}
|
2007-04-06 01:09:06 +00:00
|
|
|
|
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
|
|
|
|
.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
|
|
|
|
|
2007-04-06 01:09:06 +00:00
|
|
|
.include <bsd.subdir.mk>
|