1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5SUBDIR= ${_dtrace} \ 6 ${_dtruss} \ 7 ${_lockstat} \ 8 ${_plockstat} \ 9 ${_tests} \ 10 ${_zdb} \ 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.endif 23 24.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" 25_dtrace= dtrace 26_dtruss= dtruss 27_lockstat= lockstat 28.if defined(WITH_PLOCKSTAT) 29_plockstat= plockstat 30.endif 31.endif 32 33.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" 34_dtrace= dtrace 35_dtruss= dtruss 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_dtruss= dtruss 46_lockstat= lockstat 47.endif 48 49SUBDIR_PARALLEL= 50 51.include <bsd.subdir.mk> 52