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