]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libclang_rt/Makefile
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb, and openmp
[FreeBSD/FreeBSD.git] / lib / libclang_rt / Makefile
1 # $FreeBSD$
2
3 SUBDIR_ALL+=    include
4 SUBDIR_ALL+=    profile
5 SUBDIR_ALL+=    stats
6 SUBDIR_ALL+=    stats_client
7 SUBDIR_ALL+=    ubsan_minimal
8 SUBDIR_ALL+=    ubsan_standalone
9 SUBDIR_ALL+=    ubsan_standalone_cxx
10
11 .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
12     ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386"
13 SUBDIR_ALL+=    asan
14 SUBDIR_ALL+=    asan-preinit
15 SUBDIR_ALL+=    asan_cxx
16 SUBDIR_ALL+=    asan_dynamic
17 SUBDIR_ALL+=    cfi
18 SUBDIR_ALL+=    cfi_diag
19 .endif # aarch64 || amd64 || arm || i386
20
21 .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64"
22 SUBDIR_ALL+=    dd
23 SUBDIR_ALL+=    fuzzer
24 SUBDIR_ALL+=    fuzzer_no_main
25 SUBDIR_ALL+=    msan
26 SUBDIR_ALL+=    msan_cxx
27 SUBDIR_ALL+=    tsan
28 SUBDIR_ALL+=    tsan_cxx
29 .endif # aarch64 || amd64
30
31 .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
32     ${MACHINE_CPUARCH} == "i386"
33 SUBDIR_ALL+=    safestack
34 .endif # aarch64 || amd64 || i386
35
36 .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
37     ${MACHINE_CPUARCH} == "arm"
38 SUBDIR_ALL+=    xray
39 SUBDIR_ALL+=    xray-basic
40 SUBDIR_ALL+=    xray-fdr
41 SUBDIR_ALL+=    xray-profiling
42 .endif # aarch64 || amd64 || arm
43
44 SUBDIR+=        ${SUBDIR_ALL:O}
45
46 .include <bsd.subdir.mk>
47 # DO NOT DELETE