xref: /freebsd/lib/clang/liblldb/Makefile (revision e9e8876a4d6afc1ad5315faaa191b25121a813d7)
1# $FreeBSD$
2
3.include "../lldb.pre.mk"
4
5LIB=		lldb
6SRCDIR=		lldb/source
7
8CFLAGS+=	-I${LLDB_SRCS}/include
9CFLAGS+=	-I${LLDB_SRCS}/source
10#CFLAGS+=	-I${LLDB_SRCS}/source/Plugins/Process/FreeBSD
11#CFLAGS+=	-I${LLDB_SRCS}/source/Plugins/Process/POSIX
12#CFLAGS+=	-I${LLDB_SRCS}/source/Plugins/Process/Utility
13CFLAGS+=	-I${OBJTOP}/lib/clang/libllvm
14CFLAGS+=	-I${OBJTOP}/lib/clang/libclang
15CFLAGS+=	-I${OBJTOP}/lib/clang/liblldb
16CFLAGS+=	-I${SRCTOP}/contrib/lua/src
17CFLAGS+=	-I${SRCTOP}/lib/liblua
18
19SRCS+=		API/SBAddress.cpp
20SRCS+=		API/SBAttachInfo.cpp
21SRCS+=		API/SBBlock.cpp
22SRCS+=		API/SBBreakpoint.cpp
23SRCS+=		API/SBBreakpointLocation.cpp
24SRCS+=		API/SBBreakpointName.cpp
25SRCS+=		API/SBBreakpointOptionCommon.cpp
26SRCS+=		API/SBBroadcaster.cpp
27SRCS+=		API/SBCommandInterpreter.cpp
28SRCS+=		API/SBCommandInterpreterRunOptions.cpp
29SRCS+=		API/SBCommandReturnObject.cpp
30SRCS+=		API/SBCommunication.cpp
31SRCS+=		API/SBCompileUnit.cpp
32SRCS+=		API/SBData.cpp
33SRCS+=		API/SBDebugger.cpp
34SRCS+=		API/SBDeclaration.cpp
35SRCS+=		API/SBEnvironment.cpp
36SRCS+=		API/SBError.cpp
37SRCS+=		API/SBEvent.cpp
38SRCS+=		API/SBExecutionContext.cpp
39SRCS+=		API/SBExpressionOptions.cpp
40SRCS+=		API/SBFile.cpp
41SRCS+=		API/SBFileSpec.cpp
42SRCS+=		API/SBFileSpecList.cpp
43SRCS+=		API/SBFrame.cpp
44SRCS+=		API/SBFunction.cpp
45SRCS+=		API/SBHostOS.cpp
46SRCS+=		API/SBInstruction.cpp
47SRCS+=		API/SBInstructionList.cpp
48SRCS+=		API/SBLanguageRuntime.cpp
49SRCS+=		API/SBLaunchInfo.cpp
50SRCS+=		API/SBLineEntry.cpp
51SRCS+=		API/SBListener.cpp
52SRCS+=		API/SBMemoryRegionInfo.cpp
53SRCS+=		API/SBMemoryRegionInfoList.cpp
54SRCS+=		API/SBModule.cpp
55SRCS+=		API/SBModuleSpec.cpp
56SRCS+=		API/SBPlatform.cpp
57SRCS+=		API/SBProcess.cpp
58SRCS+=		API/SBProcessInfo.cpp
59SRCS+=		API/SBQueue.cpp
60SRCS+=		API/SBQueueItem.cpp
61SRCS+=		API/SBReproducer.cpp
62SRCS+=		API/SBSection.cpp
63SRCS+=		API/SBSourceManager.cpp
64SRCS+=		API/SBStream.cpp
65SRCS+=		API/SBStringList.cpp
66SRCS+=		API/SBStructuredData.cpp
67SRCS+=		API/SBSymbol.cpp
68SRCS+=		API/SBSymbolContext.cpp
69SRCS+=		API/SBSymbolContextList.cpp
70SRCS+=		API/SBTarget.cpp
71SRCS+=		API/SBThread.cpp
72SRCS+=		API/SBThreadCollection.cpp
73SRCS+=		API/SBThreadPlan.cpp
74SRCS+=		API/SBTrace.cpp
75SRCS+=		API/SBType.cpp
76SRCS+=		API/SBTypeCategory.cpp
77SRCS+=		API/SBTypeEnumMember.cpp
78SRCS+=		API/SBTypeFilter.cpp
79SRCS+=		API/SBTypeFormat.cpp
80SRCS+=		API/SBTypeNameSpecifier.cpp
81SRCS+=		API/SBTypeSummary.cpp
82SRCS+=		API/SBTypeSynthetic.cpp
83SRCS+=		API/SBUnixSignals.cpp
84SRCS+=		API/SBValue.cpp
85SRCS+=		API/SBValueList.cpp
86SRCS+=		API/SBVariablesOptions.cpp
87SRCS+=		API/SBWatchpoint.cpp
88SRCS+=		API/SystemInitializerFull.cpp
89SRCS+=		Breakpoint/Breakpoint.cpp
90SRCS+=		Breakpoint/BreakpointID.cpp
91SRCS+=		Breakpoint/BreakpointIDList.cpp
92SRCS+=		Breakpoint/BreakpointList.cpp
93SRCS+=		Breakpoint/BreakpointLocation.cpp
94SRCS+=		Breakpoint/BreakpointLocationCollection.cpp
95SRCS+=		Breakpoint/BreakpointLocationList.cpp
96SRCS+=		Breakpoint/BreakpointName.cpp
97SRCS+=		Breakpoint/BreakpointOptions.cpp
98SRCS+=		Breakpoint/BreakpointResolver.cpp
99SRCS+=		Breakpoint/BreakpointResolverAddress.cpp
100SRCS+=		Breakpoint/BreakpointResolverFileLine.cpp
101SRCS+=		Breakpoint/BreakpointResolverFileRegex.cpp
102SRCS+=		Breakpoint/BreakpointResolverName.cpp
103SRCS+=		Breakpoint/BreakpointResolverScripted.cpp
104SRCS+=		Breakpoint/BreakpointSite.cpp
105SRCS+=		Breakpoint/BreakpointSiteList.cpp
106SRCS+=		Breakpoint/Stoppoint.cpp
107SRCS+=		Breakpoint/StoppointCallbackContext.cpp
108SRCS+=		Breakpoint/StoppointSite.cpp
109SRCS+=		Breakpoint/Watchpoint.cpp
110SRCS+=		Breakpoint/WatchpointList.cpp
111SRCS+=		Breakpoint/WatchpointOptions.cpp
112SRCS+=		Commands/CommandCompletions.cpp
113SRCS+=		Commands/CommandObjectApropos.cpp
114SRCS+=		Commands/CommandObjectBreakpoint.cpp
115SRCS+=		Commands/CommandObjectBreakpointCommand.cpp
116SRCS+=		Commands/CommandObjectCommands.cpp
117SRCS+=		Commands/CommandObjectDisassemble.cpp
118SRCS+=		Commands/CommandObjectExpression.cpp
119SRCS+=		Commands/CommandObjectFrame.cpp
120SRCS+=		Commands/CommandObjectGUI.cpp
121SRCS+=		Commands/CommandObjectHelp.cpp
122SRCS+=		Commands/CommandObjectLanguage.cpp
123SRCS+=		Commands/CommandObjectLog.cpp
124SRCS+=		Commands/CommandObjectMemory.cpp
125SRCS+=		Commands/CommandObjectMemoryTag.cpp
126SRCS+=		Commands/CommandObjectMultiword.cpp
127SRCS+=		Commands/CommandObjectPlatform.cpp
128SRCS+=		Commands/CommandObjectPlugin.cpp
129SRCS+=		Commands/CommandObjectProcess.cpp
130SRCS+=		Commands/CommandObjectQuit.cpp
131SRCS+=		Commands/CommandObjectRegexCommand.cpp
132SRCS+=		Commands/CommandObjectRegister.cpp
133SRCS+=		Commands/CommandObjectReproducer.cpp
134SRCS+=		Commands/CommandObjectScript.cpp
135SRCS+=		Commands/CommandObjectSession.cpp
136SRCS+=		Commands/CommandObjectSettings.cpp
137SRCS+=		Commands/CommandObjectSource.cpp
138SRCS+=		Commands/CommandObjectStats.cpp
139SRCS+=		Commands/CommandObjectTarget.cpp
140SRCS+=		Commands/CommandObjectThread.cpp
141SRCS+=		Commands/CommandObjectThreadUtil.cpp
142SRCS+=		Commands/CommandObjectTrace.cpp
143SRCS+=		Commands/CommandObjectType.cpp
144SRCS+=		Commands/CommandObjectVersion.cpp
145SRCS+=		Commands/CommandObjectWatchpoint.cpp
146SRCS+=		Commands/CommandObjectWatchpointCommand.cpp
147SRCS+=		Commands/CommandOptionsProcessLaunch.cpp
148SRCS+=		Core/Address.cpp
149SRCS+=		Core/AddressRange.cpp
150SRCS+=		Core/AddressResolver.cpp
151SRCS+=		Core/AddressResolverFileLine.cpp
152SRCS+=		Core/Communication.cpp
153SRCS+=		Core/Debugger.cpp
154SRCS+=		Core/Declaration.cpp
155SRCS+=		Core/Disassembler.cpp
156SRCS+=		Core/DumpDataExtractor.cpp
157SRCS+=		Core/DumpRegisterValue.cpp
158SRCS+=		Core/DynamicLoader.cpp
159SRCS+=		Core/EmulateInstruction.cpp
160SRCS+=		Core/FileLineResolver.cpp
161SRCS+=		Core/FileSpecList.cpp
162SRCS+=		Core/FormatEntity.cpp
163SRCS+=		Core/Highlighter.cpp
164SRCS+=		Core/IOHandler.cpp
165SRCS+=		Core/IOHandlerCursesGUI.cpp
166SRCS+=		Core/Mangled.cpp
167SRCS+=		Core/Module.cpp
168SRCS+=		Core/ModuleChild.cpp
169SRCS+=		Core/ModuleList.cpp
170SRCS+=		Core/Opcode.cpp
171SRCS+=		Core/PluginManager.cpp
172SRCS+=		Core/Progress.cpp
173SRCS+=		Core/RichManglingContext.cpp
174SRCS+=		Core/SearchFilter.cpp
175SRCS+=		Core/Section.cpp
176SRCS+=		Core/SourceLocationSpec.cpp
177SRCS+=		Core/SourceManager.cpp
178SRCS+=		Core/StreamAsynchronousIO.cpp
179SRCS+=		Core/StreamFile.cpp
180SRCS+=		Core/UserSettingsController.cpp
181SRCS+=		Core/Value.cpp
182SRCS+=		Core/ValueObject.cpp
183SRCS+=		Core/ValueObjectCast.cpp
184SRCS+=		Core/ValueObjectChild.cpp
185SRCS+=		Core/ValueObjectConstResult.cpp
186SRCS+=		Core/ValueObjectConstResultCast.cpp
187SRCS+=		Core/ValueObjectConstResultChild.cpp
188SRCS+=		Core/ValueObjectConstResultImpl.cpp
189SRCS+=		Core/ValueObjectDynamicValue.cpp
190SRCS+=		Core/ValueObjectList.cpp
191SRCS+=		Core/ValueObjectMemory.cpp
192SRCS+=		Core/ValueObjectRegister.cpp
193SRCS+=		Core/ValueObjectSyntheticFilter.cpp
194SRCS+=		Core/ValueObjectUpdater.cpp
195SRCS+=		Core/ValueObjectVariable.cpp
196SRCS+=		DataFormatters/CXXFunctionPointer.cpp
197SRCS+=		DataFormatters/DataVisualization.cpp
198SRCS+=		DataFormatters/DumpValueObjectOptions.cpp
199SRCS+=		DataFormatters/FormatCache.cpp
200SRCS+=		DataFormatters/FormatClasses.cpp
201SRCS+=		DataFormatters/FormatManager.cpp
202SRCS+=		DataFormatters/FormattersHelpers.cpp
203SRCS+=		DataFormatters/LanguageCategory.cpp
204SRCS+=		DataFormatters/StringPrinter.cpp
205SRCS+=		DataFormatters/TypeCategory.cpp
206SRCS+=		DataFormatters/TypeCategoryMap.cpp
207SRCS+=		DataFormatters/TypeFormat.cpp
208SRCS+=		DataFormatters/TypeSummary.cpp
209SRCS+=		DataFormatters/TypeSynthetic.cpp
210SRCS+=		DataFormatters/ValueObjectPrinter.cpp
211SRCS+=		DataFormatters/VectorType.cpp
212SRCS+=		Expression/DWARFExpression.cpp
213SRCS+=		Expression/DiagnosticManager.cpp
214SRCS+=		Expression/Expression.cpp
215SRCS+=		Expression/ExpressionVariable.cpp
216SRCS+=		Expression/FunctionCaller.cpp
217SRCS+=		Expression/IRExecutionUnit.cpp
218SRCS+=		Expression/IRInterpreter.cpp
219SRCS+=		Expression/IRMemoryMap.cpp
220SRCS+=		Expression/LLVMUserExpression.cpp
221SRCS+=		Expression/Materializer.cpp
222SRCS+=		Expression/REPL.cpp
223SRCS+=		Expression/UserExpression.cpp
224SRCS+=		Expression/UtilityFunction.cpp
225SRCS+=		Host/common/Editline.cpp
226SRCS+=		Host/common/File.cpp
227SRCS+=		Host/common/FileAction.cpp
228SRCS+=		Host/common/FileCache.cpp
229SRCS+=		Host/common/FileSystem.cpp
230SRCS+=		Host/common/Host.cpp
231SRCS+=		Host/common/HostInfoBase.cpp
232SRCS+=		Host/common/HostNativeThreadBase.cpp
233SRCS+=		Host/common/HostProcess.cpp
234SRCS+=		Host/common/HostThread.cpp
235SRCS+=		Host/common/LZMA.cpp
236SRCS+=		Host/common/LockFileBase.cpp
237SRCS+=		Host/common/MainLoop.cpp
238SRCS+=		Host/common/MonitoringProcessLauncher.cpp
239SRCS+=		Host/common/NativeProcessProtocol.cpp
240SRCS+=		Host/common/NativeRegisterContext.cpp
241SRCS+=		Host/common/NativeThreadProtocol.cpp
242SRCS+=		Host/common/NativeWatchpointList.cpp
243SRCS+=		Host/common/OptionParser.cpp
244SRCS+=		Host/common/PipeBase.cpp
245SRCS+=		Host/common/ProcessLaunchInfo.cpp
246SRCS+=		Host/common/ProcessRunLock.cpp
247SRCS+=		Host/common/PseudoTerminal.cpp
248SRCS+=		Host/common/Socket.cpp
249SRCS+=		Host/common/SocketAddress.cpp
250SRCS+=		Host/common/StringConvert.cpp
251SRCS+=		Host/common/TCPSocket.cpp
252SRCS+=		Host/common/Terminal.cpp
253SRCS+=		Host/common/ThreadLauncher.cpp
254SRCS+=		Host/common/UDPSocket.cpp
255SRCS+=		Host/common/XML.cpp
256SRCS+=		Host/freebsd/Host.cpp
257SRCS+=		Host/freebsd/HostInfoFreeBSD.cpp
258SRCS+=		Host/posix/ConnectionFileDescriptorPosix.cpp
259SRCS+=		Host/posix/DomainSocket.cpp
260SRCS+=		Host/posix/FileSystemPosix.cpp
261SRCS+=		Host/posix/HostInfoPosix.cpp
262SRCS+=		Host/posix/HostProcessPosix.cpp
263SRCS+=		Host/posix/HostThreadPosix.cpp
264SRCS+=		Host/posix/LockFilePosix.cpp
265SRCS+=		Host/posix/PipePosix.cpp
266SRCS+=		Host/posix/ProcessLauncherPosixFork.cpp
267SRCS+=		Initialization/SystemInitializer.cpp
268SRCS+=		Initialization/SystemInitializerCommon.cpp
269SRCS+=		Initialization/SystemLifetimeManager.cpp
270SRCS+=		Interpreter/CommandAlias.cpp
271SRCS+=		Interpreter/CommandHistory.cpp
272SRCS+=		Interpreter/CommandInterpreter.cpp
273SRCS+=		Interpreter/CommandObject.cpp
274SRCS+=		Interpreter/CommandOptionValidators.cpp
275SRCS+=		Interpreter/CommandReturnObject.cpp
276SRCS+=		Interpreter/OptionArgParser.cpp
277SRCS+=		Interpreter/OptionGroupArchitecture.cpp
278SRCS+=		Interpreter/OptionGroupBoolean.cpp
279SRCS+=		Interpreter/OptionGroupFile.cpp
280SRCS+=		Interpreter/OptionGroupFormat.cpp
281SRCS+=		Interpreter/OptionGroupOutputFile.cpp
282SRCS+=		Interpreter/OptionGroupPlatform.cpp
283SRCS+=		Interpreter/OptionGroupPythonClassWithDict.cpp
284SRCS+=		Interpreter/OptionGroupString.cpp
285SRCS+=		Interpreter/OptionGroupUInt64.cpp
286SRCS+=		Interpreter/OptionGroupUUID.cpp
287SRCS+=		Interpreter/OptionGroupValueObjectDisplay.cpp
288SRCS+=		Interpreter/OptionGroupVariable.cpp
289SRCS+=		Interpreter/OptionGroupWatchpoint.cpp
290SRCS+=		Interpreter/OptionValue.cpp
291SRCS+=		Interpreter/OptionValueArch.cpp
292SRCS+=		Interpreter/OptionValueArgs.cpp
293SRCS+=		Interpreter/OptionValueArray.cpp
294SRCS+=		Interpreter/OptionValueBoolean.cpp
295SRCS+=		Interpreter/OptionValueChar.cpp
296SRCS+=		Interpreter/OptionValueDictionary.cpp
297SRCS+=		Interpreter/OptionValueEnumeration.cpp
298SRCS+=		Interpreter/OptionValueFileColonLine.cpp
299SRCS+=		Interpreter/OptionValueFileSpec.cpp
300SRCS+=		Interpreter/OptionValueFileSpecList.cpp
301SRCS+=		Interpreter/OptionValueFormat.cpp
302SRCS+=		Interpreter/OptionValueFormatEntity.cpp
303SRCS+=		Interpreter/OptionValueLanguage.cpp
304SRCS+=		Interpreter/OptionValuePathMappings.cpp
305SRCS+=		Interpreter/OptionValueProperties.cpp
306SRCS+=		Interpreter/OptionValueRegex.cpp
307SRCS+=		Interpreter/OptionValueSInt64.cpp
308SRCS+=		Interpreter/OptionValueString.cpp
309SRCS+=		Interpreter/OptionValueUInt64.cpp
310SRCS+=		Interpreter/OptionValueUUID.cpp
311SRCS+=		Interpreter/Options.cpp
312SRCS+=		Interpreter/Property.cpp
313SRCS+=		Interpreter/ScriptInterpreter.cpp
314SRCS+=		LLDBWrapLua.cpp
315SRCS+=		Plugins/ABI/AArch64/ABIAArch64.cpp
316SRCS+=		Plugins/ABI/AArch64/ABISysV_arm64.cpp
317SRCS+=		Plugins/ABI/ARM/ABIARM.cpp
318SRCS+=		Plugins/ABI/ARM/ABISysV_arm.cpp
319SRCS+=		Plugins/ABI/Mips/ABIMips.cpp
320SRCS+=		Plugins/ABI/Mips/ABISysV_mips.cpp
321SRCS+=		Plugins/ABI/Mips/ABISysV_mips64.cpp
322SRCS+=		Plugins/ABI/PowerPC/ABIPowerPC.cpp
323SRCS+=		Plugins/ABI/PowerPC/ABISysV_ppc.cpp
324SRCS+=		Plugins/ABI/PowerPC/ABISysV_ppc64.cpp
325SRCS+=		Plugins/ABI/X86/ABISysV_i386.cpp
326SRCS+=		Plugins/ABI/X86/ABISysV_x86_64.cpp
327SRCS+=		Plugins/ABI/X86/ABIX86.cpp
328SRCS+=		Plugins/Architecture/AArch64/ArchitectureAArch64.cpp
329SRCS+=		Plugins/Architecture/Arm/ArchitectureArm.cpp
330SRCS+=		Plugins/Architecture/Mips/ArchitectureMips.cpp
331SRCS+=		Plugins/Architecture/PPC64/ArchitecturePPC64.cpp
332SRCS+=		Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
333SRCS+=		Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
334SRCS+=		Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
335SRCS+=		Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
336SRCS+=		Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
337SRCS+=		Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp
338SRCS+=		Plugins/ExpressionParser/Clang/ASTUtils.cpp
339SRCS+=		Plugins/ExpressionParser/Clang/ClangASTImporter.cpp
340SRCS+=		Plugins/ExpressionParser/Clang/ClangASTMetadata.cpp
341SRCS+=		Plugins/ExpressionParser/Clang/ClangASTSource.cpp
342SRCS+=		Plugins/ExpressionParser/Clang/ClangDeclVendor.cpp
343SRCS+=		Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
344SRCS+=		Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
345SRCS+=		Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
346SRCS+=		Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp
347SRCS+=		Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.cpp
348SRCS+=		Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp
349SRCS+=		Plugins/ExpressionParser/Clang/ClangHost.cpp
350SRCS+=		Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
351SRCS+=		Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp
352SRCS+=		Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
353SRCS+=		Plugins/ExpressionParser/Clang/ClangUtil.cpp
354SRCS+=		Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
355SRCS+=		Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
356SRCS+=		Plugins/ExpressionParser/Clang/CxxModuleHandler.cpp
357SRCS+=		Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp
358SRCS+=		Plugins/ExpressionParser/Clang/IRForTarget.cpp
359SRCS+=		Plugins/ExpressionParser/Clang/NameSearchContext.cpp
360SRCS+=		Plugins/Instruction/ARM/EmulateInstructionARM.cpp
361SRCS+=		Plugins/Instruction/ARM/EmulationStateARM.cpp
362SRCS+=		Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
363SRCS+=		Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
364SRCS+=		Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
365SRCS+=		Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp
366SRCS+=		Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp
367SRCS+=		Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp
368SRCS+=		Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
369SRCS+=		Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp
370SRCS+=		Plugins/JITLoader/GDB/JITLoaderGDB.cpp
371SRCS+=		Plugins/Language/CPlusPlus/BlockPointer.cpp
372SRCS+=		Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
373SRCS+=		Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp
374SRCS+=		Plugins/Language/CPlusPlus/CxxStringTypes.cpp
375SRCS+=		Plugins/Language/CPlusPlus/LibCxx.cpp
376SRCS+=		Plugins/Language/CPlusPlus/LibCxxAtomic.cpp
377SRCS+=		Plugins/Language/CPlusPlus/LibCxxBitset.cpp
378SRCS+=		Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp
379SRCS+=		Plugins/Language/CPlusPlus/LibCxxList.cpp
380SRCS+=		Plugins/Language/CPlusPlus/LibCxxMap.cpp
381SRCS+=		Plugins/Language/CPlusPlus/LibCxxOptional.cpp
382SRCS+=		Plugins/Language/CPlusPlus/LibCxxQueue.cpp
383SRCS+=		Plugins/Language/CPlusPlus/LibCxxTuple.cpp
384SRCS+=		Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
385SRCS+=		Plugins/Language/CPlusPlus/LibCxxVariant.cpp
386SRCS+=		Plugins/Language/CPlusPlus/LibCxxVector.cpp
387SRCS+=		Plugins/Language/CPlusPlus/LibStdcpp.cpp
388SRCS+=		Plugins/Language/CPlusPlus/LibStdcppTuple.cpp
389SRCS+=		Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp
390SRCS+=		Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.cpp
391SRCS+=		Plugins/Language/ClangCommon/ClangHighlighter.cpp
392SRCS+=		Plugins/Language/ObjC/CF.cpp
393SRCS+=		Plugins/Language/ObjC/Cocoa.cpp
394SRCS+=		Plugins/Language/ObjC/NSArray.cpp
395SRCS+=		Plugins/Language/ObjC/NSDictionary.cpp
396SRCS+=		Plugins/Language/ObjC/NSError.cpp
397SRCS+=		Plugins/Language/ObjC/NSException.cpp
398SRCS+=		Plugins/Language/ObjC/NSIndexPath.cpp
399SRCS+=		Plugins/Language/ObjC/NSSet.cpp
400SRCS+=		Plugins/Language/ObjC/NSString.cpp
401SRCS+=		Plugins/Language/ObjC/ObjCLanguage.cpp
402SRCS+=		Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
403SRCS+=		Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
404SRCS+=		Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
405SRCS+=		Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
406SRCS+=		Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp
407SRCS+=		Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
408SRCS+=		Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
409SRCS+=		Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
410SRCS+=		Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
411SRCS+=		Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
412SRCS+=		Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
413SRCS+=		Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp
414SRCS+=		Plugins/ObjectFile/ELF/ELFHeader.cpp
415SRCS+=		Plugins/ObjectFile/ELF/ObjectFileELF.cpp
416SRCS+=		Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
417SRCS+=		Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
418SRCS+=		Plugins/Platform/POSIX/PlatformPOSIX.cpp
419SRCS+=		Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
420SRCS+=		Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp
421SRCS+=		Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.cpp
422SRCS+=		Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm.cpp
423SRCS+=		Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp
424SRCS+=		Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.cpp
425SRCS+=		Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_powerpc.cpp
426SRCS+=		Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp
427SRCS+=		Plugins/Process/FreeBSD/NativeThreadFreeBSD.cpp
428SRCS+=		Plugins/Process/POSIX/CrashReason.cpp
429SRCS+=		Plugins/Process/POSIX/NativeProcessELF.cpp
430SRCS+=		Plugins/Process/POSIX/ProcessMessage.cpp
431SRCS+=		Plugins/Process/POSIX/ProcessPOSIXLog.cpp
432SRCS+=		Plugins/Process/Utility/AuxVector.cpp
433SRCS+=		Plugins/Process/Utility/DynamicRegisterInfo.cpp
434SRCS+=		Plugins/Process/Utility/FreeBSDSignals.cpp
435SRCS+=		Plugins/Process/Utility/GDBRemoteSignals.cpp
436SRCS+=		Plugins/Process/Utility/HistoryThread.cpp
437SRCS+=		Plugins/Process/Utility/HistoryUnwind.cpp
438SRCS+=		Plugins/Process/Utility/InferiorCallPOSIX.cpp
439SRCS+=		Plugins/Process/Utility/LinuxSignals.cpp
440SRCS+=		Plugins/Process/Utility/MipsLinuxSignals.cpp
441SRCS+=		Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp
442SRCS+=		Plugins/Process/Utility/NativeProcessSoftwareSingleStep.cpp
443SRCS+=		Plugins/Process/Utility/NativeRegisterContextDBReg_arm64.cpp
444SRCS+=		Plugins/Process/Utility/NativeRegisterContextDBReg_x86.cpp
445SRCS+=		Plugins/Process/Utility/NativeRegisterContextRegisterInfo.cpp
446SRCS+=		Plugins/Process/Utility/NetBSDSignals.cpp
447SRCS+=		Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
448SRCS+=		Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
449SRCS+=		Plugins/Process/Utility/RegisterContextDummy.cpp
450SRCS+=		Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp
451SRCS+=		Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp
452SRCS+=		Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp
453SRCS+=		Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp
454SRCS+=		Plugins/Process/Utility/RegisterContextHistory.cpp
455SRCS+=		Plugins/Process/Utility/RegisterContextLinux_i386.cpp
456SRCS+=		Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
457SRCS+=		Plugins/Process/Utility/RegisterContextMemory.cpp
458SRCS+=		Plugins/Process/Utility/RegisterContextNetBSD_i386.cpp
459SRCS+=		Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
460SRCS+=		Plugins/Process/Utility/RegisterContextOpenBSD_i386.cpp
461SRCS+=		Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp
462SRCS+=		Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp
463SRCS+=		Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp
464SRCS+=		Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
465SRCS+=		Plugins/Process/Utility/RegisterContextPOSIX_powerpc.cpp
466SRCS+=		Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.cpp
467SRCS+=		Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
468SRCS+=		Plugins/Process/Utility/RegisterContextThreadMemory.cpp
469SRCS+=		Plugins/Process/Utility/RegisterContext_x86.cpp
470SRCS+=		Plugins/Process/Utility/RegisterInfoPOSIX_arm.cpp
471SRCS+=		Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
472SRCS+=		Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.cpp
473SRCS+=		Plugins/Process/Utility/StopInfoMachException.cpp
474SRCS+=		Plugins/Process/Utility/ThreadMemory.cpp
475SRCS+=		Plugins/Process/elf-core/ProcessElfCore.cpp
476SRCS+=		Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp
477SRCS+=		Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp
478SRCS+=		Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp
479SRCS+=		Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp
480SRCS+=		Plugins/Process/elf-core/RegisterContextPOSIXCore_ppc64le.cpp
481SRCS+=		Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp
482SRCS+=		Plugins/Process/elf-core/RegisterUtilities.cpp
483SRCS+=		Plugins/Process/elf-core/ThreadElfCore.cpp
484SRCS+=		Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
485SRCS+=		Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
486SRCS+=		Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
487SRCS+=		Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
488SRCS+=		Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
489SRCS+=		Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
490SRCS+=		Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
491SRCS+=		Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
492SRCS+=		Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
493SRCS+=		Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
494SRCS+=		Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
495SRCS+=		Plugins/Process/gdb-remote/ProcessGDBRemoteLog.cpp
496SRCS+=		Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
497SRCS+=		Plugins/Process/scripted/ScriptedProcess.cpp
498SRCS+=		Plugins/ScriptInterpreter/Lua/Lua.cpp
499SRCS+=		Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
500SRCS+=		Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp
501SRCS+=		Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
502SRCS+=		Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
503SRCS+=		Plugins/SymbolFile/DWARF/DIERef.cpp
504SRCS+=		Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
505SRCS+=		Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp
506SRCS+=		Plugins/SymbolFile/DWARF/DWARFAttribute.cpp
507SRCS+=		Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp
508SRCS+=		Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
509SRCS+=		Plugins/SymbolFile/DWARF/DWARFContext.cpp
510SRCS+=		Plugins/SymbolFile/DWARF/DWARFDIE.cpp
511SRCS+=		Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp
512SRCS+=		Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp
513SRCS+=		Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.cpp
514SRCS+=		Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
515SRCS+=		Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
516SRCS+=		Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
517SRCS+=		Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp
518SRCS+=		Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
519SRCS+=		Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
520SRCS+=		Plugins/SymbolFile/DWARF/DWARFDefines.cpp
521SRCS+=		Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
522SRCS+=		Plugins/SymbolFile/DWARF/DWARFIndex.cpp
523SRCS+=		Plugins/SymbolFile/DWARF/DWARFTypeUnit.cpp
524SRCS+=		Plugins/SymbolFile/DWARF/DWARFUnit.cpp
525SRCS+=		Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
526SRCS+=		Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp
527SRCS+=		Plugins/SymbolFile/DWARF/LogChannelDWARF.cpp
528SRCS+=		Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
529SRCS+=		Plugins/SymbolFile/DWARF/NameToDIE.cpp
530SRCS+=		Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
531SRCS+=		Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
532SRCS+=		Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
533SRCS+=		Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
534SRCS+=		Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
535SRCS+=		Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
536SRCS+=		Plugins/TypeSystem/Clang/TypeSystemClang.cpp
537SRCS+=		Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
538SRCS+=		Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp
539SRCS+=		Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp
540SRCS+=		Symbol/ArmUnwindInfo.cpp
541SRCS+=		Symbol/Block.cpp
542SRCS+=		Symbol/CompactUnwindInfo.cpp
543SRCS+=		Symbol/CompileUnit.cpp
544SRCS+=		Symbol/CompilerDecl.cpp
545SRCS+=		Symbol/CompilerDeclContext.cpp
546SRCS+=		Symbol/CompilerType.cpp
547SRCS+=		Symbol/DWARFCallFrameInfo.cpp
548SRCS+=		Symbol/DebugMacros.cpp
549SRCS+=		Symbol/DeclVendor.cpp
550SRCS+=		Symbol/FuncUnwinders.cpp
551SRCS+=		Symbol/Function.cpp
552SRCS+=		Symbol/LineEntry.cpp
553SRCS+=		Symbol/LineTable.cpp
554SRCS+=		Symbol/LocateSymbolFile.cpp
555SRCS+=		Symbol/ObjectFile.cpp
556SRCS+=		Symbol/PostfixExpression.cpp
557SRCS+=		Symbol/Symbol.cpp
558SRCS+=		Symbol/SymbolContext.cpp
559SRCS+=		Symbol/SymbolFile.cpp
560SRCS+=		Symbol/SymbolVendor.cpp
561SRCS+=		Symbol/Symtab.cpp
562SRCS+=		Symbol/Type.cpp
563SRCS+=		Symbol/TypeList.cpp
564SRCS+=		Symbol/TypeMap.cpp
565SRCS+=		Symbol/TypeSystem.cpp
566SRCS+=		Symbol/UnwindPlan.cpp
567SRCS+=		Symbol/UnwindTable.cpp
568SRCS+=		Symbol/Variable.cpp
569SRCS+=		Symbol/VariableList.cpp
570SRCS+=		Target/ABI.cpp
571SRCS+=		Target/AssertFrameRecognizer.cpp
572SRCS+=		Target/ExecutionContext.cpp
573SRCS+=		Target/InstrumentationRuntime.cpp
574SRCS+=		Target/InstrumentationRuntimeStopInfo.cpp
575SRCS+=		Target/JITLoader.cpp
576SRCS+=		Target/JITLoaderList.cpp
577SRCS+=		Target/Language.cpp
578SRCS+=		Target/LanguageRuntime.cpp
579SRCS+=		Target/Memory.cpp
580SRCS+=		Target/MemoryHistory.cpp
581SRCS+=		Target/MemoryRegionInfo.cpp
582SRCS+=		Target/ModuleCache.cpp
583SRCS+=		Target/OperatingSystem.cpp
584SRCS+=		Target/PathMappingList.cpp
585SRCS+=		Target/Platform.cpp
586SRCS+=		Target/Process.cpp
587SRCS+=		Target/ProcessTrace.cpp
588SRCS+=		Target/Queue.cpp
589SRCS+=		Target/QueueItem.cpp
590SRCS+=		Target/QueueList.cpp
591SRCS+=		Target/RegisterContext.cpp
592SRCS+=		Target/RegisterContextUnwind.cpp
593SRCS+=		Target/RegisterNumber.cpp
594SRCS+=		Target/RemoteAwarePlatform.cpp
595SRCS+=		Target/SectionLoadHistory.cpp
596SRCS+=		Target/SectionLoadList.cpp
597SRCS+=		Target/StackFrame.cpp
598SRCS+=		Target/StackFrameList.cpp
599SRCS+=		Target/StackFrameRecognizer.cpp
600SRCS+=		Target/StackID.cpp
601SRCS+=		Target/StopInfo.cpp
602SRCS+=		Target/SystemRuntime.cpp
603SRCS+=		Target/Target.cpp
604SRCS+=		Target/TargetList.cpp
605SRCS+=		Target/Thread.cpp
606SRCS+=		Target/ThreadCollection.cpp
607SRCS+=		Target/ThreadList.cpp
608SRCS+=		Target/ThreadPlan.cpp
609SRCS+=		Target/ThreadPlanBase.cpp
610SRCS+=		Target/ThreadPlanCallFunction.cpp
611SRCS+=		Target/ThreadPlanCallFunctionUsingABI.cpp
612SRCS+=		Target/ThreadPlanCallUserExpression.cpp
613SRCS+=		Target/ThreadPlanPython.cpp
614SRCS+=		Target/ThreadPlanRunToAddress.cpp
615SRCS+=		Target/ThreadPlanShouldStopHere.cpp
616SRCS+=		Target/ThreadPlanStack.cpp
617SRCS+=		Target/ThreadPlanStepInRange.cpp
618SRCS+=		Target/ThreadPlanStepInstruction.cpp
619SRCS+=		Target/ThreadPlanStepOut.cpp
620SRCS+=		Target/ThreadPlanStepOverBreakpoint.cpp
621SRCS+=		Target/ThreadPlanStepOverRange.cpp
622SRCS+=		Target/ThreadPlanStepRange.cpp
623SRCS+=		Target/ThreadPlanStepThrough.cpp
624SRCS+=		Target/ThreadPlanStepUntil.cpp
625SRCS+=		Target/ThreadPlanTracer.cpp
626SRCS+=		Target/ThreadSpec.cpp
627SRCS+=		Target/Trace.cpp
628SRCS+=		Target/TraceCursor.cpp
629SRCS+=		Target/TraceInstructionDumper.cpp
630SRCS+=		Target/UnixSignals.cpp
631SRCS+=		Target/UnwindAssembly.cpp
632SRCS+=		Target/UnwindLLDB.cpp
633SRCS+=		Utility/ArchSpec.cpp
634SRCS+=		Utility/Args.cpp
635SRCS+=		Utility/Baton.cpp
636SRCS+=		Utility/Broadcaster.cpp
637SRCS+=		Utility/CompletionRequest.cpp
638SRCS+=		Utility/Connection.cpp
639SRCS+=		Utility/ConstString.cpp
640SRCS+=		Utility/DataBufferHeap.cpp
641SRCS+=		Utility/DataBufferLLVM.cpp
642SRCS+=		Utility/DataEncoder.cpp
643SRCS+=		Utility/DataExtractor.cpp
644SRCS+=		Utility/Environment.cpp
645SRCS+=		Utility/Event.cpp
646SRCS+=		Utility/FileSpec.cpp
647SRCS+=		Utility/GDBRemote.cpp
648SRCS+=		Utility/IOObject.cpp
649SRCS+=		Utility/LLDBAssert.cpp
650SRCS+=		Utility/Listener.cpp
651SRCS+=		Utility/Log.cpp
652SRCS+=		Utility/Logging.cpp
653SRCS+=		Utility/NameMatches.cpp
654SRCS+=		Utility/ProcessInfo.cpp
655SRCS+=		Utility/RegisterValue.cpp
656SRCS+=		Utility/RegularExpression.cpp
657SRCS+=		Utility/Reproducer.cpp
658SRCS+=		Utility/ReproducerInstrumentation.cpp
659SRCS+=		Utility/ReproducerProvider.cpp
660SRCS+=		Utility/Scalar.cpp
661SRCS+=		Utility/SelectHelper.cpp
662SRCS+=		Utility/State.cpp
663SRCS+=		Utility/Status.cpp
664SRCS+=		Utility/Stream.cpp
665SRCS+=		Utility/StreamCallback.cpp
666SRCS+=		Utility/StreamString.cpp
667SRCS+=		Utility/StringExtractor.cpp
668SRCS+=		Utility/StringExtractorGDBRemote.cpp
669SRCS+=		Utility/StringLexer.cpp
670SRCS+=		Utility/StringList.cpp
671SRCS+=		Utility/StructuredData.cpp
672SRCS+=		Utility/TildeExpressionResolver.cpp
673SRCS+=		Utility/TraceGDBRemotePackets.cpp
674SRCS+=		Utility/Timer.cpp
675SRCS+=		Utility/UUID.cpp
676SRCS+=		Utility/UnimplementedError.cpp
677SRCS+=		Utility/UriParser.cpp
678SRCS+=		Utility/UserID.cpp
679SRCS+=		Utility/UserIDResolver.cpp
680SRCS+=		Utility/VASprintf.cpp
681SRCS+=		Utility/VMRange.cpp
682SRCS+=		lldb.cpp
683
684LLDB_TBLGEN?=	lldb-tblgen
685
686CommandOptions.inc: ${LLDB_SRCS}/source/Commands/Options.td
687	${LLDB_TBLGEN} -gen-lldb-option-defs \
688	    -I ${LLDB_SRCS}/source/Commands -d ${.TARGET:C/$/.d/} \
689	    -o ${.TARGET} ${LLDB_SRCS}/source/Commands/Options.td
690TGHDRS+=	CommandOptions.inc
691
692.for path in \
693	Core/Core \
694	Interpreter/Interpreter \
695	Plugins/JITLoader/GDB/JITLoaderGDB \
696	Plugins/Process/gdb-remote/ProcessGDBRemote \
697	Plugins/SymbolFile/DWARF/SymbolFileDWARF \
698	Target/Target
699${path:T}Properties.inc: ${LLDB_SRCS}/source/${path}Properties.td
700	${LLDB_TBLGEN} -gen-lldb-property-defs \
701	    -I ${LLDB_SRCS}/source/${path:H} -d ${.TARGET:C/$/.d/} \
702	    -o ${.TARGET} ${LLDB_SRCS}/source/${path}Properties.td
703TGHDRS+=	${path:T}Properties.inc
704
705${path:T}PropertiesEnum.inc: ${LLDB_SRCS}/source/${path}Properties.td
706	${LLDB_TBLGEN} -gen-lldb-property-enum-defs \
707	    -I ${LLDB_SRCS}/source/${path:H} -d ${.TARGET:C/$/.d/} \
708	    -o ${.TARGET} ${LLDB_SRCS}/source/${path}Properties.td
709TGHDRS+=	${path:T}PropertiesEnum.inc
710.endfor
711
712DPSRCS+=	${TGHDRS}
713CLEANFILES+=	${TGHDRS} ${TGHDRS:C/$/.d/}
714
715.include "../clang.build.mk"
716
717INTERNALLIB=
718
719# Building lldb's bindings requires swig, but we do not want to include it in
720# the FreeBSD base system (as a build tool) because it has non-trivial
721# dependencies.  As a workaround we commit the generated file.  Requires the
722# swig package.
723#
724# After importing an updated llvm/lldb into FreeBSD run `make run-swig` in
725# this directory to generate generate LLDBWrapLua.cpp, and commit the result.
726.PHONY:	run-swig
727run-swig:
728	swig -I${LLDB_SRCS}/include \
729	    -c++ -features autodoc -lua -w503 \
730	    -o ${.CURDIR}/LLDBWrapLua.cpp ${LLDB_SRCS}/bindings/lua.swig
731
732.include <bsd.lib.mk>
733