blob: 9a26057df7714bfb5319feafa5cb196b8b28dcec [file] [log] [blame]
Shih-wei Liaoea285162010-06-04 12:34:56 -07001LOCAL_PATH:= $(call my-dir)
2
Shih-wei Liaoea285162010-06-04 12:34:56 -07003include $(CLEAR_TBLGEN_VARS)
4
5TBLGEN_TABLES := \
Stephen Hinescd376b62013-01-09 00:19:46 -08006 AttrDump.inc \
Shih-wei Liao3049ec92010-09-10 14:45:09 -07007 AttrImpl.inc \
8 AttrList.inc \
9 Attrs.inc \
Stephen Hines651f13c2014-04-23 16:59:28 -070010 AttrVisitor.inc \
Stephen Hinese5cc4c92012-09-10 20:14:21 -070011 CommentCommandInfo.inc \
Stephen Hinesbd3aca02013-03-05 23:41:44 -080012 CommentCommandList.inc \
13 CommentHTMLNamedCharacterReferences.inc \
Stephen Hines210d8aa2012-09-13 19:33:19 -070014 CommentHTMLTags.inc \
Stephen Hinese5cc4c92012-09-10 20:14:21 -070015 CommentHTMLTagsProperties.inc \
Shih-wei Liaoee959352012-08-03 01:19:05 -070016 CommentNodes.inc \
Shih-wei Liao3049ec92010-09-10 14:45:09 -070017 DeclNodes.inc \
Shih-wei Liaoea285162010-06-04 12:34:56 -070018 DiagnosticASTKinds.inc \
Shih-wei Liaoee959352012-08-03 01:19:05 -070019 DiagnosticCommentKinds.inc \
Logan9c64df22011-02-15 06:27:21 +080020 DiagnosticCommonKinds.inc \
Stephen Hines176edba2014-12-01 14:53:08 -080021 DiagnosticFrontendKinds.inc \
Logan9c64df22011-02-15 06:27:21 +080022 DiagnosticSemaKinds.inc \
Shih-wei Liao3049ec92010-09-10 14:45:09 -070023 StmtNodes.inc
Shih-wei Liaoea285162010-06-04 12:34:56 -070024
Stephen Hines176edba2014-12-01 14:53:08 -080025clang_ast_SRC_FILES := \
26 APValue.cpp \
27 ASTConsumer.cpp \
28 ASTContext.cpp \
29 ASTDiagnostic.cpp \
30 ASTDumper.cpp \
31 ASTImporter.cpp \
32 ASTTypeTraits.cpp \
33 AttrImpl.cpp \
34 CommentBriefParser.cpp \
35 CommentCommandTraits.cpp \
36 Comment.cpp \
37 CommentLexer.cpp \
38 CommentParser.cpp \
39 CommentSema.cpp \
40 CXXInheritance.cpp \
41 DeclarationName.cpp \
42 DeclBase.cpp \
43 Decl.cpp \
44 DeclCXX.cpp \
45 DeclFriend.cpp \
46 DeclGroup.cpp \
47 DeclObjC.cpp \
48 DeclOpenMP.cpp \
49 DeclPrinter.cpp \
50 DeclTemplate.cpp \
51 ExprClassification.cpp \
52 ExprConstant.cpp \
53 Expr.cpp \
54 ExprCXX.cpp \
55 ExternalASTSource.cpp \
56 InheritViz.cpp \
57 ItaniumCXXABI.cpp \
58 ItaniumMangle.cpp \
59 Mangle.cpp \
60 MicrosoftCXXABI.cpp \
61 MicrosoftMangle.cpp \
62 NestedNameSpecifier.cpp \
63 NSAPI.cpp \
64 ParentMap.cpp \
65 RawCommentList.cpp \
66 RecordLayoutBuilder.cpp \
67 RecordLayout.cpp \
68 SelectorLocationsKind.cpp \
69 Stmt.cpp \
70 StmtIterator.cpp \
71 StmtPrinter.cpp \
72 StmtProfile.cpp \
73 StmtViz.cpp \
74 TemplateBase.cpp \
75 TemplateName.cpp \
76 Type.cpp \
77 TypeLoc.cpp \
78 TypePrinter.cpp \
79 VTableBuilder.cpp \
80 VTTBuilder.cpp
Shih-wei Liaoea285162010-06-04 12:34:56 -070081
Tong Shene5599602014-09-19 12:02:00 -070082# For the host
83# =====================================================
84include $(CLEAR_VARS)
85
Shih-wei Liaoea285162010-06-04 12:34:56 -070086LOCAL_SRC_FILES := $(clang_ast_SRC_FILES)
Shih-wei Liaoea285162010-06-04 12:34:56 -070087LOCAL_MODULE:= libclangAST
Stephen Hinesb0406cc2010-10-06 14:12:13 -070088LOCAL_MODULE_TAGS := optional
Shih-wei Liaoea285162010-06-04 12:34:56 -070089
90include $(CLANG_HOST_BUILD_MK)
91include $(CLANG_TBLGEN_RULES_MK)
92include $(BUILD_HOST_STATIC_LIBRARY)
Tong Shene5599602014-09-19 12:02:00 -070093
94# For the target
95# =====================================================
96include $(CLEAR_VARS)
97
98LOCAL_SRC_FILES := $(clang_ast_SRC_FILES)
99LOCAL_MODULE:= libclangAST
100LOCAL_MODULE_TAGS := optional
101
102include $(CLANG_DEVICE_BUILD_MK)
103include $(CLANG_TBLGEN_RULES_MK)
104include $(BUILD_STATIC_LIBRARY)