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