HardenedBSD/lib/libclang_rt/Makefile
Warner Losh e9ac41698b Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
2024-07-15 16:43:39 -06:00

98 lines
1.8 KiB
Makefile

SD_ASAN+= asan
SD_ASAN+= asan-preinit
SD_ASAN+= asan_cxx
SD_ASAN+= asan_dynamic
SD_ASAN+= asan_static
SD_CFI+= cfi
SD_CFI+= cfi_diag
SD_DD+= dd
SD_FUZZER+= fuzzer
SD_FUZZER+= fuzzer_interceptors
SD_FUZZER+= fuzzer_no_main
SD_INCLUDE+= include
SD_MSAN+= msan
SD_MSAN+= msan_cxx
SD_PROFILE+= profile
SD_SAFESTACK+= safestack
SD_STATS+= stats
SD_STATS+= stats_client
SD_TSAN+= tsan
SD_TSAN+= tsan_cxx
SD_UBSAN+= ubsan_minimal
SD_UBSAN+= ubsan_standalone
SD_UBSAN+= ubsan_standalone_cxx
SD_XRAY+= xray
SD_XRAY+= xray-basic
SD_XRAY+= xray-fdr
SD_XRAY+= xray-profiling
.if ${MACHINE_CPUARCH} == "aarch64"
SUBDIR+= ${SD_ASAN}
SUBDIR+= ${SD_CFI}
SUBDIR+= ${SD_FUZZER}
SUBDIR+= ${SD_MSAN}
SUBDIR+= ${SD_SAFESTACK}
SUBDIR+= ${SD_STATS}
SUBDIR+= ${SD_TSAN}
SUBDIR+= ${SD_UBSAN}
SUBDIR+= ${SD_XRAY}
.elif ${MACHINE_CPUARCH} == "amd64"
SUBDIR+= ${SD_ASAN}
SUBDIR+= ${SD_CFI}
SUBDIR+= ${SD_DD}
SUBDIR+= ${SD_FUZZER}
SUBDIR+= ${SD_MSAN}
SUBDIR+= ${SD_SAFESTACK}
SUBDIR+= ${SD_STATS}
SUBDIR+= ${SD_TSAN}
SUBDIR+= ${SD_UBSAN}
SUBDIR+= ${SD_XRAY}
.elif ${MACHINE_CPUARCH} == "arm"
# nothing for 32-bit arm yet
.elif ${MACHINE_CPUARCH} == "i386"
SUBDIR+= ${SD_ASAN}
SUBDIR+= ${SD_CFI}
SUBDIR+= ${SD_SAFESTACK}
SUBDIR+= ${SD_STATS}
SUBDIR+= ${SD_UBSAN}
.elif ${MACHINE_CPUARCH} == "powerpc"
. if ${MACHINE_ARCH} == "powerpc64"
SUBDIR+= ${SD_ASAN}
SUBDIR+= ${SD_MSAN}
SUBDIR+= ${SD_STATS}
SUBDIR+= ${SD_TSAN}
SUBDIR+= ${SD_UBSAN}
. elif ${MACHINE_ARCH} == "powerpc64le"
SUBDIR+= ${SD_ASAN}
SUBDIR+= ${SD_MSAN}
SUBDIR+= ${SD_STATS}
SUBDIR+= ${SD_TSAN}
SUBDIR+= ${SD_UBSAN}
SUBDIR+= ${SD_XRAY}
. else
# nothing for other powerpc yet
. endif
.elif ${MACHINE_CPUARCH} == "riscv"
SUBDIR+= ${SD_ASAN}
SUBDIR+= ${SD_STATS}
SUBDIR+= ${SD_UBSAN}
.endif
SUBDIR+= ${SD_INCLUDE}
SUBDIR+= ${SD_PROFILE}
SUBDIR_PARALLEL=
.include <bsd.subdir.mk>