75bc38b916
Use this to control inclusion of the libllvm functionality required by lld. Enable by default on arm64 and amd64, the two platforms where lld is most usable for testing. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7713
47 lines
769 B
Makefile
47 lines
769 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
SUBDIR+= clang
|
|
SUBDIR+= clang-tblgen
|
|
SUBDIR+= llvm-tblgen
|
|
|
|
.if !defined(TOOLS_PREFIX)
|
|
.if ${MK_CLANG_EXTRAS} != "no"
|
|
SUBDIR+= bugpoint
|
|
SUBDIR+= clang-format
|
|
SUBDIR+= llc
|
|
SUBDIR+= lli
|
|
SUBDIR+= llvm-ar
|
|
SUBDIR+= llvm-as
|
|
SUBDIR+= llvm-bcanalyzer
|
|
SUBDIR+= llvm-cov
|
|
SUBDIR+= llvm-cxxdump
|
|
SUBDIR+= llvm-diff
|
|
SUBDIR+= llvm-dis
|
|
SUBDIR+= llvm-dwarfdump
|
|
SUBDIR+= llvm-extract
|
|
SUBDIR+= llvm-link
|
|
SUBDIR+= llvm-lto
|
|
SUBDIR+= llvm-mc
|
|
SUBDIR+= llvm-nm
|
|
SUBDIR+= llvm-objdump
|
|
SUBDIR+= llvm-pdbdump
|
|
SUBDIR+= llvm-profdata
|
|
SUBDIR+= llvm-rtdyld
|
|
SUBDIR+= llvm-symbolizer
|
|
SUBDIR+= opt
|
|
.endif
|
|
|
|
.if ${MK_LLD} != "no"
|
|
SUBDIR+= lld
|
|
.endif
|
|
.if ${MK_LLDB} != "no"
|
|
SUBDIR+= lldb
|
|
.endif # MK_LLDB
|
|
.endif # TOOLS_PREFIX
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
.include <bsd.subdir.mk>
|