Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/clang/Makefile
| .include <src.opts.mk> | .include <src.opts.mk> | ||||
| .if ${MK_CLANG} != "no" | .if ${MK_CLANG} != "no" | ||||
| SUBDIR+= clang | SUBDIR+= clang | ||||
| .endif | .endif | ||||
| .if !defined(TOOLS_PREFIX) | .if !defined(TOOLS_PREFIX) | ||||
| .if ${MK_CLANG} != "no" | .if ${MK_CLANG} != "no" | ||||
| SUBDIR+= clang-scan-deps | SUBDIR+= clang-scan-deps | ||||
| .endif | .endif | ||||
| # LLVM binutils are needed to support features such as LTO, so we build them | # LLVM binutils are needed to support features such as LTO, so we build them | ||||
| # by default if clang is enabled. If MK_LLVM_BINUTILS is set, we also use them | # by default if clang is enabled. If MK_LLVM_BINUTILS is set, we also use them | ||||
| # as the default binutils (ar,nm,addr2line, etc.). | # as the default binutils (ar,nm,addr2line, etc.). | ||||
| .if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" | .if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" | ||||
| SUBDIR+= llvm-ar | SUBDIR+= llvm-ar | ||||
| SUBDIR+= llvm-cxxfilt | |||||
| SUBDIR+= llvm-nm | SUBDIR+= llvm-nm | ||||
| SUBDIR+= llvm-objcopy | SUBDIR+= llvm-objcopy | ||||
| SUBDIR+= llvm-objdump | SUBDIR+= llvm-objdump | ||||
| SUBDIR+= llvm-readobj | SUBDIR+= llvm-readobj | ||||
| SUBDIR+= llvm-size | SUBDIR+= llvm-size | ||||
| SUBDIR+= llvm-strings | SUBDIR+= llvm-strings | ||||
| SUBDIR+= llvm-symbolizer | SUBDIR+= llvm-symbolizer | ||||
| .endif | |||||
| .if ${MK_LLVM_BINUTILS} != "no" || ${MK_LLVM_CXXFILT} != "no" | |||||
| SUBDIR+= llvm-cxxfilt | |||||
| .endif | .endif | ||||
| .if ${MK_CLANG_EXTRAS} != "no" | .if ${MK_CLANG_EXTRAS} != "no" | ||||
| SUBDIR+= bugpoint | SUBDIR+= bugpoint | ||||
| SUBDIR+= llc | SUBDIR+= llc | ||||
| SUBDIR+= lli | SUBDIR+= lli | ||||
| SUBDIR+= llvm-as | SUBDIR+= llvm-as | ||||
| SUBDIR+= llvm-bcanalyzer | SUBDIR+= llvm-bcanalyzer | ||||
| Show All 39 Lines | |||||