2010-06-09 19:32:20 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2012-02-05 23:56:22 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2010-10-30 16:53:42 +00:00
|
|
|
.if !make(install)
|
2013-09-20 01:52:02 +00:00
|
|
|
.if !defined(EARLY_BUILD)
|
|
|
|
.if defined(MK_CLANG_FULL) && ${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
|
|
|
|
.if (defined(MK_CLANG_FULL) && ${MK_CLANG_FULL} != "no") || \
|
|
|
|
(defined(MK_LLDB) && ${MK_LLDB} != "no")
|
2013-02-02 22:28:29 +00:00
|
|
|
_libclangrewriter= \
|
|
|
|
libclangrewritecore \
|
|
|
|
libclangrewritefrontend
|
2013-09-20 01:52:02 +00:00
|
|
|
.endif # (MK_CLANG_FULL || MK_LLDB)
|
|
|
|
.endif # !EARLY_BUILD
|
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 \
|
2013-02-02 22:28:29 +00:00
|
|
|
${_libclangrewriter} \
|
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
|
|
|
libllvmipa \
|
|
|
|
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 \
|
|
|
|
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 \
|
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
|
|
|
\
|
|
|
|
libllvmarmasmparser \
|
|
|
|
libllvmarmcodegen \
|
2011-07-17 19:51:40 +00:00
|
|
|
libllvmarmdesc \
|
2011-02-20 19:33:47 +00:00
|
|
|
libllvmarmdisassembler \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmarminfo \
|
2011-05-02 21:04:37 +00:00
|
|
|
libllvmarminstprinter \
|
2012-04-16 21:23:25 +00:00
|
|
|
libllvmmipsasmparser \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmmipscodegen \
|
2011-07-17 19:51:40 +00:00
|
|
|
libllvmmipsdesc \
|
2012-08-20 18:33:03 +00:00
|
|
|
libllvmmipsdisassembler \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmmipsinfo \
|
2011-07-17 19:51:40 +00:00
|
|
|
libllvmmipsinstprinter \
|
2013-12-16 18:45:21 +00:00
|
|
|
libllvmpowerpcasmparser \
|
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 \
|
2011-05-02 21:04:37 +00:00
|
|
|
libllvmpowerpcinstprinter \
|
2014-02-20 22:22:39 +00:00
|
|
|
libllvmsparcasmparser \
|
|
|
|
libllvmsparccodegen \
|
|
|
|
libllvmsparcdesc \
|
|
|
|
libllvmsparcdisassembler \
|
|
|
|
libllvmsparcinfo \
|
|
|
|
libllvmsparcinstprinter \
|
2010-06-09 19:32:20 +00:00
|
|
|
libllvmx86asmparser \
|
|
|
|
libllvmx86codegen \
|
2011-07-17 19:51:40 +00:00
|
|
|
libllvmx86desc \
|
2010-09-20 16:43:17 +00:00
|
|
|
libllvmx86disassembler \
|
2011-02-20 19:33:47 +00:00
|
|
|
libllvmx86info \
|
2011-05-02 21:04:37 +00:00
|
|
|
libllvmx86instprinter \
|
2011-02-20 19:33:47 +00:00
|
|
|
libllvmx86utils
|
2012-02-05 23:56:22 +00:00
|
|
|
|
|
|
|
.if ${MK_CLANG_EXTRAS} != "no"
|
2013-09-20 01:52:02 +00:00
|
|
|
SUBDIR+=libllvmdebuginfo
|
|
|
|
.endif # MK_CLANG_EXTRAS
|
|
|
|
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
|
|
|
|
SUBDIR+=libllvmexecutionengine \
|
2012-02-05 23:56:22 +00:00
|
|
|
libllvminterpreter \
|
|
|
|
libllvmjit \
|
|
|
|
libllvmmcdisassembler \
|
|
|
|
libllvmmcjit \
|
|
|
|
libllvmruntimedyld
|
2013-09-20 01:52:02 +00:00
|
|
|
.endif # MK_CLANG_EXTRAS | LLDB
|
|
|
|
|
|
|
|
.if !defined(EARLY_BUILD) && ${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 # !EARLY_BUILD && MK_LLDB
|
|
|
|
|
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
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|