e6fca569b6
and MK_LLDB=no, so set those explicitly (now that we can do that). Simplify tests for these variables as well, since we know they will always be defined regardless of the phase of the build.
150 lines
3.2 KiB
Makefile
150 lines
3.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.if !make(install)
|
|
.if ${MK_CLANG_FULL} != "no"
|
|
_libclangstaticanalyzer= \
|
|
libclangstaticanalyzercheckers \
|
|
libclangstaticanalyzercore \
|
|
libclangstaticanalyzerfrontend
|
|
_libclangarcmigrate= \
|
|
libclangarcmigrate
|
|
.endif # MK_CLANG_FULL
|
|
.if ${MK_CLANG_FULL} != "no" || ${MK_LLDB} != "no"
|
|
_libclangrewriter= \
|
|
libclangrewritecore \
|
|
libclangrewritefrontend
|
|
.endif # (MK_CLANG_FULL || MK_LLDB)
|
|
|
|
SUBDIR= libclanganalysis \
|
|
${_libclangarcmigrate} \
|
|
libclangast \
|
|
libclangbasic \
|
|
libclangcodegen \
|
|
libclangdriver \
|
|
libclangedit \
|
|
libclangfrontend \
|
|
libclangfrontendtool \
|
|
libclanglex \
|
|
libclangparse \
|
|
${_libclangrewriter} \
|
|
libclangsema \
|
|
libclangserialization \
|
|
${_libclangstaticanalyzer} \
|
|
\
|
|
libllvmanalysis \
|
|
libllvmasmparser \
|
|
libllvmasmprinter \
|
|
libllvmbitreader \
|
|
libllvmbitwriter \
|
|
libllvmcodegen \
|
|
libllvmcore \
|
|
libllvminstcombine \
|
|
libllvminstrumentation \
|
|
libllvmipa \
|
|
libllvmipo \
|
|
libllvmirreader \
|
|
libllvmlinker \
|
|
libllvmmc \
|
|
libllvmmcparser \
|
|
libllvmobjcarcopts \
|
|
libllvmobject \
|
|
libllvmoption \
|
|
libllvmscalaropts \
|
|
libllvmselectiondag \
|
|
libllvmsupport \
|
|
libllvmtablegen \
|
|
libllvmtarget \
|
|
libllvmtransformutils \
|
|
libllvmvectorize \
|
|
\
|
|
libllvmarmasmparser \
|
|
libllvmarmcodegen \
|
|
libllvmarmdesc \
|
|
libllvmarmdisassembler \
|
|
libllvmarminfo \
|
|
libllvmarminstprinter \
|
|
libllvmmipsasmparser \
|
|
libllvmmipscodegen \
|
|
libllvmmipsdesc \
|
|
libllvmmipsdisassembler \
|
|
libllvmmipsinfo \
|
|
libllvmmipsinstprinter \
|
|
libllvmpowerpcasmparser \
|
|
libllvmpowerpccodegen \
|
|
libllvmpowerpcdesc \
|
|
libllvmpowerpcinfo \
|
|
libllvmpowerpcinstprinter \
|
|
libllvmsparcasmparser \
|
|
libllvmsparccodegen \
|
|
libllvmsparcdesc \
|
|
libllvmsparcdisassembler \
|
|
libllvmsparcinfo \
|
|
libllvmsparcinstprinter \
|
|
libllvmx86asmparser \
|
|
libllvmx86codegen \
|
|
libllvmx86desc \
|
|
libllvmx86disassembler \
|
|
libllvmx86info \
|
|
libllvmx86instprinter \
|
|
libllvmx86utils
|
|
|
|
.if ${MK_CLANG_EXTRAS} != "no"
|
|
SUBDIR+=libllvmdebuginfo
|
|
.endif # MK_CLANG_EXTRAS
|
|
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
|
|
SUBDIR+=libllvmexecutionengine \
|
|
libllvminterpreter \
|
|
libllvmjit \
|
|
libllvmmcdisassembler \
|
|
libllvmmcjit \
|
|
libllvmruntimedyld
|
|
.endif # MK_CLANG_EXTRAS | LLDB
|
|
|
|
.if ${MK_LLDB} != "no"
|
|
SUBDIR+=liblldb \
|
|
\
|
|
liblldbAPI \
|
|
liblldbBreakpoint \
|
|
liblldbCommands \
|
|
liblldbCore \
|
|
liblldbDataFormatters \
|
|
liblldbExpression \
|
|
liblldbHostCommon \
|
|
liblldbHostFreeBSD \
|
|
liblldbInterpreter \
|
|
liblldbSymbol \
|
|
liblldbTarget \
|
|
liblldbUtility \
|
|
\
|
|
liblldbPluginABISysV_x86_64 \
|
|
liblldbPluginCXXItaniumABI \
|
|
liblldbPluginDisassemblerLLVM \
|
|
liblldbPluginDynamicLoaderStatic \
|
|
liblldbPluginDynamicLoaderPosixDYLD \
|
|
liblldbPluginInstructionARM \
|
|
liblldbPluginObjectContainerBSDArchive \
|
|
liblldbPluginObjectFileELF \
|
|
liblldbPluginPlatformFreeBSD \
|
|
liblldbPluginPlatformGDB \
|
|
liblldbPluginProcessElfCore \
|
|
liblldbPluginProcessFreeBSD \
|
|
liblldbPluginProcessGDBRemote \
|
|
liblldbPluginProcessPOSIX \
|
|
liblldbPluginProcessUtility \
|
|
liblldbPluginSymbolFileDWARF \
|
|
liblldbPluginSymbolFileSymtab \
|
|
liblldbPluginSymbolVendorELF \
|
|
liblldbPluginUnwindAssemblyInstEmulation \
|
|
liblldbPluginUnwindAssemblyX86
|
|
.endif # MK_LLDB
|
|
|
|
.endif # !make(install)
|
|
|
|
SUBDIR+= include
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
.include <bsd.subdir.mk>
|