xref: /freebsd/lib/clang/libclang/Makefile (revision 9f23cbd6cae82fd77edfad7173432fa8dccd0a95)
1# $FreeBSD$
2
3.include <src.opts.mk>
4.include "../clang.pre.mk"
5
6LIB=		clang
7
8CFLAGS+=	-I${.OBJDIR}
9CFLAGS+=	-I${OBJTOP}/lib/clang/libllvm
10CFLAGS+=	-I${CLANG_SRCS}/lib/Basic
11CFLAGS+=	-I${CLANG_SRCS}/lib/Driver
12
13# Ensure FREEBSD_CC_VERSION is defined for Basic/Targets.cpp
14CFLAGS.Targets.cpp+= -include ../freebsd_cc_version.h
15
16# Work around GCC bug 67888
17.if ${COMPILER_TYPE} == "gcc"
18CXXFLAGS.Module.cpp+= -fpermissive
19.endif
20
21SRCDIR=		clang/lib
22
23# Explanation of different SRCS variants below:
24# SRCS_MIN:	always required, even for bootstrap
25# SRCS_EXT:	required for MK_CLANG_EXTRAS || MK_CLANG_FORMAT
26# SRCS_FUL:	required for MK_CLANG_FULL
27# SRCS_LDB:	required for MK_LLDB
28
29SRCS_FUL+=	ARCMigrate/ARCMT.cpp
30SRCS_FUL+=	ARCMigrate/ARCMTActions.cpp
31SRCS_FUL+=	ARCMigrate/FileRemapper.cpp
32SRCS_FUL+=	ARCMigrate/ObjCMT.cpp
33SRCS_FUL+=	ARCMigrate/PlistReporter.cpp
34SRCS_FUL+=	ARCMigrate/TransAPIUses.cpp
35SRCS_FUL+=	ARCMigrate/TransARCAssign.cpp
36SRCS_FUL+=	ARCMigrate/TransAutoreleasePool.cpp
37SRCS_FUL+=	ARCMigrate/TransBlockObjCVariable.cpp
38SRCS_FUL+=	ARCMigrate/TransEmptyStatementsAndDealloc.cpp
39SRCS_FUL+=	ARCMigrate/TransGCAttrs.cpp
40SRCS_FUL+=	ARCMigrate/TransGCCalls.cpp
41SRCS_FUL+=	ARCMigrate/TransProperties.cpp
42SRCS_FUL+=	ARCMigrate/TransProtectedScope.cpp
43SRCS_FUL+=	ARCMigrate/TransRetainReleaseDealloc.cpp
44SRCS_FUL+=	ARCMigrate/TransUnbridgedCasts.cpp
45SRCS_FUL+=	ARCMigrate/TransUnusedInitDelegate.cpp
46SRCS_FUL+=	ARCMigrate/TransZeroOutPropsInDealloc.cpp
47SRCS_FUL+=	ARCMigrate/TransformActions.cpp
48SRCS_FUL+=	ARCMigrate/Transforms.cpp
49SRCS_MIN+=	AST/APValue.cpp
50SRCS_MIN+=	AST/ASTConcept.cpp
51SRCS_MIN+=	AST/ASTConsumer.cpp
52SRCS_MIN+=	AST/ASTContext.cpp
53SRCS_MIN+=	AST/ASTDiagnostic.cpp
54SRCS_MIN+=	AST/ASTDumper.cpp
55SRCS_MIN+=	AST/ASTImporter.cpp
56SRCS_MIN+=	AST/ASTImporterLookupTable.cpp
57SRCS_MIN+=	AST/ASTStructuralEquivalence.cpp
58SRCS_MIN+=	AST/ASTTypeTraits.cpp
59SRCS_MIN+=	AST/AttrImpl.cpp
60SRCS_MIN+=	AST/CXXInheritance.cpp
61SRCS_MIN+=	AST/Comment.cpp
62SRCS_MIN+=	AST/CommentBriefParser.cpp
63SRCS_MIN+=	AST/CommentCommandTraits.cpp
64SRCS_MIN+=	AST/CommentLexer.cpp
65SRCS_MIN+=	AST/CommentParser.cpp
66SRCS_MIN+=	AST/CommentSema.cpp
67SRCS_MIN+=	AST/ComparisonCategories.cpp
68SRCS_MIN+=	AST/ComputeDependence.cpp
69SRCS_FUL+=	AST/DataCollection.cpp
70SRCS_MIN+=	AST/Decl.cpp
71SRCS_MIN+=	AST/DeclBase.cpp
72SRCS_MIN+=	AST/DeclCXX.cpp
73SRCS_MIN+=	AST/DeclFriend.cpp
74SRCS_MIN+=	AST/DeclGroup.cpp
75SRCS_MIN+=	AST/DeclObjC.cpp
76SRCS_MIN+=	AST/DeclOpenMP.cpp
77SRCS_MIN+=	AST/DeclPrinter.cpp
78SRCS_MIN+=	AST/DeclTemplate.cpp
79SRCS_MIN+=	AST/DeclarationName.cpp
80SRCS_MIN+=	AST/Expr.cpp
81SRCS_MIN+=	AST/ExprCXX.cpp
82SRCS_MIN+=	AST/ExprClassification.cpp
83SRCS_MIN+=	AST/ExprConcepts.cpp
84SRCS_MIN+=	AST/ExprConstant.cpp
85SRCS_MIN+=	AST/ExprObjC.cpp
86SRCS_LDB+=	AST/ExternalASTMerger.cpp
87SRCS_MIN+=	AST/ExternalASTSource.cpp
88SRCS_MIN+=	AST/FormatString.cpp
89SRCS_MIN+=	AST/InheritViz.cpp
90SRCS_MIN+=	AST/Interp/ByteCodeEmitter.cpp
91SRCS_MIN+=	AST/Interp/ByteCodeExprGen.cpp
92SRCS_MIN+=	AST/Interp/ByteCodeGenError.cpp
93SRCS_MIN+=	AST/Interp/ByteCodeStmtGen.cpp
94SRCS_MIN+=	AST/Interp/Context.cpp
95SRCS_MIN+=	AST/Interp/Descriptor.cpp
96SRCS_MIN+=	AST/Interp/EvalEmitter.cpp
97SRCS_MIN+=	AST/Interp/Frame.cpp
98SRCS_MIN+=	AST/Interp/Function.cpp
99SRCS_MIN+=	AST/Interp/Interp.cpp
100SRCS_MIN+=	AST/Interp/InterpBlock.cpp
101SRCS_MIN+=	AST/Interp/InterpFrame.cpp
102SRCS_MIN+=	AST/Interp/InterpStack.cpp
103SRCS_MIN+=	AST/Interp/InterpState.cpp
104SRCS_MIN+=	AST/Interp/Pointer.cpp
105SRCS_MIN+=	AST/Interp/PrimType.cpp
106SRCS_MIN+=	AST/Interp/Program.cpp
107SRCS_MIN+=	AST/Interp/Record.cpp
108SRCS_MIN+=	AST/Interp/Source.cpp
109SRCS_MIN+=	AST/Interp/State.cpp
110SRCS_MIN+=	AST/ItaniumCXXABI.cpp
111SRCS_MIN+=	AST/ItaniumMangle.cpp
112SRCS_MIN+=	AST/JSONNodeDumper.cpp
113SRCS_MIN+=	AST/Mangle.cpp
114SRCS_MIN+=	AST/MicrosoftCXXABI.cpp
115SRCS_MIN+=	AST/MicrosoftMangle.cpp
116SRCS_MIN+=	AST/NSAPI.cpp
117SRCS_MIN+=	AST/NestedNameSpecifier.cpp
118SRCS_MIN+=	AST/ODRDiagsEmitter.cpp
119SRCS_MIN+=	AST/ODRHash.cpp
120SRCS_MIN+=	AST/OSLog.cpp
121SRCS_MIN+=	AST/OpenMPClause.cpp
122SRCS_MIN+=	AST/ParentMap.cpp
123SRCS_MIN+=	AST/ParentMapContext.cpp
124SRCS_MIN+=	AST/PrintfFormatString.cpp
125SRCS_MIN+=	AST/QualTypeNames.cpp
126SRCS_MIN+=	AST/Randstruct.cpp
127SRCS_MIN+=	AST/RawCommentList.cpp
128SRCS_MIN+=	AST/RecordLayout.cpp
129SRCS_MIN+=	AST/RecordLayoutBuilder.cpp
130SRCS_MIN+=	AST/ScanfFormatString.cpp
131SRCS_MIN+=	AST/SelectorLocationsKind.cpp
132SRCS_MIN+=	AST/Stmt.cpp
133SRCS_MIN+=	AST/StmtCXX.cpp
134SRCS_MIN+=	AST/StmtIterator.cpp
135SRCS_MIN+=	AST/StmtObjC.cpp
136SRCS_MIN+=	AST/StmtOpenMP.cpp
137SRCS_MIN+=	AST/StmtPrinter.cpp
138SRCS_MIN+=	AST/StmtProfile.cpp
139SRCS_MIN+=	AST/StmtViz.cpp
140SRCS_MIN+=	AST/TemplateBase.cpp
141SRCS_MIN+=	AST/TemplateName.cpp
142SRCS_MIN+=	AST/TextNodeDumper.cpp
143SRCS_MIN+=	AST/Type.cpp
144SRCS_MIN+=	AST/TypeLoc.cpp
145SRCS_MIN+=	AST/TypePrinter.cpp
146SRCS_MIN+=	AST/VTTBuilder.cpp
147SRCS_MIN+=	AST/VTableBuilder.cpp
148SRCS_MIN+=	ASTMatchers/ASTMatchFinder.cpp
149SRCS_MIN+=	ASTMatchers/ASTMatchersInternal.cpp
150SRCS_MIN+=	ASTMatchers/Dynamic/Diagnostics.cpp
151SRCS_MIN+=	ASTMatchers/Dynamic/Registry.cpp
152SRCS_MIN+=	Analysis/AnalysisDeclContext.cpp
153SRCS_MIN+=	Analysis/BodyFarm.cpp
154SRCS_MIN+=	Analysis/CFG.cpp
155SRCS_MIN+=	Analysis/CFGReachabilityAnalysis.cpp
156SRCS_MIN+=	Analysis/CFGStmtMap.cpp
157SRCS_FUL+=	Analysis/CallGraph.cpp
158SRCS_MIN+=	Analysis/CalledOnceCheck.cpp
159SRCS_MIN+=	Analysis/CloneDetection.cpp
160SRCS_MIN+=	Analysis/CocoaConventions.cpp
161SRCS_FUL+=	Analysis/CodeInjector.cpp
162SRCS_MIN+=	Analysis/Consumed.cpp
163SRCS_MIN+=	Analysis/ConstructionContext.cpp
164SRCS_FUL+=	Analysis/Dominators.cpp
165SRCS_MIN+=	Analysis/ExprMutationAnalyzer.cpp
166SRCS_FUL+=	Analysis/IssueHash.cpp
167SRCS_MIN+=	Analysis/LiveVariables.cpp
168SRCS_FUL+=	Analysis/MacroExpansionContext.cpp
169SRCS_MIN+=	Analysis/ObjCNoReturn.cpp
170SRCS_FUL+=	Analysis/PathDiagnostic.cpp
171SRCS_MIN+=	Analysis/PostOrderCFGView.cpp
172SRCS_FUL+=	Analysis/ProgramPoint.cpp
173SRCS_MIN+=	Analysis/ReachableCode.cpp
174SRCS_FUL+=	Analysis/RetainSummaryManager.cpp
175SRCS_MIN+=	Analysis/ThreadSafety.cpp
176SRCS_MIN+=	Analysis/ThreadSafetyCommon.cpp
177SRCS_MIN+=	Analysis/ThreadSafetyTIL.cpp
178SRCS_MIN+=	Analysis/UninitializedValues.cpp
179SRCS_MIN+=	Analysis/UnsafeBufferUsage.cpp
180SRCS_MIN+=	Basic/Attributes.cpp
181SRCS_MIN+=	Basic/Builtins.cpp
182SRCS_MIN+=	Basic/CLWarnings.cpp
183SRCS_MIN+=	Basic/CharInfo.cpp
184SRCS_MIN+=	Basic/CodeGenOptions.cpp
185SRCS_MIN+=	Basic/Cuda.cpp
186SRCS_MIN+=	Basic/DarwinSDKInfo.cpp
187SRCS_MIN+=	Basic/Diagnostic.cpp
188SRCS_MIN+=	Basic/DiagnosticIDs.cpp
189SRCS_MIN+=	Basic/DiagnosticOptions.cpp
190SRCS_MIN+=	Basic/ExpressionTraits.cpp
191SRCS_MIN+=	Basic/FileEntry.cpp
192SRCS_MIN+=	Basic/FileManager.cpp
193SRCS_MIN+=	Basic/FileSystemStatCache.cpp
194SRCS_MIN+=	Basic/IdentifierTable.cpp
195SRCS_MIN+=	Basic/LangOptions.cpp
196SRCS_MIN+=	Basic/LangStandards.cpp
197SRCS_MIN+=	Basic/MakeSupport.cpp
198SRCS_MIN+=	Basic/Module.cpp
199SRCS_MIN+=	Basic/NoSanitizeList.cpp
200SRCS_MIN+=	Basic/ObjCRuntime.cpp
201SRCS_MIN+=	Basic/OpenCLOptions.cpp
202SRCS_MIN+=	Basic/OpenMPKinds.cpp
203SRCS_MIN+=	Basic/OperatorPrecedence.cpp
204SRCS_MIN+=	Basic/ProfileList.cpp
205SRCS_MIN+=	Basic/SanitizerSpecialCaseList.cpp
206SRCS_MIN+=	Basic/Sanitizers.cpp
207SRCS_MIN+=	Basic/Sarif.cpp
208SRCS_MIN+=	Basic/SourceLocation.cpp
209SRCS_MIN+=	Basic/SourceManager.cpp
210SRCS_MIN+=	Basic/Stack.cpp
211SRCS_MIN+=	Basic/TargetID.cpp
212SRCS_MIN+=	Basic/TargetInfo.cpp
213SRCS_MIN+=	Basic/Targets.cpp
214SRCS_MIN+=	Basic/Targets/AArch64.cpp
215SRCS_MIN+=	Basic/Targets/AMDGPU.cpp
216SRCS_MIN+=	Basic/Targets/ARC.cpp
217SRCS_MIN+=	Basic/Targets/ARM.cpp
218SRCS_MIN+=	Basic/Targets/AVR.cpp
219SRCS_MIN+=	Basic/Targets/BPF.cpp
220SRCS_MIN+=	Basic/Targets/CSKY.cpp
221SRCS_MIN+=	Basic/Targets/DirectX.cpp
222SRCS_MIN+=	Basic/Targets/Hexagon.cpp
223SRCS_MIN+=	Basic/Targets/Lanai.cpp
224SRCS_MIN+=	Basic/Targets/Le64.cpp
225SRCS_MIN+=	Basic/Targets/LoongArch.cpp
226SRCS_MIN+=	Basic/Targets/M68k.cpp
227SRCS_MIN+=	Basic/Targets/Mips.cpp
228SRCS_MIN+=	Basic/Targets/MSP430.cpp
229SRCS_MIN+=	Basic/Targets/NVPTX.cpp
230SRCS_MIN+=	Basic/Targets/OSTargets.cpp
231SRCS_MIN+=	Basic/Targets/PNaCl.cpp
232SRCS_MIN+=	Basic/Targets/PPC.cpp
233SRCS_MIN+=	Basic/Targets/RISCV.cpp
234SRCS_MIN+=	Basic/Targets/SPIR.cpp
235SRCS_MIN+=	Basic/Targets/Sparc.cpp
236SRCS_MIN+=	Basic/Targets/SystemZ.cpp
237SRCS_MIN+=	Basic/Targets/TCE.cpp
238SRCS_MIN+=	Basic/Targets/VE.cpp
239SRCS_MIN+=	Basic/Targets/WebAssembly.cpp
240SRCS_MIN+=	Basic/Targets/X86.cpp
241SRCS_MIN+=	Basic/Targets/XCore.cpp
242SRCS_MIN+=	Basic/TokenKinds.cpp
243SRCS_MIN+=	Basic/TypeTraits.cpp
244SRCS_MIN+=	Basic/Version.cpp
245SRCS_MIN+=	Basic/Warnings.cpp
246SRCS_MIN+=	Basic/XRayInstr.cpp
247SRCS_MIN+=	Basic/XRayLists.cpp
248SRCS_MIN+=	CodeGen/BackendUtil.cpp
249SRCS_MIN+=	CodeGen/CGAtomic.cpp
250SRCS_MIN+=	CodeGen/CGBlocks.cpp
251SRCS_MIN+=	CodeGen/CGBuiltin.cpp
252SRCS_MIN+=	CodeGen/CGCUDANV.cpp
253SRCS_MIN+=	CodeGen/CGCUDARuntime.cpp
254SRCS_MIN+=	CodeGen/CGCXX.cpp
255SRCS_MIN+=	CodeGen/CGCXXABI.cpp
256SRCS_MIN+=	CodeGen/CGCall.cpp
257SRCS_MIN+=	CodeGen/CGClass.cpp
258SRCS_MIN+=	CodeGen/CGCleanup.cpp
259SRCS_MIN+=	CodeGen/CGCoroutine.cpp
260SRCS_MIN+=	CodeGen/CGDebugInfo.cpp
261SRCS_MIN+=	CodeGen/CGDecl.cpp
262SRCS_MIN+=	CodeGen/CGDeclCXX.cpp
263SRCS_MIN+=	CodeGen/CGException.cpp
264SRCS_MIN+=	CodeGen/CGExpr.cpp
265SRCS_MIN+=	CodeGen/CGExprAgg.cpp
266SRCS_MIN+=	CodeGen/CGExprCXX.cpp
267SRCS_MIN+=	CodeGen/CGExprComplex.cpp
268SRCS_MIN+=	CodeGen/CGExprConstant.cpp
269SRCS_MIN+=	CodeGen/CGExprScalar.cpp
270SRCS_MIN+=	CodeGen/CGGPUBuiltin.cpp
271SRCS_MIN+=	CodeGen/CGHLSLRuntime.cpp
272SRCS_MIN+=	CodeGen/CGLoopInfo.cpp
273SRCS_MIN+=	CodeGen/CGNonTrivialStruct.cpp
274SRCS_MIN+=	CodeGen/CGObjC.cpp
275SRCS_MIN+=	CodeGen/CGObjCGNU.cpp
276SRCS_MIN+=	CodeGen/CGObjCMac.cpp
277SRCS_MIN+=	CodeGen/CGObjCRuntime.cpp
278SRCS_MIN+=	CodeGen/CGOpenCLRuntime.cpp
279SRCS_MIN+=	CodeGen/CGOpenMPRuntime.cpp
280SRCS_MIN+=	CodeGen/CGOpenMPRuntimeGPU.cpp
281SRCS_MIN+=	CodeGen/CGRecordLayoutBuilder.cpp
282SRCS_MIN+=	CodeGen/CGStmt.cpp
283SRCS_MIN+=	CodeGen/CGStmtOpenMP.cpp
284SRCS_MIN+=	CodeGen/CGVTT.cpp
285SRCS_MIN+=	CodeGen/CGVTables.cpp
286SRCS_MIN+=	CodeGen/CodeGenAction.cpp
287SRCS_MIN+=	CodeGen/CodeGenFunction.cpp
288SRCS_MIN+=	CodeGen/CodeGenModule.cpp
289SRCS_MIN+=	CodeGen/CodeGenPGO.cpp
290SRCS_MIN+=	CodeGen/CodeGenTBAA.cpp
291SRCS_MIN+=	CodeGen/CodeGenTypes.cpp
292SRCS_MIN+=	CodeGen/ConstantInitBuilder.cpp
293SRCS_MIN+=	CodeGen/CoverageMappingGen.cpp
294SRCS_MIN+=	CodeGen/ItaniumCXXABI.cpp
295SRCS_MIN+=	CodeGen/MacroPPCallbacks.cpp
296SRCS_MIN+=	CodeGen/MicrosoftCXXABI.cpp
297SRCS_MIN+=	CodeGen/ModuleBuilder.cpp
298SRCS_MIN+=	CodeGen/ObjectFilePCHContainerOperations.cpp
299SRCS_MIN+=	CodeGen/PatternInit.cpp
300SRCS_MIN+=	CodeGen/SanitizerMetadata.cpp
301SRCS_MIN+=	CodeGen/SwiftCallingConv.cpp
302SRCS_MIN+=	CodeGen/TargetInfo.cpp
303SRCS_MIN+=	CodeGen/VarBypassDetector.cpp
304SRCS_FUL+=	CrossTU/CrossTranslationUnit.cpp
305SRCS_MIN+=	Driver/Action.cpp
306SRCS_MIN+=	Driver/Compilation.cpp
307SRCS_MIN+=	Driver/Distro.cpp
308SRCS_MIN+=	Driver/Driver.cpp
309SRCS_MIN+=	Driver/DriverOptions.cpp
310SRCS_MIN+=	Driver/Job.cpp
311SRCS_MIN+=	Driver/Multilib.cpp
312SRCS_MIN+=	Driver/OptionUtils.cpp
313SRCS_MIN+=	Driver/Phases.cpp
314SRCS_MIN+=	Driver/SanitizerArgs.cpp
315SRCS_MIN+=	Driver/Tool.cpp
316SRCS_MIN+=	Driver/ToolChain.cpp
317SRCS_MIN+=	Driver/ToolChains/AIX.cpp
318SRCS_MIN+=	Driver/ToolChains/AMDGPU.cpp
319SRCS_MIN+=	Driver/ToolChains/AMDGPUOpenMP.cpp
320SRCS_MIN+=	Driver/ToolChains/AVR.cpp
321SRCS_MIN+=	Driver/ToolChains/Ananas.cpp
322SRCS_MIN+=	Driver/ToolChains/Arch/AArch64.cpp
323SRCS_MIN+=	Driver/ToolChains/Arch/ARM.cpp
324SRCS_MIN+=	Driver/ToolChains/Arch/CSKY.cpp
325SRCS_MIN+=	Driver/ToolChains/Arch/LoongArch.cpp
326SRCS_MIN+=	Driver/ToolChains/Arch/M68k.cpp
327SRCS_MIN+=	Driver/ToolChains/Arch/Mips.cpp
328SRCS_MIN+=	Driver/ToolChains/Arch/PPC.cpp
329SRCS_MIN+=	Driver/ToolChains/Arch/RISCV.cpp
330SRCS_MIN+=	Driver/ToolChains/Arch/Sparc.cpp
331SRCS_MIN+=	Driver/ToolChains/Arch/SystemZ.cpp
332SRCS_MIN+=	Driver/ToolChains/Arch/VE.cpp
333SRCS_MIN+=	Driver/ToolChains/Arch/X86.cpp
334SRCS_MIN+=	Driver/ToolChains/BareMetal.cpp
335SRCS_MIN+=	Driver/ToolChains/CSKYToolChain.cpp
336SRCS_MIN+=	Driver/ToolChains/Clang.cpp
337SRCS_MIN+=	Driver/ToolChains/CloudABI.cpp
338SRCS_MIN+=	Driver/ToolChains/CommonArgs.cpp
339SRCS_MIN+=	Driver/ToolChains/Contiki.cpp
340SRCS_MIN+=	Driver/ToolChains/CrossWindows.cpp
341SRCS_MIN+=	Driver/ToolChains/Cuda.cpp
342SRCS_MIN+=	Driver/ToolChains/Darwin.cpp
343SRCS_MIN+=	Driver/ToolChains/DragonFly.cpp
344SRCS_MIN+=	Driver/ToolChains/Flang.cpp
345SRCS_MIN+=	Driver/ToolChains/FreeBSD.cpp
346SRCS_MIN+=	Driver/ToolChains/Fuchsia.cpp
347SRCS_MIN+=	Driver/ToolChains/Gnu.cpp
348SRCS_MIN+=	Driver/ToolChains/HIPAMD.cpp
349SRCS_MIN+=	Driver/ToolChains/HIPSPV.cpp
350SRCS_MIN+=	Driver/ToolChains/HIPUtility.cpp
351SRCS_MIN+=	Driver/ToolChains/HLSL.cpp
352SRCS_MIN+=	Driver/ToolChains/Haiku.cpp
353SRCS_MIN+=	Driver/ToolChains/Hexagon.cpp
354SRCS_MIN+=	Driver/ToolChains/Hurd.cpp
355SRCS_MIN+=	Driver/ToolChains/InterfaceStubs.cpp
356SRCS_MIN+=	Driver/ToolChains/Linux.cpp
357SRCS_MIN+=	Driver/ToolChains/MSP430.cpp
358SRCS_MIN+=	Driver/ToolChains/MSVC.cpp
359SRCS_MIN+=	Driver/ToolChains/MinGW.cpp
360SRCS_MIN+=	Driver/ToolChains/Minix.cpp
361SRCS_MIN+=	Driver/ToolChains/MipsLinux.cpp
362SRCS_MIN+=	Driver/ToolChains/Myriad.cpp
363SRCS_MIN+=	Driver/ToolChains/NaCl.cpp
364SRCS_MIN+=	Driver/ToolChains/NetBSD.cpp
365SRCS_MIN+=	Driver/ToolChains/OpenBSD.cpp
366SRCS_MIN+=	Driver/ToolChains/PPCFreeBSD.cpp
367SRCS_MIN+=	Driver/ToolChains/PPCLinux.cpp
368SRCS_MIN+=	Driver/ToolChains/PS4CPU.cpp
369SRCS_MIN+=	Driver/ToolChains/RISCVToolchain.cpp
370SRCS_MIN+=	Driver/ToolChains/SPIRV.cpp
371SRCS_MIN+=	Driver/ToolChains/Solaris.cpp
372SRCS_MIN+=	Driver/ToolChains/TCE.cpp
373SRCS_MIN+=	Driver/ToolChains/VEToolchain.cpp
374SRCS_MIN+=	Driver/ToolChains/WebAssembly.cpp
375SRCS_MIN+=	Driver/ToolChains/XCore.cpp
376SRCS_MIN+=	Driver/ToolChains/ZOS.cpp
377SRCS_MIN+=	Driver/Types.cpp
378SRCS_MIN+=	Driver/XRayArgs.cpp
379SRCS_MIN+=	Edit/Commit.cpp
380SRCS_MIN+=	Edit/EditedSource.cpp
381SRCS_MIN+=	Edit/RewriteObjCFoundationAPI.cpp
382SRCS_MIN+=	ExtractAPI/API.cpp
383SRCS_MIN+=	ExtractAPI/APIIgnoresList.cpp
384SRCS_MIN+=	ExtractAPI/AvailabilityInfo.cpp
385SRCS_MIN+=	ExtractAPI/DeclarationFragments.cpp
386SRCS_MIN+=	ExtractAPI/ExtractAPIConsumer.cpp
387SRCS_MIN+=	ExtractAPI/ExtractAPIVisitor.cpp
388SRCS_MIN+=	ExtractAPI/Serialization/SymbolGraphSerializer.cpp
389SRCS_MIN+=	ExtractAPI/TypedefUnderlyingTypeResolver.cpp
390SRCS_EXT+=	Format/AffectedRangeManager.cpp
391SRCS_EXT+=	Format/BreakableToken.cpp
392SRCS_EXT+=	Format/ContinuationIndenter.cpp
393SRCS_EXT+=	Format/DefinitionBlockSeparator.cpp
394SRCS_EXT+=	Format/Format.cpp
395SRCS_EXT+=	Format/FormatToken.cpp
396SRCS_EXT+=	Format/FormatTokenLexer.cpp
397SRCS_EXT+=	Format/IntegerLiteralSeparatorFixer.cpp
398SRCS_EXT+=	Format/NamespaceEndCommentsFixer.cpp
399SRCS_EXT+=	Format/QualifierAlignmentFixer.cpp
400SRCS_EXT+=	Format/SortJavaScriptImports.cpp
401SRCS_EXT+=	Format/TokenAnalyzer.cpp
402SRCS_EXT+=	Format/TokenAnnotator.cpp
403SRCS_EXT+=	Format/UnwrappedLineFormatter.cpp
404SRCS_EXT+=	Format/UnwrappedLineParser.cpp
405SRCS_EXT+=	Format/UsingDeclarationsSorter.cpp
406SRCS_EXT+=	Format/WhitespaceManager.cpp
407SRCS_MIN+=	Frontend/ASTConsumers.cpp
408SRCS_MIN+=	Frontend/ASTMerge.cpp
409SRCS_MIN+=	Frontend/ASTUnit.cpp
410SRCS_MIN+=	Frontend/ChainedDiagnosticConsumer.cpp
411SRCS_MIN+=	Frontend/ChainedIncludesSource.cpp
412SRCS_MIN+=	Frontend/CompilerInstance.cpp
413SRCS_MIN+=	Frontend/CompilerInvocation.cpp
414SRCS_MIN+=	Frontend/CreateInvocationFromCommandLine.cpp
415SRCS_MIN+=	Frontend/DependencyFile.cpp
416SRCS_MIN+=	Frontend/DependencyGraph.cpp
417SRCS_MIN+=	Frontend/DiagnosticRenderer.cpp
418SRCS_MIN+=	Frontend/FrontendAction.cpp
419SRCS_MIN+=	Frontend/FrontendActions.cpp
420SRCS_MIN+=	Frontend/FrontendOptions.cpp
421SRCS_MIN+=	Frontend/HeaderIncludeGen.cpp
422SRCS_MIN+=	Frontend/InitPreprocessor.cpp
423SRCS_MIN+=	Frontend/InterfaceStubFunctionsConsumer.cpp
424SRCS_MIN+=	Frontend/LayoutOverrideSource.cpp
425SRCS_MIN+=	Frontend/LogDiagnosticPrinter.cpp
426SRCS_MIN+=	Frontend/ModuleDependencyCollector.cpp
427SRCS_MIN+=	Frontend/MultiplexConsumer.cpp
428SRCS_MIN+=	Frontend/PrecompiledPreamble.cpp
429SRCS_MIN+=	Frontend/PrintPreprocessedOutput.cpp
430SRCS_MIN+=	Frontend/Rewrite/FixItRewriter.cpp
431SRCS_MIN+=	Frontend/Rewrite/FrontendActions.cpp
432SRCS_MIN+=	Frontend/Rewrite/HTMLPrint.cpp
433SRCS_MIN+=	Frontend/Rewrite/InclusionRewriter.cpp
434SRCS_MIN+=	Frontend/Rewrite/RewriteMacros.cpp
435SRCS_MIN+=	Frontend/Rewrite/RewriteTest.cpp
436SRCS_MIN+=	Frontend/SARIFDiagnostic.cpp
437SRCS_MIN+=	Frontend/SARIFDiagnosticPrinter.cpp
438SRCS_MIN+=	Frontend/SerializedDiagnosticPrinter.cpp
439SRCS_MIN+=	Frontend/SerializedDiagnosticReader.cpp
440SRCS_MIN+=	Frontend/TestModuleFileExtension.cpp
441SRCS_MIN+=	Frontend/TextDiagnostic.cpp
442SRCS_MIN+=	Frontend/TextDiagnosticBuffer.cpp
443SRCS_MIN+=	Frontend/TextDiagnosticPrinter.cpp
444SRCS_MIN+=	Frontend/VerifyDiagnosticConsumer.cpp
445SRCS_MIN+=	FrontendTool/ExecuteCompilerInvocation.cpp
446SRCS_MIN+=	Index/CommentToXML.cpp
447SRCS_MIN+=	Index/IndexBody.cpp
448SRCS_MIN+=	Index/IndexDecl.cpp
449SRCS_MIN+=	Index/IndexSymbol.cpp
450SRCS_MIN+=	Index/IndexTypeSourceInfo.cpp
451SRCS_MIN+=	Index/IndexingAction.cpp
452SRCS_MIN+=	Index/IndexingContext.cpp
453SRCS_MIN+=	Index/USRGeneration.cpp
454SRCS_MIN+=	Lex/DependencyDirectivesScanner.cpp
455SRCS_MIN+=	Lex/InitHeaderSearch.cpp
456SRCS_MIN+=	Lex/HeaderMap.cpp
457SRCS_MIN+=	Lex/HeaderSearch.cpp
458SRCS_MIN+=	Lex/Lexer.cpp
459SRCS_MIN+=	Lex/LiteralSupport.cpp
460SRCS_MIN+=	Lex/MacroArgs.cpp
461SRCS_MIN+=	Lex/MacroInfo.cpp
462SRCS_MIN+=	Lex/ModuleMap.cpp
463SRCS_MIN+=	Lex/PPCaching.cpp
464SRCS_MIN+=	Lex/PPCallbacks.cpp
465SRCS_MIN+=	Lex/PPConditionalDirectiveRecord.cpp
466SRCS_MIN+=	Lex/PPDirectives.cpp
467SRCS_MIN+=	Lex/PPExpressions.cpp
468SRCS_MIN+=	Lex/PPLexerChange.cpp
469SRCS_MIN+=	Lex/PPMacroExpansion.cpp
470SRCS_MIN+=	Lex/Pragma.cpp
471SRCS_MIN+=	Lex/PreprocessingRecord.cpp
472SRCS_MIN+=	Lex/Preprocessor.cpp
473SRCS_MIN+=	Lex/PreprocessorLexer.cpp
474SRCS_MIN+=	Lex/ScratchBuffer.cpp
475SRCS_MIN+=	Lex/TokenConcatenation.cpp
476SRCS_MIN+=	Lex/TokenLexer.cpp
477SRCS_MIN+=	Parse/ParseAST.cpp
478SRCS_MIN+=	Parse/ParseCXXInlineMethods.cpp
479SRCS_MIN+=	Parse/ParseDecl.cpp
480SRCS_MIN+=	Parse/ParseDeclCXX.cpp
481SRCS_MIN+=	Parse/ParseExpr.cpp
482SRCS_MIN+=	Parse/ParseExprCXX.cpp
483SRCS_MIN+=	Parse/ParseHLSL.cpp
484SRCS_MIN+=	Parse/ParseInit.cpp
485SRCS_MIN+=	Parse/ParseObjc.cpp
486SRCS_MIN+=	Parse/ParseOpenMP.cpp
487SRCS_MIN+=	Parse/ParsePragma.cpp
488SRCS_MIN+=	Parse/ParseStmt.cpp
489SRCS_MIN+=	Parse/ParseStmtAsm.cpp
490SRCS_MIN+=	Parse/ParseTemplate.cpp
491SRCS_MIN+=	Parse/ParseTentative.cpp
492SRCS_MIN+=	Parse/Parser.cpp
493SRCS_MIN+=	Rewrite/DeltaTree.cpp
494SRCS_MIN+=	Rewrite/HTMLRewrite.cpp
495SRCS_MIN+=	Rewrite/RewriteRope.cpp
496SRCS_MIN+=	Rewrite/Rewriter.cpp
497SRCS_MIN+=	Rewrite/TokenRewriter.cpp
498SRCS_MIN+=	Sema/AnalysisBasedWarnings.cpp
499SRCS_MIN+=	Sema/CodeCompleteConsumer.cpp
500SRCS_MIN+=	Sema/DeclSpec.cpp
501SRCS_MIN+=	Sema/DelayedDiagnostic.cpp
502SRCS_MIN+=	Sema/HLSLExternalSemaSource.cpp
503SRCS_MIN+=	Sema/IdentifierResolver.cpp
504SRCS_MIN+=	Sema/JumpDiagnostics.cpp
505SRCS_MIN+=	Sema/MultiplexExternalSemaSource.cpp
506SRCS_MIN+=	Sema/ParsedAttr.cpp
507SRCS_MIN+=	Sema/Scope.cpp
508SRCS_MIN+=	Sema/ScopeInfo.cpp
509SRCS_MIN+=	Sema/Sema.cpp
510SRCS_MIN+=	Sema/SemaAccess.cpp
511SRCS_MIN+=	Sema/SemaAttr.cpp
512SRCS_MIN+=	Sema/SemaAvailability.cpp
513SRCS_MIN+=	Sema/SemaCUDA.cpp
514SRCS_MIN+=	Sema/SemaCXXScopeSpec.cpp
515SRCS_MIN+=	Sema/SemaCast.cpp
516SRCS_MIN+=	Sema/SemaChecking.cpp
517SRCS_MIN+=	Sema/SemaCodeComplete.cpp
518SRCS_MIN+=	Sema/SemaConcept.cpp
519SRCS_MIN+=	Sema/SemaConsumer.cpp
520SRCS_MIN+=	Sema/SemaCoroutine.cpp
521SRCS_MIN+=	Sema/SemaDecl.cpp
522SRCS_MIN+=	Sema/SemaDeclAttr.cpp
523SRCS_MIN+=	Sema/SemaDeclCXX.cpp
524SRCS_MIN+=	Sema/SemaDeclObjC.cpp
525SRCS_MIN+=	Sema/SemaExceptionSpec.cpp
526SRCS_MIN+=	Sema/SemaExpr.cpp
527SRCS_MIN+=	Sema/SemaExprCXX.cpp
528SRCS_MIN+=	Sema/SemaExprMember.cpp
529SRCS_MIN+=	Sema/SemaExprObjC.cpp
530SRCS_MIN+=	Sema/SemaFixItUtils.cpp
531SRCS_MIN+=	Sema/SemaHLSL.cpp
532SRCS_MIN+=	Sema/SemaInit.cpp
533SRCS_MIN+=	Sema/SemaLambda.cpp
534SRCS_MIN+=	Sema/SemaLookup.cpp
535SRCS_MIN+=	Sema/SemaModule.cpp
536SRCS_MIN+=	Sema/SemaObjCProperty.cpp
537SRCS_MIN+=	Sema/SemaOpenMP.cpp
538SRCS_MIN+=	Sema/SemaOverload.cpp
539SRCS_MIN+=	Sema/SemaPseudoObject.cpp
540SRCS_MIN+=	Sema/SemaRISCVVectorLookup.cpp
541SRCS_MIN+=	Sema/SemaSYCL.cpp
542SRCS_MIN+=	Sema/SemaStmt.cpp
543SRCS_MIN+=	Sema/SemaStmtAsm.cpp
544SRCS_MIN+=	Sema/SemaStmtAttr.cpp
545SRCS_MIN+=	Sema/SemaTemplate.cpp
546SRCS_MIN+=	Sema/SemaTemplateDeduction.cpp
547SRCS_MIN+=	Sema/SemaTemplateInstantiate.cpp
548SRCS_MIN+=	Sema/SemaTemplateInstantiateDecl.cpp
549SRCS_MIN+=	Sema/SemaTemplateVariadic.cpp
550SRCS_MIN+=	Sema/SemaType.cpp
551SRCS_MIN+=	Sema/TypeLocBuilder.cpp
552SRCS_MIN+=	Serialization/ASTCommon.cpp
553SRCS_MIN+=	Serialization/ASTReader.cpp
554SRCS_MIN+=	Serialization/ASTReaderDecl.cpp
555SRCS_MIN+=	Serialization/ASTReaderStmt.cpp
556SRCS_MIN+=	Serialization/ASTWriter.cpp
557SRCS_MIN+=	Serialization/ASTWriterDecl.cpp
558SRCS_MIN+=	Serialization/ASTWriterStmt.cpp
559SRCS_MIN+=	Serialization/GeneratePCH.cpp
560SRCS_MIN+=	Serialization/GlobalModuleIndex.cpp
561SRCS_MIN+=	Serialization/InMemoryModuleCache.cpp
562SRCS_MIN+=	Serialization/ModuleFile.cpp
563SRCS_MIN+=	Serialization/ModuleFileExtension.cpp
564SRCS_MIN+=	Serialization/ModuleManager.cpp
565SRCS_MIN+=	Serialization/PCHContainerOperations.cpp
566SRCS_FUL+=	StaticAnalyzer/Checkers/AnalysisOrderChecker.cpp
567SRCS_FUL+=	StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp
568SRCS_FUL+=	StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
569SRCS_FUL+=	StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
570SRCS_FUL+=	StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
571SRCS_FUL+=	StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
572SRCS_FUL+=	StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp
573SRCS_FUL+=	StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp
574SRCS_FUL+=	StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
575SRCS_FUL+=	StaticAnalyzer/Checkers/CStringChecker.cpp
576SRCS_FUL+=	StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp
577SRCS_FUL+=	StaticAnalyzer/Checkers/CXXSelfAssignmentChecker.cpp
578SRCS_FUL+=	StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
579SRCS_FUL+=	StaticAnalyzer/Checkers/CastSizeChecker.cpp
580SRCS_FUL+=	StaticAnalyzer/Checkers/CastToStructChecker.cpp
581SRCS_FUL+=	StaticAnalyzer/Checkers/CastValueChecker.cpp
582SRCS_FUL+=	StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
583SRCS_FUL+=	StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
584SRCS_FUL+=	StaticAnalyzer/Checkers/CheckPlacementNew.cpp
585SRCS_FUL+=	StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
586SRCS_FUL+=	StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
587SRCS_FUL+=	StaticAnalyzer/Checkers/ChrootChecker.cpp
588SRCS_FUL+=	StaticAnalyzer/Checkers/CloneChecker.cpp
589SRCS_FUL+=	StaticAnalyzer/Checkers/ContainerModeling.cpp
590SRCS_FUL+=	StaticAnalyzer/Checkers/ConversionChecker.cpp
591SRCS_FUL+=	StaticAnalyzer/Checkers/DeadStoresChecker.cpp
592SRCS_FUL+=	StaticAnalyzer/Checkers/DebugCheckers.cpp
593SRCS_FUL+=	StaticAnalyzer/Checkers/DebugContainerModeling.cpp
594SRCS_FUL+=	StaticAnalyzer/Checkers/DebugIteratorModeling.cpp
595SRCS_FUL+=	StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp
596SRCS_FUL+=	StaticAnalyzer/Checkers/DereferenceChecker.cpp
597SRCS_FUL+=	StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
598SRCS_FUL+=	StaticAnalyzer/Checkers/DivZeroChecker.cpp
599SRCS_FUL+=	StaticAnalyzer/Checkers/DynamicTypeChecker.cpp
600SRCS_FUL+=	StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
601SRCS_FUL+=	StaticAnalyzer/Checkers/EnumCastOutOfRangeChecker.cpp
602SRCS_FUL+=	StaticAnalyzer/Checkers/ErrnoChecker.cpp
603SRCS_FUL+=	StaticAnalyzer/Checkers/ErrnoModeling.cpp
604SRCS_FUL+=	StaticAnalyzer/Checkers/ErrnoTesterChecker.cpp
605SRCS_FUL+=	StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
606SRCS_FUL+=	StaticAnalyzer/Checkers/FixedAddressChecker.cpp
607SRCS_FUL+=	StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp
608SRCS_FUL+=	StaticAnalyzer/Checkers/GTestChecker.cpp
609SRCS_FUL+=	StaticAnalyzer/Checkers/GenericTaintChecker.cpp
610SRCS_FUL+=	StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
611SRCS_FUL+=	StaticAnalyzer/Checkers/InnerPointerChecker.cpp
612SRCS_FUL+=	StaticAnalyzer/Checkers/InvalidatedIteratorChecker.cpp
613SRCS_FUL+=	StaticAnalyzer/Checkers/Iterator.cpp
614SRCS_FUL+=	StaticAnalyzer/Checkers/IteratorModeling.cpp
615SRCS_FUL+=	StaticAnalyzer/Checkers/IteratorRangeChecker.cpp
616SRCS_FUL+=	StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
617SRCS_FUL+=	StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
618SRCS_FUL+=	StaticAnalyzer/Checkers/LocalizationChecker.cpp
619SRCS_FUL+=	StaticAnalyzer/Checkers/MIGChecker.cpp
620SRCS_FUL+=	StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.cpp
621SRCS_FUL+=	StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp
622SRCS_FUL+=	StaticAnalyzer/Checkers/MPI-Checker/MPIFunctionClassifier.cpp
623SRCS_FUL+=	StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
624SRCS_FUL+=	StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
625SRCS_FUL+=	StaticAnalyzer/Checkers/MallocChecker.cpp
626SRCS_FUL+=	StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
627SRCS_FUL+=	StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
628SRCS_FUL+=	StaticAnalyzer/Checkers/MismatchedIteratorChecker.cpp
629SRCS_FUL+=	StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp
630SRCS_FUL+=	StaticAnalyzer/Checkers/MoveChecker.cpp
631SRCS_FUL+=	StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp
632SRCS_FUL+=	StaticAnalyzer/Checkers/NSErrorChecker.cpp
633SRCS_FUL+=	StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp
634SRCS_FUL+=	StaticAnalyzer/Checkers/NonNullParamChecker.cpp
635SRCS_FUL+=	StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp
636SRCS_FUL+=	StaticAnalyzer/Checkers/NullabilityChecker.cpp
637SRCS_FUL+=	StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
638SRCS_FUL+=	StaticAnalyzer/Checkers/OSObjectCStyleCast.cpp
639SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp
640SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp
641SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
642SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
643SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp
644SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCPropertyChecker.cpp
645SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
646SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp
647SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp
648SRCS_FUL+=	StaticAnalyzer/Checkers/PaddingChecker.cpp
649SRCS_FUL+=	StaticAnalyzer/Checkers/PointerArithChecker.cpp
650SRCS_FUL+=	StaticAnalyzer/Checkers/PointerIterationChecker.cpp
651SRCS_FUL+=	StaticAnalyzer/Checkers/PointerSortingChecker.cpp
652SRCS_FUL+=	StaticAnalyzer/Checkers/PointerSubChecker.cpp
653SRCS_FUL+=	StaticAnalyzer/Checkers/PthreadLockChecker.cpp
654SRCS_FUL+=	StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
655SRCS_FUL+=	StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
656SRCS_FUL+=	StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp
657SRCS_FUL+=	StaticAnalyzer/Checkers/ReturnUndefChecker.cpp
658SRCS_FUL+=	StaticAnalyzer/Checkers/ReturnValueChecker.cpp
659SRCS_FUL+=	StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp
660SRCS_FUL+=	StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp
661SRCS_FUL+=	StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
662SRCS_FUL+=	StaticAnalyzer/Checkers/SmartPtrChecker.cpp
663SRCS_FUL+=	StaticAnalyzer/Checkers/SmartPtrModeling.cpp
664SRCS_FUL+=	StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
665SRCS_FUL+=	StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
666SRCS_FUL+=	StaticAnalyzer/Checkers/StreamChecker.cpp
667SRCS_FUL+=	StaticAnalyzer/Checkers/StringChecker.cpp
668SRCS_FUL+=	StaticAnalyzer/Checkers/Taint.cpp
669SRCS_FUL+=	StaticAnalyzer/Checkers/TaintTesterChecker.cpp
670SRCS_FUL+=	StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp
671SRCS_FUL+=	StaticAnalyzer/Checkers/TraversalChecker.cpp
672SRCS_FUL+=	StaticAnalyzer/Checkers/TrustNonnullChecker.cpp
673SRCS_FUL+=	StaticAnalyzer/Checkers/TrustReturnsNonnullChecker.cpp
674SRCS_FUL+=	StaticAnalyzer/Checkers/UndefBranchChecker.cpp
675SRCS_FUL+=	StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp
676SRCS_FUL+=	StaticAnalyzer/Checkers/UndefResultChecker.cpp
677SRCS_FUL+=	StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp
678SRCS_FUL+=	StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp
679SRCS_FUL+=	StaticAnalyzer/Checkers/UndefinedNewArraySizeChecker.cpp
680SRCS_FUL+=	StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
681SRCS_FUL+=	StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp
682SRCS_FUL+=	StaticAnalyzer/Checkers/UnixAPIChecker.cpp
683SRCS_FUL+=	StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
684SRCS_FUL+=	StaticAnalyzer/Checkers/VLASizeChecker.cpp
685SRCS_FUL+=	StaticAnalyzer/Checkers/ValistChecker.cpp
686SRCS_FUL+=	StaticAnalyzer/Checkers/VforkChecker.cpp
687SRCS_FUL+=	StaticAnalyzer/Checkers/VirtualCallChecker.cpp
688SRCS_FUL+=	StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp
689SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
690SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp
691SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
692SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp
693SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
694SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp
695SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp
696SRCS_FUL+=	StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp
697SRCS_FUL+=	StaticAnalyzer/Core/APSIntType.cpp
698SRCS_FUL+=	StaticAnalyzer/Core/AnalysisManager.cpp
699SRCS_FUL+=	StaticAnalyzer/Core/AnalyzerOptions.cpp
700SRCS_FUL+=	StaticAnalyzer/Core/BasicValueFactory.cpp
701SRCS_FUL+=	StaticAnalyzer/Core/BlockCounter.cpp
702SRCS_FUL+=	StaticAnalyzer/Core/BugReporter.cpp
703SRCS_FUL+=	StaticAnalyzer/Core/BugReporterVisitors.cpp
704SRCS_FUL+=	StaticAnalyzer/Core/CallDescription.cpp
705SRCS_FUL+=	StaticAnalyzer/Core/CallEvent.cpp
706SRCS_FUL+=	StaticAnalyzer/Core/Checker.cpp
707SRCS_FUL+=	StaticAnalyzer/Core/CheckerContext.cpp
708SRCS_FUL+=	StaticAnalyzer/Core/CheckerHelpers.cpp
709SRCS_FUL+=	StaticAnalyzer/Core/CheckerManager.cpp
710SRCS_FUL+=	StaticAnalyzer/Core/CheckerRegistryData.cpp
711SRCS_FUL+=	StaticAnalyzer/Core/CommonBugCategories.cpp
712SRCS_FUL+=	StaticAnalyzer/Core/ConstraintManager.cpp
713SRCS_FUL+=	StaticAnalyzer/Core/CoreEngine.cpp
714SRCS_FUL+=	StaticAnalyzer/Core/DynamicExtent.cpp
715SRCS_FUL+=	StaticAnalyzer/Core/DynamicType.cpp
716SRCS_FUL+=	StaticAnalyzer/Core/Environment.cpp
717SRCS_FUL+=	StaticAnalyzer/Core/ExplodedGraph.cpp
718SRCS_FUL+=	StaticAnalyzer/Core/ExprEngine.cpp
719SRCS_FUL+=	StaticAnalyzer/Core/ExprEngineC.cpp
720SRCS_FUL+=	StaticAnalyzer/Core/ExprEngineCXX.cpp
721SRCS_FUL+=	StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
722SRCS_FUL+=	StaticAnalyzer/Core/ExprEngineObjC.cpp
723SRCS_FUL+=	StaticAnalyzer/Core/FunctionSummary.cpp
724SRCS_FUL+=	StaticAnalyzer/Core/HTMLDiagnostics.cpp
725SRCS_FUL+=	StaticAnalyzer/Core/LoopUnrolling.cpp
726SRCS_FUL+=	StaticAnalyzer/Core/LoopWidening.cpp
727SRCS_FUL+=	StaticAnalyzer/Core/MemRegion.cpp
728SRCS_FUL+=	StaticAnalyzer/Core/PlistDiagnostics.cpp
729SRCS_FUL+=	StaticAnalyzer/Core/ProgramState.cpp
730SRCS_FUL+=	StaticAnalyzer/Core/RangeConstraintManager.cpp
731SRCS_FUL+=	StaticAnalyzer/Core/RangedConstraintManager.cpp
732SRCS_FUL+=	StaticAnalyzer/Core/RegionStore.cpp
733SRCS_FUL+=	StaticAnalyzer/Core/SMTConstraintManager.cpp
734SRCS_FUL+=	StaticAnalyzer/Core/SValBuilder.cpp
735SRCS_FUL+=	StaticAnalyzer/Core/SVals.cpp
736SRCS_FUL+=	StaticAnalyzer/Core/SarifDiagnostics.cpp
737SRCS_FUL+=	StaticAnalyzer/Core/SimpleConstraintManager.cpp
738SRCS_FUL+=	StaticAnalyzer/Core/SimpleSValBuilder.cpp
739SRCS_FUL+=	StaticAnalyzer/Core/Store.cpp
740SRCS_FUL+=	StaticAnalyzer/Core/SymbolManager.cpp
741SRCS_FUL+=	StaticAnalyzer/Core/TextDiagnostics.cpp
742SRCS_FUL+=	StaticAnalyzer/Core/WorkList.cpp
743SRCS_FUL+=	StaticAnalyzer/Frontend/AnalysisConsumer.cpp
744SRCS_FUL+=	StaticAnalyzer/Frontend/AnalyzerHelpFlags.cpp
745SRCS_FUL+=	StaticAnalyzer/Frontend/CheckerRegistry.cpp
746SRCS_FUL+=	StaticAnalyzer/Frontend/CreateCheckerManager.cpp
747SRCS_FUL+=	StaticAnalyzer/Frontend/FrontendActions.cpp
748SRCS_FUL+=	StaticAnalyzer/Frontend/ModelConsumer.cpp
749SRCS_FUL+=	StaticAnalyzer/Frontend/ModelInjector.cpp
750SRCS_MIN+=	Support/RISCVVIntrinsicUtils.cpp
751SRCS_MIN+=	Tooling/ArgumentsAdjusters.cpp
752SRCS_MIN+=	Tooling/CommonOptionsParser.cpp
753SRCS_MIN+=	Tooling/CompilationDatabase.cpp
754SRCS_MIN+=	Tooling/Core/Replacement.cpp
755SRCS_MIN+=	Tooling/FileMatchTrie.cpp
756SRCS_EXT+=	Tooling/Inclusions/HeaderIncludes.cpp
757SRCS_EXT+=	Tooling/Inclusions/IncludeStyle.cpp
758SRCS_MIN+=	Tooling/JSONCompilationDatabase.cpp
759SRCS_MIN+=	Tooling/Refactoring.cpp
760SRCS_MIN+=	Tooling/RefactoringCallbacks.cpp
761SRCS_MIN+=	Tooling/Tooling.cpp
762
763SRCS_ALL+=	${SRCS_MIN}
764.if ${MK_CLANG_EXTRAS} != "no" || ${MK_CLANG_FORMAT} != "no"
765SRCS_ALL+=	${SRCS_EXT}
766.endif
767.if ${MK_CLANG_FULL} != "no"
768SRCS_ALL+=	${SRCS_FUL}
769.endif
770.if ${MK_LLDB} != "no"
771SRCS_ALL+=	${SRCS_LDB}
772.endif
773SRCS+=		${SRCS_ALL:O}
774
775clang/AST/AbstractBasicReader.inc: \
776	${CLANG_SRCS}/include/clang/AST/PropertiesBase.td
777	${CLANG_TBLGEN} -gen-clang-basic-reader \
778	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
779	    ${CLANG_SRCS}/include/clang/AST/PropertiesBase.td
780TGHDRS+=	clang/AST/AbstractBasicReader.inc
781
782clang/AST/AbstractBasicWriter.inc: \
783	${CLANG_SRCS}/include/clang/AST/PropertiesBase.td
784	${CLANG_TBLGEN} -gen-clang-basic-writer \
785	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
786	    ${CLANG_SRCS}/include/clang/AST/PropertiesBase.td
787TGHDRS+=	clang/AST/AbstractBasicWriter.inc
788
789clang/AST/AbstractTypeReader.inc: \
790	${CLANG_SRCS}/include/clang/AST/TypeProperties.td
791	${CLANG_TBLGEN} -gen-clang-type-reader \
792	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
793	    ${CLANG_SRCS}/include/clang/AST/TypeProperties.td
794TGHDRS+=	clang/AST/AbstractTypeReader.inc
795
796clang/AST/AbstractTypeWriter.inc: \
797	${CLANG_SRCS}/include/clang/AST/TypeProperties.td
798	${CLANG_TBLGEN} -gen-clang-type-writer \
799	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
800	    ${CLANG_SRCS}/include/clang/AST/TypeProperties.td
801TGHDRS+=	clang/AST/AbstractTypeWriter.inc
802
803clang/AST/AttrImpl.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
804	${CLANG_TBLGEN} -gen-clang-attr-impl \
805	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
806	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
807TGHDRS+=	clang/AST/AttrImpl.inc
808
809clang/AST/AttrNodeTraverse.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
810	${CLANG_TBLGEN} -gen-clang-attr-node-traverse \
811	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
812	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
813TGHDRS+=	clang/AST/AttrNodeTraverse.inc
814
815clang/AST/AttrTextNodeDump.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
816	${CLANG_TBLGEN} -gen-clang-attr-text-node-dump \
817	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
818	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
819TGHDRS+=	clang/AST/AttrTextNodeDump.inc
820
821clang/AST/AttrVisitor.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
822	${CLANG_TBLGEN} -gen-clang-attr-ast-visitor \
823	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
824	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
825TGHDRS+=	clang/AST/AttrVisitor.inc
826
827clang/AST/Attrs.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
828	${CLANG_TBLGEN} -gen-clang-attr-classes \
829	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
830	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
831TGHDRS+=	clang/AST/Attrs.inc
832
833clang/AST/CommentCommandInfo.inc: \
834	${CLANG_SRCS}/include/clang/AST/CommentCommands.td
835	${CLANG_TBLGEN} -gen-clang-comment-command-info \
836	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
837	    ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
838TGHDRS+=	clang/AST/CommentCommandInfo.inc
839
840clang/AST/CommentCommandList.inc: \
841	${CLANG_SRCS}/include/clang/AST/CommentCommands.td
842	${CLANG_TBLGEN} -gen-clang-comment-command-list \
843	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
844	    ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
845TGHDRS+=	clang/AST/CommentCommandList.inc
846
847clang/AST/CommentHTMLNamedCharacterReferences.inc: \
848	${CLANG_SRCS}/include/clang/AST/CommentHTMLNamedCharacterReferences.td
849	${CLANG_TBLGEN} -gen-clang-comment-html-named-character-references \
850	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
851	    ${CLANG_SRCS}/include/clang/AST/CommentHTMLNamedCharacterReferences.td
852TGHDRS+=	clang/AST/CommentHTMLNamedCharacterReferences.inc
853
854clang/AST/CommentHTMLTags.inc: \
855	${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
856	${CLANG_TBLGEN} -gen-clang-comment-html-tags \
857	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
858	    ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
859TGHDRS+=	clang/AST/CommentHTMLTags.inc
860
861clang/AST/CommentHTMLTagsProperties.inc: \
862	${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
863	${CLANG_TBLGEN} -gen-clang-comment-html-tags-properties \
864	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
865	    ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
866TGHDRS+=	clang/AST/CommentHTMLTagsProperties.inc
867
868clang/AST/CommentNodes.inc: ${CLANG_SRCS}/include/clang/Basic/CommentNodes.td
869	${CLANG_TBLGEN} -gen-clang-comment-nodes \
870	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
871	    ${CLANG_SRCS}/include/clang/Basic/CommentNodes.td
872TGHDRS+=	clang/AST/CommentNodes.inc
873
874clang/AST/DeclNodes.inc: ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td
875	${CLANG_TBLGEN} -gen-clang-decl-nodes \
876	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
877	    ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td
878TGHDRS+=	clang/AST/DeclNodes.inc
879
880clang/AST/StmtDataCollectors.inc: \
881	${CLANG_SRCS}/include/clang/AST/StmtDataCollectors.td
882	${CLANG_TBLGEN} -gen-clang-data-collectors \
883	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
884	    ${CLANG_SRCS}/include/clang/AST/StmtDataCollectors.td
885TGHDRS+=	clang/AST/StmtDataCollectors.inc
886
887clang/AST/StmtNodes.inc: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td
888	${CLANG_TBLGEN} -gen-clang-stmt-nodes \
889	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
890	    ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td
891TGHDRS+=	clang/AST/StmtNodes.inc
892
893clang/AST/TypeNodes.inc: ${CLANG_SRCS}/include/clang/Basic/TypeNodes.td
894	${CLANG_TBLGEN} -gen-clang-type-nodes \
895	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
896	    ${CLANG_SRCS}/include/clang/Basic/TypeNodes.td
897TGHDRS+=	clang/AST/TypeNodes.inc
898
899clang/Basic/AttrHasAttributeImpl.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
900	${CLANG_TBLGEN} -gen-clang-attr-has-attribute-impl \
901	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
902	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
903TGHDRS+=	clang/Basic/AttrHasAttributeImpl.inc
904
905clang/Basic/AttrList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
906	${CLANG_TBLGEN} -gen-clang-attr-list \
907	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
908	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
909TGHDRS+=	clang/Basic/AttrList.inc
910
911clang/Basic/AttrSubMatchRulesList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
912	${CLANG_TBLGEN} -gen-clang-attr-subject-match-rule-list \
913	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
914	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
915TGHDRS+=	clang/Basic/AttrSubMatchRulesList.inc
916
917.for hdr in \
918	AST Analysis Comment Common CrossTU Driver Frontend Lex Parse \
919	Refactoring Sema Serialization SemaSerialization
920clang/Basic/Diagnostic${hdr}Kinds.inc: \
921	${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
922	${CLANG_TBLGEN} -gen-clang-diags-defs -clang-component=${hdr} \
923	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
924	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
925TGHDRS+=	clang/Basic/Diagnostic${hdr}Kinds.inc
926.endfor
927
928clang/Basic/DiagnosticGroups.inc: \
929	${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
930	${CLANG_TBLGEN} -gen-clang-diag-groups \
931	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
932	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
933TGHDRS+=	clang/Basic/DiagnosticGroups.inc
934
935clang/Basic/DiagnosticIndexName.inc: \
936	${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
937	${CLANG_TBLGEN} -gen-clang-diags-index-name \
938	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
939	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
940TGHDRS+=	clang/Basic/DiagnosticIndexName.inc
941
942clang/Basic/arm_fp16.inc: ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td
943	${CLANG_TBLGEN} -gen-arm-neon-sema \
944	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
945	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td
946TGHDRS+=	clang/Basic/arm_fp16.inc
947
948clang/Basic/arm_neon.inc: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
949	${CLANG_TBLGEN} -gen-arm-neon-sema \
950	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
951	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
952TGHDRS+=	clang/Basic/arm_neon.inc
953
954clang/Basic/arm_cde_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
955	${CLANG_TBLGEN} -gen-arm-cde-builtin-def \
956	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
957	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
958TGHDRS+=	clang/Basic/arm_cde_builtins.inc
959
960clang/Basic/arm_cde_builtin_aliases.inc: \
961	${CLANG_SRCS}/include/clang/Basic/arm_cde.td
962	${CLANG_TBLGEN} -gen-arm-cde-builtin-aliases \
963	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
964	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
965TGHDRS+=	clang/Basic/arm_cde_builtin_aliases.inc
966
967clang/Basic/arm_cde_builtin_cg.inc: ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
968	${CLANG_TBLGEN} -gen-arm-cde-builtin-codegen \
969	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
970	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
971TGHDRS+=	clang/Basic/arm_cde_builtin_cg.inc
972
973clang/Basic/arm_cde_builtin_sema.inc: \
974	${CLANG_SRCS}/include/clang/Basic/arm_cde.td
975	${CLANG_TBLGEN} -gen-arm-cde-builtin-sema \
976	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
977	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
978TGHDRS+=	clang/Basic/arm_cde_builtin_sema.inc
979
980clang/Basic/arm_mve_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
981	${CLANG_TBLGEN} -gen-arm-mve-builtin-def \
982	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
983	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
984TGHDRS+=	clang/Basic/arm_mve_builtins.inc
985
986clang/Basic/arm_mve_builtin_aliases.inc: \
987	${CLANG_SRCS}/include/clang/Basic/arm_mve.td
988	${CLANG_TBLGEN} -gen-arm-mve-builtin-aliases \
989	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
990	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
991TGHDRS+=	clang/Basic/arm_mve_builtin_aliases.inc
992
993clang/Basic/arm_mve_builtin_cg.inc: ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
994	${CLANG_TBLGEN} -gen-arm-mve-builtin-codegen \
995	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
996	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
997TGHDRS+=	clang/Basic/arm_mve_builtin_cg.inc
998
999clang/Basic/arm_mve_builtin_sema.inc: \
1000	${CLANG_SRCS}/include/clang/Basic/arm_mve.td
1001	${CLANG_TBLGEN} -gen-arm-mve-builtin-sema \
1002	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1003	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
1004TGHDRS+=	clang/Basic/arm_mve_builtin_sema.inc
1005
1006clang/Basic/arm_sve_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1007	${CLANG_TBLGEN} -gen-arm-sve-builtins \
1008	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1009	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1010TGHDRS+=	clang/Basic/arm_sve_builtins.inc
1011
1012clang/Basic/arm_sve_builtin_cg.inc: ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1013	${CLANG_TBLGEN} -gen-arm-sve-builtin-codegen \
1014	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1015	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1016TGHDRS+=	clang/Basic/arm_sve_builtin_cg.inc
1017
1018clang/Basic/arm_sve_sema_rangechecks.inc: \
1019	${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1020	${CLANG_TBLGEN} -gen-arm-sve-sema-rangechecks \
1021	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1022	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1023TGHDRS+=	clang/Basic/arm_sve_sema_rangechecks.inc
1024
1025clang/Basic/arm_sve_typeflags.inc: \
1026	${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1027	${CLANG_TBLGEN} -gen-arm-sve-typeflags \
1028	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1029	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1030TGHDRS+=	clang/Basic/arm_sve_typeflags.inc
1031
1032clang/Basic/riscv_vector_builtins.inc: \
1033	${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1034	${CLANG_TBLGEN} -gen-riscv-vector-builtins \
1035	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1036	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1037TGHDRS+=	clang/Basic/riscv_vector_builtins.inc
1038
1039clang/Basic/riscv_vector_builtin_cg.inc: \
1040	${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1041	${CLANG_TBLGEN} -gen-riscv-vector-builtin-codegen \
1042	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1043	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1044TGHDRS+=	clang/Basic/riscv_vector_builtin_cg.inc
1045
1046clang/Basic/riscv_vector_builtin_sema.inc: \
1047	${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1048	${CLANG_TBLGEN} -gen-riscv-vector-builtin-sema \
1049	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1050	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1051TGHDRS+=	clang/Basic/riscv_vector_builtin_sema.inc
1052
1053clang/Driver/Options.inc: ${CLANG_SRCS}/include/clang/Driver/Options.td
1054	${LLVM_TBLGEN} -gen-opt-parser-defs \
1055	    -I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \
1056	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1057	    ${CLANG_SRCS}/include/clang/Driver/Options.td
1058TGHDRS+=	clang/Driver/Options.inc
1059
1060clang/Parse/AttrParserStringSwitches.inc: \
1061	${CLANG_SRCS}/include/clang/Basic/Attr.td
1062	${CLANG_TBLGEN} -gen-clang-attr-parser-string-switches \
1063	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1064	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1065TGHDRS+=	clang/Parse/AttrParserStringSwitches.inc
1066
1067clang/Parse/AttrSubMatchRulesParserStringSwitches.inc: \
1068	${CLANG_SRCS}/include/clang/Basic/Attr.td
1069	${CLANG_TBLGEN} -gen-clang-attr-subject-match-rules-parser-string-switches \
1070	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1071	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1072TGHDRS+=	clang/Parse/AttrSubMatchRulesParserStringSwitches.inc
1073
1074clang/Sema/AttrParsedAttrImpl.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1075	${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-impl \
1076	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1077	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1078TGHDRS+=	clang/Sema/AttrParsedAttrImpl.inc
1079
1080clang/Sema/AttrParsedAttrKinds.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1081	${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-kinds \
1082	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1083	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1084TGHDRS+=	clang/Sema/AttrParsedAttrKinds.inc
1085
1086clang/Sema/AttrParsedAttrList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1087	${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-list \
1088	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1089	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1090TGHDRS+=	clang/Sema/AttrParsedAttrList.inc
1091
1092clang/Sema/AttrSpellingListIndex.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1093	${CLANG_TBLGEN} -gen-clang-attr-spelling-index \
1094	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1095	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1096TGHDRS+=	clang/Sema/AttrSpellingListIndex.inc
1097
1098clang/Sema/AttrTemplateInstantiate.inc: \
1099	${CLANG_SRCS}/include/clang/Basic/Attr.td
1100	${CLANG_TBLGEN} -gen-clang-attr-template-instantiate \
1101	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1102	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1103TGHDRS+=	clang/Sema/AttrTemplateInstantiate.inc
1104
1105clang/Serialization/AttrPCHRead.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1106	${CLANG_TBLGEN} -gen-clang-attr-pch-read \
1107	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1108	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1109TGHDRS+=	clang/Serialization/AttrPCHRead.inc
1110
1111clang/Serialization/AttrPCHWrite.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1112	${CLANG_TBLGEN} -gen-clang-attr-pch-write \
1113	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1114	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1115TGHDRS+=	clang/Serialization/AttrPCHWrite.inc
1116
1117clang/StaticAnalyzer/Checkers/Checkers.inc: \
1118	${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/Checkers.td
1119	${CLANG_TBLGEN} -gen-clang-sa-checkers \
1120	    -I ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers \
1121	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1122	    ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/Checkers.td
1123TGHDRS+=	clang/StaticAnalyzer/Checkers/Checkers.inc
1124
1125Opcodes.inc: ${CLANG_SRCS}/lib/AST/Interp/Opcodes.td
1126	${CLANG_TBLGEN} -gen-clang-opcodes \
1127	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1128	    ${CLANG_SRCS}/lib/AST/Interp/Opcodes.td
1129TGHDRS+=	Opcodes.inc
1130
1131OpenCLBuiltins.inc: ${CLANG_SRCS}/lib/Sema/OpenCLBuiltins.td
1132	${CLANG_TBLGEN} -gen-clang-opencl-builtins \
1133	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1134	    ${CLANG_SRCS}/lib/Sema/OpenCLBuiltins.td
1135TGHDRS+=	OpenCLBuiltins.inc
1136
1137DEPENDFILES+=	${TGHDRS:C/$/.d/}
1138DPSRCS+=	${TGHDRS}
1139CLEANFILES+=	${TGHDRS} ${TGHDRS:C/$/.d/}
1140
1141.include "../clang.build.mk"
1142
1143INTERNALLIB=
1144
1145.include <bsd.lib.mk>
1146