1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5SUBDIR+= clang 6SUBDIR+= clang-tblgen 7SUBDIR+= llvm-tblgen 8 9.if ${MK_LLDB} != "no" 10SUBDIR+= lldb-tblgen 11.endif 12 13.if !defined(TOOLS_PREFIX) 14SUBDIR+= llvm-ar 15SUBDIR+= llvm-nm 16SUBDIR+= llvm-objdump 17SUBDIR+= llvm-symbolizer 18 19.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLVM_CXXFILT} != "no" 20SUBDIR+= llvm-cxxfilt 21.endif 22 23.if ${MK_CLANG_EXTRAS} != "no" 24SUBDIR+= bugpoint 25SUBDIR+= llc 26SUBDIR+= lli 27SUBDIR+= llvm-as 28SUBDIR+= llvm-bcanalyzer 29SUBDIR+= llvm-cxxdump 30SUBDIR+= llvm-diff 31SUBDIR+= llvm-dis 32SUBDIR+= llvm-dwarfdump 33SUBDIR+= llvm-dwp 34SUBDIR+= llvm-extract 35SUBDIR+= llvm-link 36SUBDIR+= llvm-lto 37SUBDIR+= llvm-lto2 38SUBDIR+= llvm-mc 39SUBDIR+= llvm-mca 40SUBDIR+= llvm-modextract 41SUBDIR+= llvm-objcopy 42SUBDIR+= llvm-pdbutil 43SUBDIR+= llvm-rtdyld 44SUBDIR+= llvm-size 45SUBDIR+= llvm-strings 46SUBDIR+= llvm-xray 47SUBDIR+= opt 48.endif 49 50.if ${MK_CLANG_EXTRAS} != "no" || ${MK_CLANG_FORMAT} != "no" 51SUBDIR+= clang-format 52.endif 53 54.if ${MK_LLD} != "no" 55SUBDIR+= lld 56.endif 57.if ${MK_LLDB} != "no" 58SUBDIR+= lldb 59.endif 60.if ${MK_LLVM_COV} != "no" 61SUBDIR+= llvm-cov 62SUBDIR+= llvm-profdata 63.endif 64.endif # TOOLS_PREFIX 65 66SUBDIR_PARALLEL= 67 68.include <bsd.subdir.mk> 69