Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 3 | include $(CLEAR_TBLGEN_VARS) |
| 4 | |
| 5 | TBLGEN_TABLES := \ |
Stephen Hines | cd376b6 | 2013-01-09 00:19:46 -0800 | [diff] [blame] | 6 | AttrDump.inc \ |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 7 | AttrImpl.inc \ |
| 8 | AttrList.inc \ |
| 9 | Attrs.inc \ |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 10 | AttrVisitor.inc \ |
Stephen Hines | e5cc4c9 | 2012-09-10 20:14:21 -0700 | [diff] [blame] | 11 | CommentCommandInfo.inc \ |
Stephen Hines | bd3aca0 | 2013-03-05 23:41:44 -0800 | [diff] [blame] | 12 | CommentCommandList.inc \ |
| 13 | CommentHTMLNamedCharacterReferences.inc \ |
Stephen Hines | 210d8aa | 2012-09-13 19:33:19 -0700 | [diff] [blame] | 14 | CommentHTMLTags.inc \ |
Stephen Hines | e5cc4c9 | 2012-09-10 20:14:21 -0700 | [diff] [blame] | 15 | CommentHTMLTagsProperties.inc \ |
Shih-wei Liao | ee95935 | 2012-08-03 01:19:05 -0700 | [diff] [blame] | 16 | CommentNodes.inc \ |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 17 | DeclNodes.inc \ |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 18 | DiagnosticASTKinds.inc \ |
Shih-wei Liao | ee95935 | 2012-08-03 01:19:05 -0700 | [diff] [blame] | 19 | DiagnosticCommentKinds.inc \ |
Logan | 9c64df2 | 2011-02-15 06:27:21 +0800 | [diff] [blame] | 20 | DiagnosticCommonKinds.inc \ |
Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame^] | 21 | DiagnosticFrontendKinds.inc \ |
Logan | 9c64df2 | 2011-02-15 06:27:21 +0800 | [diff] [blame] | 22 | DiagnosticSemaKinds.inc \ |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 23 | StmtNodes.inc |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 24 | |
Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame^] | 25 | clang_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 Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 81 | |
Tong Shen | e559960 | 2014-09-19 12:02:00 -0700 | [diff] [blame] | 82 | # For the host |
| 83 | # ===================================================== |
| 84 | include $(CLEAR_VARS) |
| 85 | |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 86 | LOCAL_SRC_FILES := $(clang_ast_SRC_FILES) |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 87 | LOCAL_MODULE:= libclangAST |
Stephen Hines | b0406cc | 2010-10-06 14:12:13 -0700 | [diff] [blame] | 88 | LOCAL_MODULE_TAGS := optional |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 89 | |
| 90 | include $(CLANG_HOST_BUILD_MK) |
| 91 | include $(CLANG_TBLGEN_RULES_MK) |
| 92 | include $(BUILD_HOST_STATIC_LIBRARY) |
Tong Shen | e559960 | 2014-09-19 12:02:00 -0700 | [diff] [blame] | 93 | |
| 94 | # For the target |
| 95 | # ===================================================== |
| 96 | include $(CLEAR_VARS) |
| 97 | |
| 98 | LOCAL_SRC_FILES := $(clang_ast_SRC_FILES) |
| 99 | LOCAL_MODULE:= libclangAST |
| 100 | LOCAL_MODULE_TAGS := optional |
| 101 | |
| 102 | include $(CLANG_DEVICE_BUILD_MK) |
| 103 | include $(CLANG_TBLGEN_RULES_MK) |
| 104 | include $(BUILD_STATIC_LIBRARY) |