1#	$NetBSD: Makefile,v 1.4 2021/05/30 01:56:55 joerg Exp $
2
3LIB=	clangAST
4
5.include <bsd.init.mk>
6
7.PATH: ${CLANG_SRCDIR}/lib/AST
8
9SRCS+=	APValue.cpp \
10	ASTConcept.cpp \
11	ASTConsumer.cpp \
12	ASTContext.cpp \
13	ASTDiagnostic.cpp \
14	ASTDumper.cpp \
15	ASTImporter.cpp \
16	ASTImporterLookupTable.cpp \
17	ASTStructuralEquivalence.cpp \
18	ASTTypeTraits.cpp \
19	AttrImpl.cpp \
20	CommentBriefParser.cpp \
21	CommentCommandTraits.cpp \
22	Comment.cpp \
23	CommentLexer.cpp \
24	CommentParser.cpp \
25	CommentSema.cpp \
26	ComparisonCategories.cpp \
27	ComputeDependence.cpp \
28	CXXInheritance.cpp \
29	DataCollection.cpp \
30	DeclarationName.cpp \
31	DeclBase.cpp \
32	Decl.cpp \
33	DeclCXX.cpp \
34	DeclFriend.cpp \
35	DeclGroup.cpp \
36	DeclObjC.cpp \
37	DeclOpenMP.cpp \
38	DeclPrinter.cpp \
39	DeclTemplate.cpp \
40	ExprClassification.cpp \
41	ExprConcepts.cpp \
42	ExprConstant.cpp \
43	Expr.cpp \
44	ExprCXX.cpp \
45	ExprObjC.cpp \
46	ExternalASTMerger.cpp \
47	ExternalASTSource.cpp \
48	FormatString.cpp \
49	InheritViz.cpp \
50	ItaniumCXXABI.cpp \
51	ItaniumMangle.cpp \
52	JSONNodeDumper.cpp \
53	Mangle.cpp \
54	MicrosoftCXXABI.cpp \
55	MicrosoftMangle.cpp \
56	NestedNameSpecifier.cpp \
57	NSAPI.cpp \
58	ODRHash.cpp \
59	OpenMPClause.cpp \
60	OSLog.cpp \
61	ParentMapContext.cpp \
62	ParentMap.cpp \
63	PrintfFormatString.cpp \
64	QualTypeNames.cpp \
65	RawCommentList.cpp \
66	RecordLayoutBuilder.cpp \
67	RecordLayout.cpp \
68	ScanfFormatString.cpp \
69	SelectorLocationsKind.cpp \
70	Stmt.cpp \
71	StmtCXX.cpp \
72	StmtIterator.cpp \
73	StmtObjC.cpp \
74	StmtOpenMP.cpp \
75	StmtPrinter.cpp \
76	StmtProfile.cpp \
77	StmtViz.cpp \
78	TemplateBase.cpp \
79	TemplateName.cpp \
80	TextNodeDumper.cpp \
81	Type.cpp \
82	TypeLoc.cpp \
83	TypePrinter.cpp \
84	VTableBuilder.cpp \
85	VTTBuilder.cpp
86
87.PATH: ${CLANG_SRCDIR}/lib/AST/Interp
88
89SRCS+=	ByteCodeEmitter.cpp \
90	ByteCodeExprGen.cpp \
91	ByteCodeGenError.cpp \
92	ByteCodeStmtGen.cpp \
93	Context.cpp \
94	Descriptor.cpp \
95	Disasm.cpp \
96	EvalEmitter.cpp \
97	Frame.cpp \
98	Function.cpp \
99	Interp.cpp \
100	InterpBlock.cpp \
101	InterpFrame.cpp \
102	InterpStack.cpp \
103	InterpState.cpp \
104	Pointer.cpp \
105	PrimType.cpp \
106	Program.cpp \
107	Record.cpp \
108	Source.cpp \
109	State.cpp
110
111CLANG_TABLEGEN_SRC=	Opcodes.td
112CLANG_TABLEGEN_OUTPUT= \
113	Opcodes.inc|-gen-clang-opcodes
114
115.include "${.PARSEDIR}/../../tablegen.mk"
116
117.if defined(HOSTLIB)
118.include <bsd.hostlib.mk>
119.else
120.include <bsd.lib.mk>
121.endif
122