2010-06-09 19:32:20 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2012-02-05 23:56:22 +00:00
|
|
|
|
2010-10-30 16:53:42 +00:00
|
|
|
.if !make(install)
|
2014-05-10 16:38:03 +00:00
|
|
|
.if ${MK_CLANG_FULL} != "no"
|
2013-02-02 22:28:29 +00:00
|
|
|
_libclangstaticanalyzer= \
|
|
|
|
libclangstaticanalyzercheckers \
|
|
|
|
libclangstaticanalyzercore \
|
|
|
|
libclangstaticanalyzerfrontend
|
|
|
|
_libclangarcmigrate= \
|
|
|
|
libclangarcmigrate
|
2013-09-20 01:52:02 +00:00
|
|
|
.endif # MK_CLANG_FULL
|
2013-02-02 22:28:29 +00:00
|
|
|
|
2010-06-09 19:32:20 +00:00
|
|
|
SUBDIR= libclanganalysis \
|
2013-02-02 22:28:29 +00:00
|
|
|
${_libclangarcmigrate} \
|
2010-06-09 19:32:20 +00:00
|
|
|
libclangast \
|
|
|
|
libclangbasic \
|
|
|
|
libclangcodegen \
|
|
|
|
libclangdriver \
|
2012-04-16 21:23:25 +00:00
|
|
|
libclangedit \
|
2010-06-09 19:32:20 +00:00
|
|
|
libclangfrontend \
|
2010-09-20 16:43:17 +00:00
|
|
|
libclangfrontendtool \
|
2010-06-09 19:32:20 +00:00
|
|
|
libclanglex \
|
|
|
|
libclangparse \
|
2014-11-24 19:46:35 +00:00
|
|
|
libclangrewritefrontend \
|
|
|
|
libclangrewrite \
|
2010-06-09 19:32:20 +00:00
|
|
|
libclangsema \
|
2010-09-20 16:43:17 +00:00
|
|
|
libclangserialization \
|
2013-02-02 22:28:29 +00:00
|
|
|
${_libclangstaticanalyzer} \
|
2010-06-09 19:32:20 +00:00
|
|
|
\
|
|
|
|
libllvmanalysis \
|
2010-07-20 17:16:57 +00:00
|
|
|
libllvmasmparser \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmasmprinter \
|
|
|
|
libllvmbitreader \
|
|
|
|
libllvmbitwriter \
|
|
|
|
libllvmcodegen \
|
|
|
|
libllvmcore \
|
2011-05-02 21:04:37 +00:00
|
|
|
libllvminstcombine \
|
|
|
|
libllvminstrumentation \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmipo \
|
2013-04-12 17:57:40 +00:00
|
|
|
libllvmirreader \
|
2012-04-16 21:23:25 +00:00
|
|
|
libllvmlinker \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmmc \
|
2015-01-26 18:48:27 +00:00
|
|
|
libllvmmcdisassembler \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmmcparser \
|
2013-04-12 17:57:40 +00:00
|
|
|
libllvmobjcarcopts \
|
2012-04-16 21:23:25 +00:00
|
|
|
libllvmobject \
|
2014-02-16 19:44:07 +00:00
|
|
|
libllvmoption \
|
2014-11-24 19:46:35 +00:00
|
|
|
libllvmprofiledata \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmscalaropts \
|
|
|
|
libllvmselectiondag \
|
|
|
|
libllvmsupport \
|
2011-10-22 14:08:43 +00:00
|
|
|
libllvmtablegen \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmtarget \
|
|
|
|
libllvmtransformutils \
|
2012-04-16 21:23:25 +00:00
|
|
|
libllvmvectorize \
|
2010-06-09 19:32:20 +00:00
|
|
|
\
|
2015-01-07 19:06:27 +00:00
|
|
|
libllvmaarch64asmparser \
|
2015-12-31 14:39:45 +00:00
|
|
|
libllvmaarch64asmprinter \
|
2015-01-07 19:06:27 +00:00
|
|
|
libllvmaarch64codegen \
|
|
|
|
libllvmaarch64desc \
|
|
|
|
libllvmaarch64info \
|
|
|
|
libllvmaarch64utils \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmarmasmparser \
|
2015-12-31 14:39:45 +00:00
|
|
|
libllvmarmasmprinter \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmarmcodegen \
|
2011-07-17 19:51:40 +00:00
|
|
|
libllvmarmdesc \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmarminfo \
|
2012-04-16 21:23:25 +00:00
|
|
|
libllvmmipsasmparser \
|
2015-12-31 14:39:45 +00:00
|
|
|
libllvmmipsasmprinter \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmmipscodegen \
|
2011-07-17 19:51:40 +00:00
|
|
|
libllvmmipsdesc \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmmipsinfo \
|
2013-12-16 18:45:21 +00:00
|
|
|
libllvmpowerpcasmparser \
|
2015-12-31 14:39:45 +00:00
|
|
|
libllvmpowerpcasmprinter \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmpowerpccodegen \
|
2011-07-17 19:51:40 +00:00
|
|
|
libllvmpowerpcdesc \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmpowerpcinfo \
|
2014-02-20 22:22:39 +00:00
|
|
|
libllvmsparcasmparser \
|
2015-12-31 14:39:45 +00:00
|
|
|
libllvmsparcasmprinter \
|
2014-02-20 22:22:39 +00:00
|
|
|
libllvmsparccodegen \
|
|
|
|
libllvmsparcdesc \
|
|
|
|
libllvmsparcinfo \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmx86asmparser \
|
2015-12-31 14:39:45 +00:00
|
|
|
libllvmx86asmprinter \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmx86codegen \
|
2011-07-17 19:51:40 +00:00
|
|
|
libllvmx86desc \
|
2011-02-20 19:33:47 +00:00
|
|
|
libllvmx86info \
|
|
|
|
libllvmx86utils
|
2012-02-05 23:56:22 +00:00
|
|
|
|
|
|
|
.if ${MK_CLANG_EXTRAS} != "no"
|
2016-06-17 16:46:58 +00:00
|
|
|
SUBDIR+=libclangformat \
|
|
|
|
libclangtoolingcore \
|
|
|
|
libllvmdebuginfodwarf \
|
2015-05-30 15:39:49 +00:00
|
|
|
libllvmdebuginfopdb \
|
2015-11-30 19:16:58 +00:00
|
|
|
libllvmlibdriver \
|
2015-05-30 15:39:49 +00:00
|
|
|
libllvmlto \
|
2015-11-30 19:16:58 +00:00
|
|
|
libllvmmirparser \
|
2015-05-30 15:39:49 +00:00
|
|
|
libllvmorcjit \
|
2015-12-31 14:39:45 +00:00
|
|
|
libllvmpasses \
|
|
|
|
libllvmsymbolize
|
2013-09-20 01:52:02 +00:00
|
|
|
.endif # MK_CLANG_EXTRAS
|
2015-12-31 14:39:45 +00:00
|
|
|
|
2013-09-20 01:52:02 +00:00
|
|
|
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
|
2015-12-31 14:39:45 +00:00
|
|
|
SUBDIR+=libllvmexecutionengine \
|
|
|
|
libllvmaarch64disassembler \
|
2015-12-31 17:37:35 +00:00
|
|
|
libllvmarmdisassembler \
|
2012-02-05 23:56:22 +00:00
|
|
|
libllvminterpreter \
|
|
|
|
libllvmmcjit \
|
2015-09-06 22:02:13 +00:00
|
|
|
libllvmmipsdisassembler \
|
2015-12-31 17:37:35 +00:00
|
|
|
libllvmpowerpcdisassembler \
|
2015-09-06 22:02:13 +00:00
|
|
|
libllvmruntimedyld \
|
|
|
|
libllvmsparcdisassembler \
|
|
|
|
libllvmx86disassembler
|
2013-09-20 01:52:02 +00:00
|
|
|
.endif # MK_CLANG_EXTRAS | LLDB
|
|
|
|
|
2014-05-10 16:38:03 +00:00
|
|
|
.if ${MK_LLDB} != "no"
|
2013-09-20 01:52:02 +00:00
|
|
|
SUBDIR+=liblldb \
|
|
|
|
\
|
|
|
|
liblldbAPI \
|
|
|
|
liblldbBreakpoint \
|
|
|
|
liblldbCommands \
|
|
|
|
liblldbCore \
|
|
|
|
liblldbDataFormatters \
|
|
|
|
liblldbExpression \
|
|
|
|
liblldbHostCommon \
|
|
|
|
liblldbHostFreeBSD \
|
2014-11-26 17:40:03 +00:00
|
|
|
liblldbHostPOSIX \
|
2015-07-04 01:02:43 +00:00
|
|
|
liblldbInitialization \
|
2013-09-20 01:52:02 +00:00
|
|
|
liblldbInterpreter \
|
|
|
|
liblldbSymbol \
|
|
|
|
liblldbTarget \
|
|
|
|
liblldbUtility \
|
|
|
|
\
|
2015-07-04 01:02:43 +00:00
|
|
|
liblldbPluginABISysV_arm \
|
|
|
|
liblldbPluginABISysV_arm64 \
|
|
|
|
liblldbPluginABISysV_i386 \
|
|
|
|
liblldbPluginABISysV_mips \
|
|
|
|
liblldbPluginABISysV_mips64 \
|
2015-02-08 17:26:41 +00:00
|
|
|
liblldbPluginABISysV_ppc \
|
|
|
|
liblldbPluginABISysV_ppc64 \
|
2013-09-20 01:52:02 +00:00
|
|
|
liblldbPluginABISysV_x86_64 \
|
|
|
|
liblldbPluginCXXItaniumABI \
|
|
|
|
liblldbPluginDisassemblerLLVM \
|
|
|
|
liblldbPluginDynamicLoaderStatic \
|
|
|
|
liblldbPluginDynamicLoaderPosixDYLD \
|
2016-01-04 00:02:58 +00:00
|
|
|
liblldbPluginExpressionParserClang \
|
|
|
|
liblldbPluginExpressionParserGo \
|
2013-09-20 01:52:02 +00:00
|
|
|
liblldbPluginInstructionARM \
|
2014-11-26 17:40:03 +00:00
|
|
|
liblldbPluginInstructionARM64 \
|
2015-07-04 01:02:43 +00:00
|
|
|
liblldbPluginInstructionMIPS \
|
|
|
|
liblldbPluginInstructionMIPS64 \
|
2015-02-08 17:26:41 +00:00
|
|
|
liblldbPluginInstrumentationRuntimeAddressSanitizer \
|
2014-11-26 17:40:03 +00:00
|
|
|
liblldbPluginJITLoaderGDB \
|
2016-01-04 00:02:58 +00:00
|
|
|
liblldbPluginLanguageCPlusPlus \
|
|
|
|
liblldbPluginLanguageObjC \
|
2015-02-08 17:26:41 +00:00
|
|
|
liblldbPluginMemoryHistoryASan \
|
2013-09-20 01:52:02 +00:00
|
|
|
liblldbPluginObjectContainerBSDArchive \
|
|
|
|
liblldbPluginObjectFileELF \
|
2014-11-26 17:40:03 +00:00
|
|
|
liblldbPluginObjectFileJIT \
|
2013-09-20 01:52:02 +00:00
|
|
|
liblldbPluginPlatformFreeBSD \
|
|
|
|
liblldbPluginPlatformGDB \
|
|
|
|
liblldbPluginProcessElfCore \
|
|
|
|
liblldbPluginProcessFreeBSD \
|
|
|
|
liblldbPluginProcessGDBRemote \
|
|
|
|
liblldbPluginProcessPOSIX \
|
|
|
|
liblldbPluginProcessUtility \
|
2016-01-04 00:02:58 +00:00
|
|
|
liblldbPluginScriptInterpreterNone \
|
2013-09-20 01:52:02 +00:00
|
|
|
liblldbPluginSymbolFileDWARF \
|
|
|
|
liblldbPluginSymbolFileSymtab \
|
|
|
|
liblldbPluginSymbolVendorELF \
|
|
|
|
liblldbPluginUnwindAssemblyInstEmulation \
|
|
|
|
liblldbPluginUnwindAssemblyX86
|
2014-05-10 16:38:03 +00:00
|
|
|
.endif # MK_LLDB
|
2013-09-20 01:52:02 +00:00
|
|
|
|
2013-02-02 22:28:29 +00:00
|
|
|
.endif # !make(install)
|
2010-10-30 16:53:42 +00:00
|
|
|
|
|
|
|
SUBDIR+= include
|
2010-06-09 19:32:20 +00:00
|
|
|
|
2014-03-26 22:30:38 +00:00
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
|
2010-06-09 19:32:20 +00:00
|
|
|
.include <bsd.subdir.mk>
|