191d03e2eSDimitry Andric# $FreeBSD$ 291d03e2eSDimitry Andric 3*f57be329SDimitry AndricSUBDIR_ALL+= include 4*f57be329SDimitry AndricSUBDIR_ALL+= profile 5*f57be329SDimitry AndricSUBDIR_ALL+= stats 6*f57be329SDimitry AndricSUBDIR_ALL+= stats_client 7*f57be329SDimitry AndricSUBDIR_ALL+= ubsan_minimal 8*f57be329SDimitry AndricSUBDIR_ALL+= ubsan_standalone 9*f57be329SDimitry AndricSUBDIR_ALL+= ubsan_standalone_cxx 108028b78dSDimitry Andric 11*f57be329SDimitry Andric.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || 12*f57be329SDimitry Andric ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386" 13*f57be329SDimitry AndricSUBDIR_ALL+= asan 14*f57be329SDimitry AndricSUBDIR_ALL+= asan-preinit 15*f57be329SDimitry AndricSUBDIR_ALL+= asan_cxx 16*f57be329SDimitry AndricSUBDIR_ALL+= asan_dynamic 17*f57be329SDimitry AndricSUBDIR_ALL+= cfi 18*f57be329SDimitry AndricSUBDIR_ALL+= cfi_diag 19*f57be329SDimitry Andric.endif # aarch64 || amd64 || arm || i386 20*f57be329SDimitry Andric 21*f57be329SDimitry Andric.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" 22*f57be329SDimitry AndricSUBDIR_ALL+= dd 23*f57be329SDimitry AndricSUBDIR_ALL+= fuzzer 24*f57be329SDimitry AndricSUBDIR_ALL+= fuzzer_no_main 25*f57be329SDimitry AndricSUBDIR_ALL+= msan 26*f57be329SDimitry AndricSUBDIR_ALL+= msan_cxx 27*f57be329SDimitry AndricSUBDIR_ALL+= tsan 28*f57be329SDimitry AndricSUBDIR_ALL+= tsan_cxx 29*f57be329SDimitry Andric.endif # aarch64 || amd64 30*f57be329SDimitry Andric 31*f57be329SDimitry Andric.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || 32*f57be329SDimitry Andric ${MACHINE_CPUARCH} == "i386" 33*f57be329SDimitry AndricSUBDIR_ALL+= safestack 34*f57be329SDimitry Andric.endif # aarch64 || amd64 || i386 35*f57be329SDimitry Andric 36*f57be329SDimitry Andric.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || 37*f57be329SDimitry Andric ${MACHINE_CPUARCH} == "arm" 38*f57be329SDimitry AndricSUBDIR_ALL+= xray 39*f57be329SDimitry AndricSUBDIR_ALL+= xray-basic 40*f57be329SDimitry AndricSUBDIR_ALL+= xray-fdr 41*f57be329SDimitry AndricSUBDIR_ALL+= xray-profiling 42*f57be329SDimitry Andric.endif # aarch64 || amd64 || arm 43*f57be329SDimitry Andric 44*f57be329SDimitry AndricSUBDIR+= ${SUBDIR_ALL:O} 4591d03e2eSDimitry Andric 4691d03e2eSDimitry Andric.include <bsd.subdir.mk> 47*f57be329SDimitry Andric# DO NOT DELETE 48