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