xref: /freebsd/targets/pseudo/clang/Makefile.depend (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1# This file is not autogenerated - take care!
2
3.include <src.opts.mk>
4
5DIRDEPS = \
6	lib/clang/headers \
7	share/doc/llvm/clang \
8	usr.bin/clang/clang \
9	usr.bin/clang/clang-tblgen \
10	usr.bin/clang/llvm-min-tblgen \
11	usr.bin/clang/llvm-objdump \
12	usr.bin/clang/llvm-tblgen \
13
14.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
15DIRDEPS+= \
16	lib/libclang_rt/include \
17	lib/libclang_rt/asan \
18	lib/libclang_rt/asan-preinit \
19	lib/libclang_rt/asan_dynamic \
20	lib/libclang_rt/asan_cxx \
21	lib/libclang_rt/safestack \
22	lib/libclang_rt/stats \
23	lib/libclang_rt/stats_client \
24	lib/libclang_rt/ubsan_standalone \
25	lib/libclang_rt/ubsan_standalone_cxx \
26
27.endif
28
29.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \
30    ${MACHINE_CPUARCH} == "arm"
31DIRDEPS+= \
32	lib/libclang_rt/profile \
33
34.endif
35
36.if ${MK_LLDB} == "yes"
37DIRDEPS+= \
38	usr.bin/clang/lldb
39.endif
40
41.if ${MK_CLANG_EXTRAS} == "yes"
42DIRDEPS+= \
43	usr.bin/clang/bugpoint \
44	usr.bin/clang/llc \
45	usr.bin/clang/lli \
46	usr.bin/clang/llvm-ar \
47	usr.bin/clang/llvm-as \
48	usr.bin/clang/llvm-bcanalyzer \
49	usr.bin/clang/llvm-cov \
50	usr.bin/clang/llvm-cxxdump \
51	usr.bin/clang/llvm-cxxfilt \
52	usr.bin/clang/llvm-diff \
53	usr.bin/clang/llvm-dis \
54	usr.bin/clang/llvm-dwarfdump \
55	usr.bin/clang/llvm-extract \
56	usr.bin/clang/llvm-link \
57	usr.bin/clang/llvm-lto \
58	usr.bin/clang/llvm-lto2 \
59	usr.bin/clang/llvm-mc \
60	usr.bin/clang/llvm-modextract \
61	usr.bin/clang/llvm-nm \
62	usr.bin/clang/llvm-pdbdump \
63	usr.bin/clang/llvm-pdbutil \
64	usr.bin/clang/llvm-profdata \
65	usr.bin/clang/llvm-rtdyld \
66	usr.bin/clang/llvm-symbolizer \
67	usr.bin/clang/llvm-xray \
68	usr.bin/clang/opt \
69
70.endif
71
72.if ${MK_CLANG_EXTRAS} == "yes" || ${MK_CLANG_FORMAT} == "yes"
73DIRDEPS+=	usr.bin/clang/clang-format
74.endif
75
76.if ${MK_LLD} == "yes"
77DIRDEPS+=	usr.bin/clang/lld
78.endif
79
80.include <dirdeps.mk>
81