2012-11-09 05:44:34 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
# This file is not autogenerated - take care!
|
|
|
|
|
2015-06-16 23:38:44 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2012-11-09 05:44:34 +00:00
|
|
|
DIRDEPS = \
|
2016-09-02 19:28:24 +00:00
|
|
|
lib/clang/headers \
|
2012-11-09 05:44:34 +00:00
|
|
|
share/doc/llvm/clang \
|
|
|
|
usr.bin/clang/clang \
|
|
|
|
usr.bin/clang/clang-tblgen \
|
2017-05-16 03:12:51 +00:00
|
|
|
usr.bin/clang/llvm-objdump \
|
2016-03-08 21:26:44 +00:00
|
|
|
usr.bin/clang/llvm-tblgen \
|
2012-11-09 05:44:34 +00:00
|
|
|
|
2017-10-31 00:03:46 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
|
|
|
|
DIRDEPS+= \
|
|
|
|
lib/libclang_rt/include \
|
|
|
|
lib/libclang_rt/asan \
|
|
|
|
lib/libclang_rt/asan-preinit \
|
|
|
|
lib/libclang_rt/asan_dynamic \
|
|
|
|
lib/libclang_rt/asan_cxx \
|
|
|
|
lib/libclang_rt/safestack \
|
|
|
|
lib/libclang_rt/stats \
|
|
|
|
lib/libclang_rt/stats_client \
|
|
|
|
lib/libclang_rt/ubsan_standalone \
|
|
|
|
lib/libclang_rt/ubsan_standalone_cxx \
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \
|
2018-07-17 23:23:54 +00:00
|
|
|
${MACHINE_CPUARCH} == "arm"
|
2017-10-31 00:03:46 +00:00
|
|
|
DIRDEPS+= \
|
|
|
|
lib/libclang_rt/profile \
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
2015-06-16 23:38:44 +00:00
|
|
|
.if ${MK_LLDB} == "yes"
|
|
|
|
DIRDEPS+= \
|
|
|
|
usr.bin/clang/lldb
|
|
|
|
.endif
|
2012-11-09 05:44:34 +00:00
|
|
|
|
2016-02-16 23:11:09 +00:00
|
|
|
.if ${MK_CLANG_EXTRAS} == "yes"
|
|
|
|
DIRDEPS+= \
|
|
|
|
usr.bin/clang/bugpoint \
|
|
|
|
usr.bin/clang/llc \
|
|
|
|
usr.bin/clang/lli \
|
|
|
|
usr.bin/clang/llvm-ar \
|
|
|
|
usr.bin/clang/llvm-as \
|
|
|
|
usr.bin/clang/llvm-bcanalyzer \
|
|
|
|
usr.bin/clang/llvm-cov \
|
|
|
|
usr.bin/clang/llvm-cxxdump \
|
2017-05-09 01:48:14 +00:00
|
|
|
usr.bin/clang/llvm-cxxfilt \
|
2016-02-16 23:11:09 +00:00
|
|
|
usr.bin/clang/llvm-diff \
|
|
|
|
usr.bin/clang/llvm-dis \
|
|
|
|
usr.bin/clang/llvm-dwarfdump \
|
|
|
|
usr.bin/clang/llvm-extract \
|
|
|
|
usr.bin/clang/llvm-link \
|
|
|
|
usr.bin/clang/llvm-lto \
|
2017-05-09 01:48:14 +00:00
|
|
|
usr.bin/clang/llvm-lto2 \
|
2016-02-16 23:11:09 +00:00
|
|
|
usr.bin/clang/llvm-mc \
|
2017-05-09 01:48:14 +00:00
|
|
|
usr.bin/clang/llvm-modextract \
|
2016-02-16 23:11:09 +00:00
|
|
|
usr.bin/clang/llvm-nm \
|
|
|
|
usr.bin/clang/llvm-pdbdump \
|
2017-10-31 00:04:07 +00:00
|
|
|
usr.bin/clang/llvm-pdbutil \
|
2016-02-16 23:11:09 +00:00
|
|
|
usr.bin/clang/llvm-profdata \
|
|
|
|
usr.bin/clang/llvm-rtdyld \
|
|
|
|
usr.bin/clang/llvm-symbolizer \
|
2017-05-09 01:48:14 +00:00
|
|
|
usr.bin/clang/llvm-xray \
|
2016-02-16 23:11:09 +00:00
|
|
|
usr.bin/clang/opt \
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
2020-06-24 17:03:42 +00:00
|
|
|
.if ${MK_CLANG_EXTRAS} == "yes" || ${MK_CLANG_FORMAT} == "yes"
|
|
|
|
DIRDEPS+= usr.bin/clang/clang-format
|
|
|
|
.endif
|
|
|
|
|
2016-09-01 21:03:27 +00:00
|
|
|
.if ${MK_LLD} == "yes"
|
|
|
|
DIRDEPS+= usr.bin/clang/lld
|
|
|
|
.endif
|
|
|
|
|
2012-11-09 05:44:34 +00:00
|
|
|
.include <dirdeps.mk>
|