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 libllvmlinker \ 45 libllvmmc \ 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 libllvmaarch64codegen \ 61 libllvmaarch64desc \ 62 libllvmaarch64disassembler \ 63 libllvmaarch64info \ 64 libllvmaarch64instprinter \ 65 libllvmaarch64utils \ 66 libllvmarmasmparser \ 67 libllvmarmcodegen \ 68 libllvmarmdesc \ 69 libllvmarmdisassembler \ 70 libllvmarminfo \ 71 libllvmarminstprinter \ 72 libllvmmipsasmparser \ 73 libllvmmipscodegen \ 74 libllvmmipsdesc \ 75 libllvmmipsdisassembler \ 76 libllvmmipsinfo \ 77 libllvmmipsinstprinter \ 78 libllvmpowerpcasmparser \ 79 libllvmpowerpccodegen \ 80 libllvmpowerpcdesc \ 81 libllvmpowerpcdisassembler \ 82 libllvmpowerpcinfo \ 83 libllvmpowerpcinstprinter \ 84 libllvmsparcasmparser \ 85 libllvmsparccodegen \ 86 libllvmsparcdesc \ 87 libllvmsparcdisassembler \ 88 libllvmsparcinfo \ 89 libllvmsparcinstprinter \ 90 libllvmx86asmparser \ 91 libllvmx86codegen \ 92 libllvmx86desc \ 93 libllvmx86disassembler \ 94 libllvmx86info \ 95 libllvmx86instprinter \ 96 libllvmx86utils 97 98.if ${MK_CLANG_EXTRAS} != "no" 99SUBDIR+=libllvmdebuginfo \ 100 libllvmmcanalysis 101.endif # MK_CLANG_EXTRAS 102.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" 103SUBDIR+=libllvmexecutionengine \ 104 libllvminterpreter \ 105 libllvmjit \ 106 libllvmmcdisassembler \ 107 libllvmmcjit \ 108 libllvmruntimedyld 109.endif # MK_CLANG_EXTRAS | LLDB 110 111.if ${MK_LLDB} != "no" 112SUBDIR+=liblldb \ 113 \ 114 liblldbAPI \ 115 liblldbBreakpoint \ 116 liblldbCommands \ 117 liblldbCore \ 118 liblldbDataFormatters \ 119 liblldbExpression \ 120 liblldbHostCommon \ 121 liblldbHostFreeBSD \ 122 liblldbHostPOSIX \ 123 liblldbInterpreter \ 124 liblldbSymbol \ 125 liblldbTarget \ 126 liblldbUtility \ 127 \ 128 liblldbPluginABISysV_x86_64 \ 129 liblldbPluginCXXItaniumABI \ 130 liblldbPluginDisassemblerLLVM \ 131 liblldbPluginDynamicLoaderStatic \ 132 liblldbPluginDynamicLoaderPosixDYLD \ 133 liblldbPluginInstructionARM \ 134 liblldbPluginInstructionARM64 \ 135 liblldbPluginJITLoaderGDB \ 136 liblldbPluginObjectContainerBSDArchive \ 137 liblldbPluginObjectFileELF \ 138 liblldbPluginObjectFileJIT \ 139 liblldbPluginPlatformFreeBSD \ 140 liblldbPluginPlatformGDB \ 141 liblldbPluginProcessElfCore \ 142 liblldbPluginProcessFreeBSD \ 143 liblldbPluginProcessGDBRemote \ 144 liblldbPluginProcessPOSIX \ 145 liblldbPluginProcessUtility \ 146 liblldbPluginSymbolFileDWARF \ 147 liblldbPluginSymbolFileSymtab \ 148 liblldbPluginSymbolVendorELF \ 149 liblldbPluginUnwindAssemblyInstEmulation \ 150 liblldbPluginUnwindAssemblyX86 151.endif # MK_LLDB 152 153.endif # !make(install) 154 155SUBDIR+= include 156 157SUBDIR_PARALLEL= 158 159.include <bsd.subdir.mk> 160