1LOCAL_PATH:= $(call my-dir)
2
3# For the host only
4# =====================================================
5include $(CLEAR_VARS)
6include $(CLEAR_TBLGEN_VARS)
7
8TBLGEN_TABLES :=    \
9	AttrList.inc	\
10	Attrs.inc	\
11	AttrParsedAttrKinds.inc    \
12	AttrParsedAttrImpl.inc    \
13	AttrParsedAttrList.inc    \
14	AttrSpellingListIndex.inc \
15	AttrTemplateInstantiate.inc	\
16        AttrVisitor.inc \
17	CommentCommandList.inc \
18	CommentNodes.inc \
19	DeclNodes.inc	\
20	DiagnosticASTKinds.inc	\
21	DiagnosticSemaKinds.inc	\
22	DiagnosticParseKinds.inc	\
23	DiagnosticCommentKinds.inc \
24	DiagnosticCommonKinds.inc	\
25	StmtNodes.inc	\
26	arm_neon.inc
27
28clang_sema_SRC_FILES :=	\
29	AnalysisBasedWarnings.cpp	\
30	AttributeList.cpp	\
31	CodeCompleteConsumer.cpp	\
32	DeclSpec.cpp	\
33	IdentifierResolver.cpp	\
34	DelayedDiagnostic.cpp \
35	JumpDiagnostics.cpp	\
36	MultiplexExternalSemaSource.cpp \
37	Scope.cpp \
38	ScopeInfo.cpp \
39	Sema.cpp	\
40	SemaAccess.cpp	\
41	SemaAttr.cpp	\
42	SemaCXXScopeSpec.cpp	\
43	SemaCast.cpp \
44	SemaChecking.cpp	\
45	SemaCodeComplete.cpp	\
46	SemaConsumer.cpp	\
47	SemaDecl.cpp	\
48	SemaDeclAttr.cpp	\
49	SemaDeclCXX.cpp	\
50	SemaDeclObjC.cpp	\
51	SemaExceptionSpec.cpp	\
52	SemaExpr.cpp	\
53	SemaExprCXX.cpp	\
54	SemaExprMember.cpp \
55	SemaExprObjC.cpp	\
56	SemaFixItUtils.cpp \
57	SemaInit.cpp	\
58	SemaLambda.cpp	\
59	SemaLookup.cpp	\
60	SemaObjCProperty.cpp	\
61	SemaOpenMP.cpp	\
62	SemaOverload.cpp	\
63	SemaPseudoObject.cpp	\
64	SemaStmt.cpp	\
65        SemaStmtAsm.cpp \
66        SemaStmtAttr.cpp \
67	SemaTemplate.cpp	\
68	SemaTemplateDeduction.cpp	\
69	SemaTemplateInstantiate.cpp	\
70	SemaTemplateInstantiateDecl.cpp	\
71	SemaTemplateVariadic.cpp	\
72	SemaType.cpp	\
73	TypeLocBuilder.cpp
74
75LOCAL_SRC_FILES := $(clang_sema_SRC_FILES)
76
77LOCAL_MODULE:= libclangSema
78LOCAL_MODULE_TAGS := optional
79
80LOCAL_MODULE_TAGS := optional
81
82include $(CLANG_HOST_BUILD_MK)
83include $(CLANG_TBLGEN_RULES_MK)
84include $(BUILD_HOST_STATIC_LIBRARY)
85