1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5.if !make(install) 6.if ${MK_CLANG_FULL} != "no" 7_libclangstaticanalyzer= \ 8 libclangstaticanalyzercheckers \ 9 libclangstaticanalyzercore \ 10 libclangstaticanalyzerfrontend 11_libclangarcmigrate= \ 12 libclangarcmigrate 13.endif # MK_CLANG_FULL 14 15SUBDIR= libclanganalysis \ 16 ${_libclangarcmigrate} \ 17 libclangast \ 18 libclangbasic \ 19 libclangcodegen \ 20 libclangdriver \ 21 libclangedit \ 22 libclangfrontend \ 23 libclangfrontendtool \ 24 libclanglex \ 25 libclangparse \ 26 libclangrewritefrontend \ 27 libclangrewrite \ 28 libclangsema \ 29 libclangserialization \ 30 ${_libclangstaticanalyzer} \ 31 \ 32 libllvmanalysis \ 33 libllvmasmparser \ 34 libllvmasmprinter \ 35 libllvmbitreader \ 36 libllvmbitwriter \ 37 libllvmcodegen \ 38 libllvmcore \ 39 libllvminstcombine \ 40 libllvminstrumentation \ 41 libllvmipo \ 42 libllvmirreader \ 43 libllvmlinker \ 44 libllvmmc \ 45 libllvmmcdisassembler \ 46 libllvmmcparser \ 47 libllvmobjcarcopts \ 48 libllvmobject \ 49 libllvmoption \ 50 libllvmprofiledata \ 51 libllvmscalaropts \ 52 libllvmselectiondag \ 53 libllvmsupport \ 54 libllvmtablegen \ 55 libllvmtarget \ 56 libllvmtransformutils \ 57 libllvmvectorize \ 58 \ 59 libllvmaarch64asmparser \ 60 libllvmaarch64asmprinter \ 61 libllvmaarch64codegen \ 62 libllvmaarch64desc \ 63 libllvmaarch64info \ 64 libllvmaarch64utils \ 65 libllvmarmasmparser \ 66 libllvmarmasmprinter \ 67 libllvmarmcodegen \ 68 libllvmarmdesc \ 69 libllvmarminfo \ 70 libllvmmipsasmparser \ 71 libllvmmipsasmprinter \ 72 libllvmmipscodegen \ 73 libllvmmipsdesc \ 74 libllvmmipsinfo \ 75 libllvmpowerpcasmparser \ 76 libllvmpowerpcasmprinter \ 77 libllvmpowerpccodegen \ 78 libllvmpowerpcdesc \ 79 libllvmpowerpcinfo \ 80 libllvmsparcasmparser \ 81 libllvmsparcasmprinter \ 82 libllvmsparccodegen \ 83 libllvmsparcdesc \ 84 libllvmsparcinfo \ 85 libllvmx86asmparser \ 86 libllvmx86asmprinter \ 87 libllvmx86codegen \ 88 libllvmx86desc \ 89 libllvmx86info \ 90 libllvmx86utils 91 92.if ${MK_CLANG_EXTRAS} != "no" 93SUBDIR+=libllvmdebuginfodwarf \ 94 libllvmdebuginfopdb \ 95 libllvmlibdriver \ 96 libllvmlto \ 97 libllvmmirparser \ 98 libllvmorcjit \ 99 libllvmpasses \ 100 libllvmsymbolize 101.endif # MK_CLANG_EXTRAS 102 103.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" 104SUBDIR+=libllvmexecutionengine \ 105 libllvmaarch64disassembler \ 106 libllvmarmdisassembler \ 107 libllvminterpreter \ 108 libllvmmcjit \ 109 libllvmmipsdisassembler \ 110 libllvmpowerpcdisassembler \ 111 libllvmruntimedyld \ 112 libllvmsparcdisassembler \ 113 libllvmx86disassembler 114.endif # MK_CLANG_EXTRAS | LLDB 115 116.if ${MK_LLDB} != "no" 117SUBDIR+=liblldb \ 118 \ 119 liblldbAPI \ 120 liblldbBreakpoint \ 121 liblldbCommands \ 122 liblldbCore \ 123 liblldbDataFormatters \ 124 liblldbExpression \ 125 liblldbHostCommon \ 126 liblldbHostFreeBSD \ 127 liblldbHostPOSIX \ 128 liblldbInitialization \ 129 liblldbInterpreter \ 130 liblldbSymbol \ 131 liblldbTarget \ 132 liblldbUtility \ 133 \ 134 liblldbPluginABISysV_arm \ 135 liblldbPluginABISysV_arm64 \ 136 liblldbPluginABISysV_i386 \ 137 liblldbPluginABISysV_mips \ 138 liblldbPluginABISysV_mips64 \ 139 liblldbPluginABISysV_ppc \ 140 liblldbPluginABISysV_ppc64 \ 141 liblldbPluginABISysV_x86_64 \ 142 liblldbPluginCXXItaniumABI \ 143 liblldbPluginDisassemblerLLVM \ 144 liblldbPluginDynamicLoaderStatic \ 145 liblldbPluginDynamicLoaderPosixDYLD \ 146 liblldbPluginExpressionParserClang \ 147 liblldbPluginExpressionParserGo \ 148 liblldbPluginInstructionARM \ 149 liblldbPluginInstructionARM64 \ 150 liblldbPluginInstructionMIPS \ 151 liblldbPluginInstructionMIPS64 \ 152 liblldbPluginInstrumentationRuntimeAddressSanitizer \ 153 liblldbPluginJITLoaderGDB \ 154 liblldbPluginLanguageCPlusPlus \ 155 liblldbPluginLanguageObjC \ 156 liblldbPluginMemoryHistoryASan \ 157 liblldbPluginObjectContainerBSDArchive \ 158 liblldbPluginObjectFileELF \ 159 liblldbPluginObjectFileJIT \ 160 liblldbPluginPlatformFreeBSD \ 161 liblldbPluginPlatformGDB \ 162 liblldbPluginProcessElfCore \ 163 liblldbPluginProcessFreeBSD \ 164 liblldbPluginProcessGDBRemote \ 165 liblldbPluginProcessPOSIX \ 166 liblldbPluginProcessUtility \ 167 liblldbPluginScriptInterpreterNone \ 168 liblldbPluginSymbolFileDWARF \ 169 liblldbPluginSymbolFileSymtab \ 170 liblldbPluginSymbolVendorELF \ 171 liblldbPluginUnwindAssemblyInstEmulation \ 172 liblldbPluginUnwindAssemblyX86 173.endif # MK_LLDB 174 175.endif # !make(install) 176 177SUBDIR+= include 178 179SUBDIR_PARALLEL= 180 181.include <bsd.subdir.mk> 182