tools/llvm: Do not build with symbols
[minix3.git] / external / bsd / llvm / lib / Makefile
blob0fa0be271427f9f29d565f8b3024d7592cb106e3
1 # $NetBSD: Makefile,v 1.36 2013/11/28 14:19:59 joerg Exp $
3 .include <bsd.own.mk>
5 SUBDIR= \
6 libLLVMAnalysis \
7 libLLVMAsmParser \
8 libLLVMAsmPrinter \
9 libLLVMBitReader \
10 libLLVMBitWriter \
11 libLLVMCodeGen \
12 libLLVMIR \
13 libLLVMIRReader \
14 libLLVMInstCombine \
15 libLLVMInstrumentation \
16 libLLVMipa \
17 libLLVMipo \
18 libLLVMLinker \
19 libLLVMMC \
20 libLLVMMCDisassembler \
21 libLLVMMCParser \
22 libLLVMObjCARC \
23 libLLVMObject \
24 libLLVMOption \
25 libLLVMScalarOpts \
26 libLLVMSelectionDAG \
27 libLLVMSupport \
28 libLLVMTableGen \
29 libLLVMTarget \
30 libLLVMTransformsUtils \
31 libLLVMVectorize \
32 libLLVMAArch64CodeGen \
33 libLLVMARMCodeGen \
34 libLLVMMipsCodeGen \
35 libLLVMPowerPCCodeGen \
36 libLLVMSparcCodeGen \
37 libLLVMX86CodeGen
39 SUBDIR+= .WAIT
41 SUBDIR+= \
42 libLLVMAArch64AsmParser \
43 libLLVMAArch64AsmPrinter \
44 libLLVMAArch64Disassembler \
45 libLLVMAArch64MCTargetDesc \
46 libLLVMAArch64TargetInfo \
47 libLLVMAArch64Utils
49 SUBDIR+= \
50 libLLVMARMAsmParser \
51 libLLVMARMAsmPrinter \
52 libLLVMARMDisassembler \
53 libLLVMARMMCTargetDesc \
54 libLLVMARMTargetInfo
56 SUBDIR+= \
57 libLLVMMipsAsmParser \
58 libLLVMMipsAsmPrinter \
59 libLLVMMipsDisassembler \
60 libLLVMMipsMCTargetDesc \
61 libLLVMMipsTargetInfo
63 SUBDIR+= \
64 libLLVMPowerPCAsmParser \
65 libLLVMPowerPCAsmPrinter \
66 libLLVMPowerPCMCTargetDesc \
67 libLLVMPowerPCTargetInfo
69 SUBDIR+= \
70 libLLVMSparcMCTargetDesc \
71 libLLVMSparcTargetInfo
73 SUBDIR+= \
74 libLLVMX86AsmParser \
75 libLLVMX86AsmPrinter \
76 libLLVMX86Disassembler \
77 libLLVMX86MCTargetDesc \
78 libLLVMX86TargetInfo \
79 libLLVMX86Utils
81 .if ${NO_LLVM_DEVELOPER:Uno} == "no" && (${LLVM_DEVELOPER:U} == "yes" || ${MKLLDB} == "yes")
82 SUBDIR+= \
83 libLLVMExecutionEngine \
84 libLLVMJIT \
85 libLLVMMCJIT \
86 libLLVMRuntimeDyld
87 .endif
90 .if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${LLVM_DEVELOPER:U} == "yes"
91 SUBDIR+= \
92 libLLVMDebugInfo \
93 libLLVMCppBackend \
94 libLLVMCppBackendInfo \
95 libLLVMHello \
96 libLLVMInterpreter \
97 libLLVMLTO
98 .endif
100 .if defined(__MINIX)
101 SUBDIR+= \
102 libLLVMLTO \
103 libLLVMgold
104 .endif # defined(__MINIX)
106 SUBDIR+= \
107 libclangAnalysis \
108 libclangARCMigrate \
109 libclangAST \
110 libclangBasic \
111 libclangCodeGen \
112 libclangDriver \
113 libclangEdit \
114 libclangFrontend \
115 libclangFrontendTool \
116 libclangLex \
117 libclangParse \
118 libclangRewriteFrontend \
119 libclangRewriteCore \
120 libclangSema \
121 libclangSerialization \
122 libclangStaticAnalyzerCheckers \
123 libclangStaticAnalyzerCore \
124 .WAIT \
125 libclangStaticAnalyzerFrontend
127 .if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${LLVM_DEVELOPER:U} == "yes"
128 SUBDIR+= \
129 libclangASTMatchers \
130 libclangASTMatchersDynamic \
131 libclangFormat \
132 libclangIndex \
133 libclangTooling
134 .endif
136 .if ${MKLLD} != "no"
137 SUBDIR+= \
138 liblldCore \
139 liblldDriver \
140 liblldPasses \
141 liblldReaderWriter \
142 liblldReaderWriterELF \
143 liblldReaderWriterELFHexagon \
144 liblldReaderWriterELFPPC \
145 liblldReaderWriterELFX86 \
146 liblldReaderWriterELFX86_64 \
147 liblldReaderWriterMachO \
148 liblldReaderWriterNative \
149 liblldReaderWriterPECOFF \
150 liblldReaderWriterYAML
151 .endif
153 .if ${MKMCLINKER} != "no"
154 SUBDIR+= \
155 libMCLinkerADT \
156 libMCLinkerCodeGen \
157 libMCLinkerCore \
158 libMCLinkerFragment \
159 libMCLinkerLD \
160 libMCLinkerMC \
161 libMCLinkerObject \
162 libMCLinkerSupport \
163 libMCLinkerTarget
165 SUBDIR+= \
166 libMCLinkerARMCodeGen libMCLinkerARMTargetInfo
167 SUBDIR+= \
168 libMCLinkerMipsCodeGen libMCLinkerMipsTargetInfo
169 SUBDIR+= \
170 libMCLinkerX86CodeGen libMCLinkerX86TargetInfo
172 .endif
174 .if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${MKLLDB} == "yes"
175 SUBDIR+= \
176 liblldbAPI \
177 liblldbBreakpoint \
178 liblldbCommands \
179 liblldbCore \
180 liblldbDataFormatters \
181 liblldbExpression \
182 liblldbHostCommon \
183 liblldbHostNetBSD \
184 liblldbInterpreter \
185 liblldbLog \
186 liblldbPluginABIMacOSX_arm \
187 liblldbPluginABIMacOSX_i386 \
188 liblldbPluginABISysV_x86_64 \
189 liblldbPluginAppleObjCRuntime \
190 liblldbPluginCXXItaniumABI \
191 liblldbPluginDisassemblerLLVM \
192 liblldbPluginDynamicLoaderMacOSXDYLD \
193 liblldbPluginDynamicLoaderPosixDYLD \
194 liblldbPluginDynamicLoaderStatic \
195 liblldbPluginInstructionARM \
196 liblldbPluginObjectContainerBSDArchive \
197 liblldbPluginObjectContainerMachOArchive \
198 liblldbPluginObjectFileELF \
199 liblldbPluginObjectFileMachO \
200 liblldbPluginObjectFilePECOFF \
201 liblldbPluginPlatformNetBSD \
202 liblldbPluginPlatformGDB \
203 liblldbPluginPlatformLinux \
204 liblldbPluginPlatformMacOSX \
205 liblldbPluginPlatformPOSIX \
206 liblldbPluginPlatformWindows \
207 liblldbPluginProcessElfCore \
208 liblldbPluginProcessNetBSD \
209 liblldbPluginProcessGDBRemote \
210 liblldbPluginProcessMachCore \
211 liblldbPluginProcessPOSIX \
212 liblldbPluginProcessUtility \
213 liblldbPluginSymbolFileDWARF \
214 liblldbPluginSymbolFileSymtab \
215 liblldbPluginSymbolVendorELF \
216 liblldbPluginSystemRuntimeMacOSX \
217 liblldbPluginUnwindAssemblyInstEmulation \
218 liblldbPluginUnwindAssemblyX86 \
219 liblldbSymbol \
220 liblldbTarget \
221 liblldbUtility
222 .endif
224 .include <bsd.subdir.mk>