1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5SUBDIR= ${_dtrace} \ 6 ${_lockstat} \ 7 ${_plockstat} \ 8 ${_tests} \ 9 ${_zdb} \ 10 ${_zfsd} \ 11 ${_zhack} 12 13.if ${MK_TESTS} != "no" 14_tests= tests 15.endif 16 17.if ${MK_ZFS} != "no" 18.if ${MK_LIBTHR} != "no" 19_zdb= zdb 20_zhack= zhack 21.endif 22. if ${MK_CXX} != "no" 23_zfsd= zfsd 24. endif 25.endif 26 27.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" 28_dtrace= dtrace 29_lockstat= lockstat 30_plockstat= plockstat 31.endif 32 33.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \ 34 ${MACHINE_CPUARCH} == "riscv" 35_dtrace= dtrace 36_lockstat= lockstat 37.endif 38 39.if ${MACHINE_CPUARCH} == "mips" 40_dtrace= dtrace 41.endif 42 43.if ${MACHINE_CPUARCH} == "powerpc" 44_dtrace= dtrace 45_lockstat= lockstat 46.endif 47 48SUBDIR_PARALLEL= 49 50.include <bsd.subdir.mk> 51