1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5SUBDIR= ${_dtrace} \ 6 ${_dtruss} \ 7 ${_lockstat} \ 8 ${_plockstat} \ 9 ${_tests} \ 10 ${_zdb} \ 11 ${_zhack} 12 13.if ${MK_TESTS} != "no" 14_tests= tests 15.endif 16 17.if ${MK_ZFS} != "no" 18.if ${MK_LIBTHR} != "no" 19_zdb= zdb 20_zhack= zhack 21.endif 22.endif 23 24.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" 25_dtrace= dtrace 26_dtruss= dtruss 27_lockstat= lockstat 28_plockstat= plockstat 29.endif 30 31.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" 32_dtrace= dtrace 33_dtruss= dtruss 34_lockstat= lockstat 35.endif 36 37.if ${MACHINE_CPUARCH} == "mips" 38_dtrace= dtrace 39.endif 40 41.if ${MACHINE_CPUARCH} == "powerpc" 42_dtrace= dtrace 43_dtruss= dtruss 44_lockstat= lockstat 45.endif 46 47SUBDIR_PARALLEL= 48 49.include <bsd.subdir.mk> 50