5 .if ${MK_CLANG} != "no"
9 .if !defined(TOOLS_PREFIX)
10 # LLVM binutils are needed to support features such as LTO, so we build them
11 # by default if clang is enabled. If MK_LLVM_BINUTILS is set, we also use them
12 # as the default binutils (ar,nm,addr2line, etc.).
13 .if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no"
21 SUBDIR+= llvm-symbolizer
24 .if ${MK_LLVM_BINUTILS} != "no" || ${MK_LLVM_CXXFILT} != "no"
28 .if ${MK_CLANG_EXTRAS} != "no"
33 SUBDIR+= llvm-bcanalyzer
37 SUBDIR+= llvm-dwarfdump
45 SUBDIR+= llvm-modextract
52 .if ${MK_CLANG_EXTRAS} != "no" || ${MK_CLANG_FORMAT} != "no"
59 .if ${MK_LLDB} != "no"
63 .if ${MK_LLVM_COV} != "no"
65 SUBDIR+= llvm-profdata
71 .include <bsd.subdir.mk>