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 16SUBDIR.${MK_ZFS}.${MK_CXX}+= \ 17 zfsd 18 19.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" 20_dtrace= dtrace 21_dwatch= dwatch 22_lockstat= lockstat 23_plockstat= plockstat 24.endif 25 26.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \ 27 ${MACHINE_CPUARCH} == "riscv" 28_dtrace= dtrace 29_dwatch= dwatch 30_lockstat= lockstat 31.endif 32 33.if ${MACHINE_CPUARCH} == "powerpc" 34_dtrace= dtrace 35_dwatch= dwatch 36_lockstat= lockstat 37.endif 38 39SUBDIR_PARALLEL= 40 41.include <bsd.subdir.mk> 42