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