freebsd-dev/lib/libclang_rt/Makefile
Dimitry Andric 4789686d67 Rearrange libclang_rt Makefile again, and attempt to simplify it.
It turns out that parts of the common sanitizer code still do not
compile for arm and aarch64, at least not on FreeBSD, so for now those
are all limited to amd64, and sometimes i386.
2019-09-13 21:03:43 +00:00

36 lines
647 B
Makefile

# $FreeBSD$
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
SUBDIR+= include
SUBDIR+= asan
SUBDIR+= asan-preinit
SUBDIR+= asan_cxx
SUBDIR+= asan_dynamic
SUBDIR+= cfi
SUBDIR+= cfi_diag
SUBDIR+= safestack
SUBDIR+= stats
SUBDIR+= stats_client
SUBDIR+= ubsan_minimal
SUBDIR+= ubsan_standalone
SUBDIR+= ubsan_standalone_cxx
.endif # amd64 || i386
.if ${MACHINE_CPUARCH} == "amd64"
SUBDIR+= dd
SUBDIR+= fuzzer
SUBDIR+= fuzzer_no_main
SUBDIR+= msan
SUBDIR+= msan_cxx
SUBDIR+= tsan
SUBDIR+= tsan_cxx
SUBDIR+= xray
SUBDIR+= xray-basic
SUBDIR+= xray-fdr
SUBDIR+= xray-profiling
.endif # amd64
SUBDIR+= profile
.include <bsd.subdir.mk>