1LOCAL_PATH:= $(call my-dir)
2
3# For the host only
4# =====================================================
5include $(CLEAR_VARS)
6include $(CLEAR_TBLGEN_VARS)
7
8TBLGEN_TABLES :=    \
9	AttrDump.inc	\
10	AttrImpl.inc	\
11	AttrList.inc	\
12	Attrs.inc	\
13        AttrVisitor.inc \
14	CommentCommandInfo.inc \
15	CommentCommandList.inc \
16	CommentHTMLNamedCharacterReferences.inc \
17	CommentHTMLTags.inc \
18	CommentHTMLTagsProperties.inc \
19	CommentNodes.inc \
20	DeclNodes.inc	\
21	DiagnosticASTKinds.inc	\
22	DiagnosticCommentKinds.inc \
23	DiagnosticCommonKinds.inc	\
24	DiagnosticSemaKinds.inc	\
25	StmtNodes.inc
26
27clang_ast_SRC_FILES :=	\
28	APValue.cpp	\
29	ASTConsumer.cpp	\
30	ASTContext.cpp	\
31	ASTDiagnostic.cpp	\
32	ASTDumper.cpp	\
33	ASTImporter.cpp	\
34	ASTTypeTraits.cpp \
35	AttrImpl.cpp	\
36	Comment.cpp \
37	CommentBriefParser.cpp \
38	CommentCommandTraits.cpp \
39	CommentLexer.cpp \
40	CommentParser.cpp \
41	CommentSema.cpp \
42	CXXInheritance.cpp	\
43	Decl.cpp	\
44	DeclarationName.cpp	\
45	DeclBase.cpp	\
46	DeclCXX.cpp	\
47	DeclFriend.cpp	\
48	DeclGroup.cpp	\
49	DeclObjC.cpp	\
50	DeclOpenMP.cpp	\
51	DeclPrinter.cpp	\
52	DeclTemplate.cpp	\
53	Expr.cpp	\
54	ExprClassification.cpp	\
55	ExprConstant.cpp	\
56	ExprCXX.cpp	\
57	ExternalASTSource.cpp	\
58	InheritViz.cpp	\
59	ItaniumCXXABI.cpp	\
60	ItaniumMangle.cpp	\
61	Mangle.cpp	\
62	MangleNumberingContext.cpp \
63	MicrosoftCXXABI.cpp	\
64	MicrosoftMangle.cpp	\
65	NestedNameSpecifier.cpp	\
66        NSAPI.cpp       \
67	ParentMap.cpp	\
68	RecordLayout.cpp	\
69	RecordLayoutBuilder.cpp	\
70	RawCommentList.cpp \
71	SelectorLocationsKind.cpp \
72	Stmt.cpp	\
73	StmtIterator.cpp	\
74	StmtPrinter.cpp	\
75	StmtProfile.cpp	\
76	StmtViz.cpp	\
77	TemplateBase.cpp	\
78	TemplateName.cpp	\
79	Type.cpp	\
80	TypeLoc.cpp	\
81	TypePrinter.cpp \
82	VTTBuilder.cpp \
83	VTableBuilder.cpp
84
85LOCAL_SRC_FILES := $(clang_ast_SRC_FILES)
86
87LOCAL_MODULE:= libclangAST
88LOCAL_MODULE_TAGS := optional
89
90LOCAL_MODULE_TAGS := optional
91
92include $(CLANG_HOST_BUILD_MK)
93include $(CLANG_TBLGEN_RULES_MK)
94include $(BUILD_HOST_STATIC_LIBRARY)
95