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 libllvmipa \ 42 libllvmipo \ 43 libllvmirreader \ 44 libllvmlibdriver \ 45 libllvmlinker \ 46 libllvmmc \ 47 libllvmmcdisassembler \ 48 libllvmmcparser \ 49 libllvmmirparser \ 50 libllvmobjcarcopts \ 51 libllvmobject \ 52 libllvmoption \ 53 libllvmprofiledata \ 54 libllvmscalaropts \ 55 libllvmselectiondag \ 56 libllvmsupport \ 57 libllvmtablegen \ 58 libllvmtarget \ 59 libllvmtransformutils \ 60 libllvmvectorize \ 61 \ 62 libllvmaarch64asmparser \ 63 libllvmaarch64codegen \ 64 libllvmaarch64desc \ 65 libllvmaarch64disassembler \ 66 libllvmaarch64info \ 67 libllvmaarch64instprinter \ 68 libllvmaarch64utils \ 69 libllvmarmasmparser \ 70 libllvmarmcodegen \ 71 libllvmarmdesc \ 72 libllvmarmdisassembler \ 73 libllvmarminfo \ 74 libllvmarminstprinter \ 75 libllvmmipsasmparser \ 76 libllvmmipscodegen \ 77 libllvmmipsdesc \ 78 libllvmmipsdisassembler \ 79 libllvmmipsinfo \ 80 libllvmmipsinstprinter \ 81 libllvmpowerpcasmparser \ 82 libllvmpowerpccodegen \ 83 libllvmpowerpcdesc \ 84 libllvmpowerpcdisassembler \ 85 libllvmpowerpcinfo \ 86 libllvmpowerpcinstprinter \ 87 libllvmsparcasmparser \ 88 libllvmsparccodegen \ 89 libllvmsparcdesc \ 90 libllvmsparcdisassembler \ 91 libllvmsparcinfo \ 92 libllvmsparcinstprinter \ 93 libllvmx86asmparser \ 94 libllvmx86codegen \ 95 libllvmx86desc \ 96 libllvmx86disassembler \ 97 libllvmx86info \ 98 libllvmx86instprinter \ 99 libllvmx86utils 100 101.if ${MK_CLANG_EXTRAS} != "no" 102SUBDIR+=libllvmdebuginfodwarf \ 103 libllvmdebuginfopdb \ 104 libllvmlto \ 105 libllvmorcjit \ 106 libllvmpasses 107.endif # MK_CLANG_EXTRAS 108.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" 109SUBDIR+=libllvmexecutionengine \ 110 libllvminterpreter \ 111 libllvmmcjit \ 112 libllvmruntimedyld 113.endif # MK_CLANG_EXTRAS | LLDB 114 115.if ${MK_LLDB} != "no" 116SUBDIR+=liblldb \ 117 \ 118 liblldbAPI \ 119 liblldbBreakpoint \ 120 liblldbCommands \ 121 liblldbCore \ 122 liblldbDataFormatters \ 123 liblldbExpression \ 124 liblldbHostCommon \ 125 liblldbHostFreeBSD \ 126 liblldbHostPOSIX \ 127 liblldbInterpreter \ 128 liblldbSymbol \ 129 liblldbTarget \ 130 liblldbUtility \ 131 \ 132 liblldbPluginABISysV_ppc \ 133 liblldbPluginABISysV_ppc64 \ 134 liblldbPluginABISysV_x86_64 \ 135 liblldbPluginCXXItaniumABI \ 136 liblldbPluginDisassemblerLLVM \ 137 liblldbPluginDynamicLoaderStatic \ 138 liblldbPluginDynamicLoaderPosixDYLD \ 139 liblldbPluginInstructionARM \ 140 liblldbPluginInstructionARM64 \ 141 liblldbPluginInstrumentationRuntimeAddressSanitizer \ 142 liblldbPluginJITLoaderGDB \ 143 liblldbPluginMemoryHistoryASan \ 144 liblldbPluginObjectContainerBSDArchive \ 145 liblldbPluginObjectFileELF \ 146 liblldbPluginObjectFileJIT \ 147 liblldbPluginPlatformFreeBSD \ 148 liblldbPluginPlatformGDB \ 149 liblldbPluginProcessElfCore \ 150 liblldbPluginProcessFreeBSD \ 151 liblldbPluginProcessGDBRemote \ 152 liblldbPluginProcessPOSIX \ 153 liblldbPluginProcessUtility \ 154 liblldbPluginSymbolFileDWARF \ 155 liblldbPluginSymbolFileSymtab \ 156 liblldbPluginSymbolVendorELF \ 157 liblldbPluginUnwindAssemblyInstEmulation \ 158 liblldbPluginUnwindAssemblyX86 159.endif # MK_LLDB 160 161.endif # !make(install) 162 163SUBDIR+= include 164 165SUBDIR_PARALLEL= 166 167.include <bsd.subdir.mk> 168