1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5SUBDIR.${MK_DTRACE}+= \ 6 ${_dtrace} \ 7 ${_dwatch} \ 8 ${_lockstat} \ 9 ${_plockstat} 10 11SUBDIR.${MK_TESTS}+= tests 12 13SUBDIR.${MK_ZFS}+= \ 14 zdb \ 15 zhack \ 16 zfsd 17 18.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" 19_dtrace= dtrace 20_dwatch= dwatch 21_lockstat= lockstat 22_plockstat= plockstat 23.endif 24 25.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \ 26 ${MACHINE_CPUARCH} == "riscv" 27_dtrace= dtrace 28_dwatch= dwatch 29_lockstat= lockstat 30.endif 31 32.if ${MACHINE_CPUARCH} == "powerpc" 33_dtrace= dtrace 34_dwatch= dwatch 35_lockstat= lockstat 36.endif 37 38SUBDIR_PARALLEL= 39 40.include <bsd.subdir.mk> 41