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+=libclangformat \ 94 libclangtoolingcore \ 95 libllvmdebuginfodwarf \ 96 libllvmdebuginfopdb \ 97 libllvmlibdriver \ 98 libllvmlto \ 99 libllvmmirparser \ 100 libllvmorcjit \ 101 libllvmpasses \ 102 libllvmsymbolize 103.endif # MK_CLANG_EXTRAS 104 105.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" 106SUBDIR+=libllvmexecutionengine \ 107 libllvmaarch64disassembler \ 108 libllvmarmdisassembler \ 109 libllvminterpreter \ 110 libllvmmcjit \ 111 libllvmmipsdisassembler \ 112 libllvmpowerpcdisassembler \ 113 libllvmruntimedyld \ 114 libllvmsparcdisassembler \ 115 libllvmx86disassembler 116.endif # MK_CLANG_EXTRAS | LLDB 117 118.if ${MK_LLDB} != "no" 119SUBDIR+=liblldb \ 120 \ 121 liblldbAPI \ 122 liblldbBreakpoint \ 123 liblldbCommands \ 124 liblldbCore \ 125 liblldbDataFormatters \ 126 liblldbExpression \ 127 liblldbHostCommon \ 128 liblldbHostFreeBSD \ 129 liblldbHostPOSIX \ 130 liblldbInitialization \ 131 liblldbInterpreter \ 132 liblldbSymbol \ 133 liblldbTarget \ 134 liblldbUtility \ 135 \ 136 liblldbPluginABISysV_arm \ 137 liblldbPluginABISysV_arm64 \ 138 liblldbPluginABISysV_i386 \ 139 liblldbPluginABISysV_mips \ 140 liblldbPluginABISysV_mips64 \ 141 liblldbPluginABISysV_ppc \ 142 liblldbPluginABISysV_ppc64 \ 143 liblldbPluginABISysV_x86_64 \ 144 liblldbPluginCXXItaniumABI \ 145 liblldbPluginDisassemblerLLVM \ 146 liblldbPluginDynamicLoaderStatic \ 147 liblldbPluginDynamicLoaderPosixDYLD \ 148 liblldbPluginExpressionParserClang \ 149 liblldbPluginExpressionParserGo \ 150 liblldbPluginInstructionARM \ 151 liblldbPluginInstructionARM64 \ 152 liblldbPluginInstructionMIPS \ 153 liblldbPluginInstructionMIPS64 \ 154 liblldbPluginInstrumentationRuntimeAddressSanitizer \ 155 liblldbPluginJITLoaderGDB \ 156 liblldbPluginLanguageCPlusPlus \ 157 liblldbPluginLanguageObjC \ 158 liblldbPluginMemoryHistoryASan \ 159 liblldbPluginObjectContainerBSDArchive \ 160 liblldbPluginObjectFileELF \ 161 liblldbPluginObjectFileJIT \ 162 liblldbPluginPlatformFreeBSD \ 163 liblldbPluginPlatformGDB \ 164 liblldbPluginProcessElfCore \ 165 liblldbPluginProcessFreeBSD \ 166 liblldbPluginProcessGDBRemote \ 167 liblldbPluginProcessPOSIX \ 168 liblldbPluginProcessUtility \ 169 liblldbPluginScriptInterpreterNone \ 170 liblldbPluginSymbolFileDWARF \ 171 liblldbPluginSymbolFileSymtab \ 172 liblldbPluginSymbolVendorELF \ 173 liblldbPluginUnwindAssemblyInstEmulation \ 174 liblldbPluginUnwindAssemblyX86 175.endif # MK_LLDB 176 177.endif # !make(install) 178 179SUBDIR+= include 180 181SUBDIR_PARALLEL= 182 183.include <bsd.subdir.mk> 184