mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 10:01:02 +01:00
0a9ab9f549
clang-format is enabled conditional on either WITH_CLANG_EXTRAS or WITH_CLANG_FORMAT. Some sources in libclang are build conditional on either rule, and obviously the clang-format binary itself depends on the rule. clang-format could still use a manual page. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D25427
63 lines
1.0 KiB
Makefile
63 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
SUBDIR+= clang
|
|
SUBDIR+= clang-tblgen
|
|
SUBDIR+= llvm-tblgen
|
|
|
|
.if ${MK_LLDB} != "no"
|
|
SUBDIR+= lldb-tblgen
|
|
.endif
|
|
|
|
.if !defined(TOOLS_PREFIX)
|
|
SUBDIR+= llvm-ar
|
|
SUBDIR+= llvm-nm
|
|
SUBDIR+= llvm-objdump
|
|
SUBDIR+= llvm-symbolizer
|
|
|
|
.if ${MK_CLANG_EXTRAS} != "no"
|
|
SUBDIR+= bugpoint
|
|
SUBDIR+= llc
|
|
SUBDIR+= lli
|
|
SUBDIR+= llvm-as
|
|
SUBDIR+= llvm-bcanalyzer
|
|
SUBDIR+= llvm-cxxdump
|
|
SUBDIR+= llvm-cxxfilt
|
|
SUBDIR+= llvm-diff
|
|
SUBDIR+= llvm-dis
|
|
SUBDIR+= llvm-dwarfdump
|
|
SUBDIR+= llvm-extract
|
|
SUBDIR+= llvm-link
|
|
SUBDIR+= llvm-lto
|
|
SUBDIR+= llvm-lto2
|
|
SUBDIR+= llvm-mc
|
|
SUBDIR+= llvm-mca
|
|
SUBDIR+= llvm-modextract
|
|
SUBDIR+= llvm-objcopy
|
|
SUBDIR+= llvm-pdbutil
|
|
SUBDIR+= llvm-rtdyld
|
|
SUBDIR+= llvm-xray
|
|
SUBDIR+= opt
|
|
.endif
|
|
|
|
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_CLANG_FORMAT} != "no"
|
|
SUBDIR+= clang-format
|
|
.endif
|
|
|
|
.if ${MK_LLD} != "no"
|
|
SUBDIR+= lld
|
|
.endif
|
|
.if ${MK_LLDB} != "no"
|
|
SUBDIR+= lldb
|
|
.endif
|
|
.if ${MK_LLVM_COV} != "no"
|
|
SUBDIR+= llvm-cov
|
|
SUBDIR+= llvm-profdata
|
|
.endif
|
|
.endif # TOOLS_PREFIX
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
.include <bsd.subdir.mk>
|