1c6063d0dSWarner Losh.include <src.opts.mk> 2f0a75d27SPawel Jakub Dawidek 33bf66365SBrooks DavisSUBDIR.${MK_DTRACE}+= \ 43bf66365SBrooks Davis ${_dtrace} \ 55bf5ca77SDevin Teske ${_dwatch} \ 6fd14f3b4SRui Paulo ${_lockstat} \ 73bf66365SBrooks Davis ${_plockstat} 8f0a75d27SPawel Jakub Dawidek 94b330699SEnji CooperSUBDIR.${MK_TESTS}+= tests 1038f0b757SJulio Merino 113bf66365SBrooks DavisSUBDIR.${MK_ZFS}+= \ 123bf66365SBrooks Davis zdb \ 13*ac4c695aSEd Maste zhack \ 143bf66365SBrooks Davis zfsd 15f0a75d27SPawel Jakub Dawidek 16013abb00SRui Paulo.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" 17fd14f3b4SRui Paulo_dtrace= dtrace 185bf5ca77SDevin Teske_dwatch= dwatch 19fd14f3b4SRui Paulo_lockstat= lockstat 20881417d7SRui Paulo_plockstat= plockstat 21881417d7SRui Paulo.endif 22fd14f3b4SRui Paulo 23fed1ca4bSRuslan Bukin.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \ 24fed1ca4bSRuslan Bukin ${MACHINE_CPUARCH} == "riscv" 25fcb56067SGeorge V. Neville-Neil_dtrace= dtrace 265bf5ca77SDevin Teske_dwatch= dwatch 27fcb56067SGeorge V. Neville-Neil_lockstat= lockstat 28fcb56067SGeorge V. Neville-Neil.endif 29fcb56067SGeorge V. Neville-Neil 30c7570492SJustin Hibbits.if ${MACHINE_CPUARCH} == "powerpc" 31c7570492SJustin Hibbits_dtrace= dtrace 325bf5ca77SDevin Teske_dwatch= dwatch 33c7570492SJustin Hibbits_lockstat= lockstat 34c7570492SJustin Hibbits.endif 35c7570492SJustin Hibbits 366b32ba62SEnji CooperSUBDIR_PARALLEL= 376b32ba62SEnji Cooper 38f0a75d27SPawel Jakub Dawidek.include <bsd.subdir.mk> 39