xref: /freebsd/lib/libclang_rt/Makefile (revision 2008043f386721d58158e37e0d7e50df8095942d)
1
2.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
3SUBDIR+=	include
4SUBDIR+=	asan
5SUBDIR+=	asan-preinit
6SUBDIR+=	asan_cxx
7SUBDIR+=	asan_dynamic
8SUBDIR+=	asan_static
9SUBDIR+=	cfi
10SUBDIR+=	cfi_diag
11SUBDIR+=	safestack
12SUBDIR+=	stats
13SUBDIR+=	stats_client
14SUBDIR+=	ubsan_minimal
15SUBDIR+=	ubsan_standalone
16SUBDIR+=	ubsan_standalone_cxx
17.endif # amd64 || i386
18
19.if ${MACHINE_CPUARCH} == "amd64"
20SUBDIR+=	dd
21SUBDIR+=	fuzzer
22SUBDIR+=	fuzzer_interceptors
23SUBDIR+=	fuzzer_no_main
24SUBDIR+=	msan
25SUBDIR+=	msan_cxx
26SUBDIR+=	tsan
27SUBDIR+=	tsan_cxx
28SUBDIR+=	xray
29SUBDIR+=	xray-basic
30SUBDIR+=	xray-fdr
31SUBDIR+=	xray-profiling
32.endif # amd64
33
34.if ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "powerpc64le"
35SUBDIR+=	include
36SUBDIR+=	asan
37SUBDIR+=	asan-preinit
38SUBDIR+=	asan_cxx
39SUBDIR+=	asan_dynamic
40SUBDIR+=	asan_static
41SUBDIR+=	msan
42SUBDIR+=	msan_cxx
43SUBDIR+=	stats
44SUBDIR+=	stats_client
45SUBDIR+=	tsan
46SUBDIR+=	tsan_cxx
47SUBDIR+=	ubsan_minimal
48SUBDIR+=	ubsan_standalone
49SUBDIR+=	ubsan_standalone_cxx
50.endif # powerpc64 || powerpc64le
51
52.if ${MACHINE_ARCH} == "powerpc64le"
53SUBDIR+=	xray
54SUBDIR+=	xray-basic
55SUBDIR+=	xray-fdr
56SUBDIR+=	xray-profiling
57.endif # powerpc64le
58
59.if ${MACHINE_CPUARCH} == "riscv"
60SUBDIR+=	include
61SUBDIR+=	asan
62SUBDIR+=	asan-preinit
63SUBDIR+=	asan_cxx
64SUBDIR+=	asan_dynamic
65SUBDIR+=	stats
66SUBDIR+=	stats_client
67SUBDIR+=	ubsan_minimal
68SUBDIR+=	ubsan_standalone
69SUBDIR+=	ubsan_standalone_cxx
70.endif # riscv
71
72SUBDIR+=	profile
73
74SUBDIR_PARALLEL=
75
76.include <bsd.subdir.mk>
77