Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 1 | ########################################################### |
| 2 | ## TableGen: Compile .td files to .inc. |
| 3 | ########################################################### |
| 4 | ifeq ($(LOCAL_MODULE_CLASS),) |
| 5 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 6 | endif |
| 7 | |
| 8 | ifneq ($(strip $(TBLGEN_TABLES)),) |
| 9 | |
| 10 | intermediates := $(call local-intermediates-dir) |
| 11 | |
Stephen Hines | cd376b6 | 2013-01-09 00:19:46 -0800 | [diff] [blame^] | 12 | ifneq ($(findstring AttrDump.inc,$(TBLGEN_TABLES)),) |
| 13 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/AttrDump.inc |
| 14 | $(intermediates)/include/clang/AST/AttrDump.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
| 15 | $(intermediates)/include/clang/AST/AttrDump.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(CLANG_TBLGEN) |
| 16 | $(call transform-host-clang-td-to-out,clang-attr-dump) |
| 17 | endif |
| 18 | |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 19 | ifneq ($(findstring AttrImpl.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 20 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/AttrImpl.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 21 | $(intermediates)/include/clang/AST/AttrImpl.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 22 | $(intermediates)/include/clang/AST/AttrImpl.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 23 | $(call transform-host-clang-td-to-out,clang-attr-impl) |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 24 | endif |
| 25 | |
| 26 | ifneq ($(findstring AttrList.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 27 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Basic/AttrList.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 28 | $(intermediates)/include/clang/Basic/AttrList.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 29 | $(intermediates)/include/clang/Basic/AttrList.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 30 | $(call transform-host-clang-td-to-out,clang-attr-list) |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 31 | endif |
| 32 | |
Logan | 9c64df2 | 2011-02-15 06:27:21 +0800 | [diff] [blame] | 33 | ifneq ($(findstring AttrSpellings.inc,$(TBLGEN_TABLES)),) |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 34 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Lex/AttrSpellings.inc |
| 35 | $(intermediates)/include/clang/Lex/AttrSpellings.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 36 | $(intermediates)/include/clang/Lex/AttrSpellings.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 37 | $(call transform-host-clang-td-to-out,clang-attr-spelling-list) |
Logan | 9c64df2 | 2011-02-15 06:27:21 +0800 | [diff] [blame] | 38 | endif |
| 39 | |
Logan | 150e0ef | 2011-01-19 10:29:26 +0800 | [diff] [blame] | 40 | ifneq ($(findstring AttrPCHRead.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 41 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Serialization/AttrPCHRead.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 42 | $(intermediates)/include/clang/Serialization/AttrPCHRead.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 43 | $(intermediates)/include/clang/Serialization/AttrPCHRead.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 44 | $(call transform-host-clang-td-to-out,clang-attr-pch-read) |
Logan | 150e0ef | 2011-01-19 10:29:26 +0800 | [diff] [blame] | 45 | endif |
| 46 | |
| 47 | ifneq ($(findstring AttrPCHWrite.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 48 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Serialization/AttrPCHWrite.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 49 | $(intermediates)/include/clang/Serialization/AttrPCHWrite.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 50 | $(intermediates)/include/clang/Serialization/AttrPCHWrite.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 51 | $(call transform-host-clang-td-to-out,clang-attr-pch-write) |
| 52 | endif |
| 53 | |
| 54 | ifneq ($(findstring AttrLateParsed.inc,$(TBLGEN_TABLES)),) |
| 55 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Parse/AttrLateParsed.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 56 | $(intermediates)/include/clang/Parse/AttrLateParsed.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 57 | $(intermediates)/include/clang/Parse/AttrLateParsed.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 58 | $(call transform-host-clang-td-to-out,clang-attr-late-parsed-list) |
Logan | 150e0ef | 2011-01-19 10:29:26 +0800 | [diff] [blame] | 59 | endif |
| 60 | |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 61 | ifneq ($(findstring Attrs.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 62 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/Attrs.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 63 | $(intermediates)/include/clang/AST/Attrs.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 64 | $(intermediates)/include/clang/AST/Attrs.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 65 | $(call transform-host-clang-td-to-out,clang-attr-classes) |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 66 | endif |
| 67 | |
Shih-wei Liao | 560ad31 | 2012-03-22 11:50:56 -0700 | [diff] [blame] | 68 | ifneq ($(findstring AttrParsedAttrKinds.inc,$(TBLGEN_TABLES)),) |
| 69 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Sema/AttrParsedAttrKinds.inc |
| 70 | $(intermediates)/include/clang/Sema/AttrParsedAttrKinds.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
| 71 | $(intermediates)/include/clang/Sema/AttrParsedAttrKinds.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(CLANG_TBLGEN) |
| 72 | $(call transform-host-clang-td-to-out,clang-attr-parsed-attr-kinds) |
| 73 | endif |
| 74 | |
| 75 | ifneq ($(findstring AttrParsedAttrList.inc,$(TBLGEN_TABLES)),) |
| 76 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Sema/AttrParsedAttrList.inc |
| 77 | $(intermediates)/include/clang/Sema/AttrParsedAttrList.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
| 78 | $(intermediates)/include/clang/Sema/AttrParsedAttrList.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(CLANG_TBLGEN) |
| 79 | $(call transform-host-clang-td-to-out,clang-attr-parsed-attr-list) |
| 80 | endif |
| 81 | |
Stephen Hines | 3610355 | 2012-03-05 15:04:58 -0800 | [diff] [blame] | 82 | ifneq ($(findstring AttrTemplateInstantiate.inc,$(TBLGEN_TABLES)),) |
| 83 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Sema/AttrTemplateInstantiate.inc |
| 84 | $(intermediates)/include/clang/Sema/AttrTemplateInstantiate.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
| 85 | $(intermediates)/include/clang/Sema/AttrTemplateInstantiate.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(CLANG_TBLGEN) |
| 86 | $(call transform-host-clang-td-to-out,clang-attr-template-instantiate) |
| 87 | endif |
| 88 | |
Logan Chien | c805eb9 | 2011-03-08 02:13:34 +0800 | [diff] [blame] | 89 | ifneq ($(findstring Checkers.inc,$(TBLGEN_TABLES)),) |
| 90 | LOCAL_GENERATED_SOURCES += $(intermediates)/Checkers.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 91 | $(intermediates)/Checkers.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | c805eb9 | 2011-03-08 02:13:34 +0800 | [diff] [blame] | 92 | $(intermediates)/Checkers.inc: \ |
| 93 | $(CLANG_ROOT_PATH)/lib/StaticAnalyzer/Checkers/Checkers.td \ |
| 94 | $(CLANG_ROOT_PATH)/include/clang/StaticAnalyzer/Checkers/CheckerBase.td \ |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 95 | $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 96 | $(call transform-host-clang-td-to-out,clang-sa-checkers) |
Logan Chien | c805eb9 | 2011-03-08 02:13:34 +0800 | [diff] [blame] | 97 | endif |
| 98 | |
Stephen Hines | e5cc4c9 | 2012-09-10 20:14:21 -0700 | [diff] [blame] | 99 | ifneq ($(findstring CommentCommandInfo.inc,$(TBLGEN_TABLES)),) |
| 100 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/CommentCommandInfo.inc |
| 101 | $(intermediates)/include/clang/AST/CommentCommandInfo.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
| 102 | $(intermediates)/include/clang/AST/CommentCommandInfo.inc: \ |
| 103 | $(CLANG_ROOT_PATH)/include/clang/AST/CommentCommands.td \ |
| 104 | $(CLANG_TBLGEN) |
| 105 | $(call transform-host-clang-td-to-out,clang-comment-command-info) |
| 106 | endif |
| 107 | |
| 108 | ifneq ($(findstring CommentHTMLTagsProperties.inc,$(TBLGEN_TABLES)),) |
| 109 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/CommentHTMLTagsProperties.inc |
| 110 | $(intermediates)/include/clang/AST/CommentHTMLTagsProperties.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
| 111 | $(intermediates)/include/clang/AST/CommentHTMLTagsProperties.inc: \ |
| 112 | $(CLANG_ROOT_PATH)/include/clang/AST/CommentHTMLTags.td \ |
| 113 | $(CLANG_TBLGEN) |
| 114 | $(call transform-host-clang-td-to-out,clang-comment-html-tags-properties) |
| 115 | endif |
| 116 | |
Stephen Hines | 210d8aa | 2012-09-13 19:33:19 -0700 | [diff] [blame] | 117 | ifneq ($(findstring CommentHTMLTags.inc,$(TBLGEN_TABLES)),) |
| 118 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/CommentHTMLTags.inc |
| 119 | $(intermediates)/include/clang/AST/CommentHTMLTags.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
| 120 | $(intermediates)/include/clang/AST/CommentHTMLTags.inc: \ |
| 121 | $(CLANG_ROOT_PATH)/include/clang/AST/CommentHTMLTags.td \ |
| 122 | $(CLANG_TBLGEN) |
| 123 | $(call transform-host-clang-td-to-out,clang-comment-html-tags) |
| 124 | endif |
| 125 | |
Shih-wei Liao | ee95935 | 2012-08-03 01:19:05 -0700 | [diff] [blame] | 126 | ifneq ($(findstring CommentNodes.inc,$(TBLGEN_TABLES)),) |
| 127 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/CommentNodes.inc |
| 128 | $(intermediates)/include/clang/AST/CommentNodes.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
| 129 | $(intermediates)/include/clang/AST/CommentNodes.inc: \ |
| 130 | $(CLANG_ROOT_PATH)/include/clang/Basic/CommentNodes.td \ |
| 131 | $(CLANG_TBLGEN) |
| 132 | $(call transform-host-clang-td-to-out,clang-comment-nodes) |
| 133 | endif |
| 134 | |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 135 | ifneq ($(filter Diagnostic%Kinds.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 136 | LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/include/clang/Basic/,$(filter Diagnostic%Kinds.inc,$(TBLGEN_TABLES))) |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 137 | $(intermediates)/include/clang/Basic/Diagnostic%Kinds.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Stephen Hines | 2302b81 | 2012-07-26 17:37:59 -0700 | [diff] [blame] | 138 | $(intermediates)/include/clang/Basic/Diagnostic%Kinds.inc: \ |
| 139 | $(CLANG_ROOT_PATH)/include/clang/Basic/Diagnostic.td \ |
| 140 | $(CLANG_ROOT_PATH)/include/clang/Basic/Diagnostic%Kinds.td \ |
| 141 | $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 142 | $(call transform-host-clang-td-to-out,clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.inc,%,$(@F))) |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 143 | endif |
| 144 | |
| 145 | ifneq ($(findstring DiagnosticGroups.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 146 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Basic/DiagnosticGroups.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 147 | $(intermediates)/include/clang/Basic/DiagnosticGroups.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 148 | $(intermediates)/include/clang/Basic/DiagnosticGroups.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Diagnostic.td $(CLANG_ROOT_PATH)/include/clang/Basic/DiagnosticGroups.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 149 | $(call transform-host-clang-td-to-out,clang-diag-groups) |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 150 | endif |
| 151 | |
Nowar Gu | 0c115a1 | 2011-05-14 13:42:21 +0800 | [diff] [blame] | 152 | ifneq ($(findstring DiagnosticIndexName.inc,$(TBLGEN_TABLES)),) |
| 153 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Basic/DiagnosticIndexName.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 154 | $(intermediates)/include/clang/Basic/DiagnosticIndexName.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 155 | $(intermediates)/include/clang/Basic/DiagnosticIndexName.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Diagnostic.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 156 | $(call transform-host-clang-td-to-out,clang-diag-groups) |
Nowar Gu | 0c115a1 | 2011-05-14 13:42:21 +0800 | [diff] [blame] | 157 | endif |
| 158 | |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 159 | ifneq ($(findstring DeclNodes.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 160 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/DeclNodes.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 161 | $(intermediates)/include/clang/AST/DeclNodes.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 162 | $(intermediates)/include/clang/AST/DeclNodes.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/DeclNodes.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 163 | $(call transform-host-clang-td-to-out,clang-decl-nodes) |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 164 | endif |
| 165 | |
| 166 | ifneq ($(findstring StmtNodes.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 167 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/StmtNodes.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 168 | $(intermediates)/include/clang/AST/StmtNodes.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 169 | $(intermediates)/include/clang/AST/StmtNodes.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/StmtNodes.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 170 | $(call transform-host-clang-td-to-out,clang-stmt-nodes) |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 171 | endif |
| 172 | |
| 173 | ifneq ($(findstring arm_neon.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 174 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Basic/arm_neon.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 175 | $(intermediates)/include/clang/Basic/arm_neon.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 176 | $(intermediates)/include/clang/Basic/arm_neon.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/arm_neon.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 177 | $(call transform-host-clang-td-to-out,arm-neon-sema) |
Shih-wei Liao | 3049ec9 | 2010-09-10 14:45:09 -0700 | [diff] [blame] | 178 | endif |
| 179 | |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 180 | ifneq ($(findstring Options.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 181 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Driver/Options.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 182 | $(intermediates)/include/clang/Driver/Options.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Shih-wei Liao | ee95935 | 2012-08-03 01:19:05 -0700 | [diff] [blame] | 183 | $(intermediates)/include/clang/Driver/Options.inc: $(CLANG_ROOT_PATH)/include/clang/Driver/Options.td $(CLANG_ROOT_PATH)/include/clang/Driver/OptParser.td $(CLANG_TBLGEN) $(CLANG_ROOT_PATH)/include/clang/Driver/CC1Options.td |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 184 | $(call transform-host-clang-td-to-out,opt-parser-defs) |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 185 | endif |
| 186 | |
Logan | 150e0ef | 2011-01-19 10:29:26 +0800 | [diff] [blame] | 187 | ifneq ($(findstring CC1AsOptions.inc,$(TBLGEN_TABLES)),) |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 188 | LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/Driver/CC1AsOptions.inc |
Logan Chien | 93e534a | 2011-12-16 17:39:13 +0800 | [diff] [blame] | 189 | $(intermediates)/include/clang/Driver/CC1AsOptions.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 190 | $(intermediates)/include/clang/Driver/CC1AsOptions.inc: $(CLANG_ROOT_PATH)/include/clang/Driver/CC1AsOptions.td $(CLANG_ROOT_PATH)/include/clang/Driver/OptParser.td $(CLANG_TBLGEN) |
Logan Chien | fe6bd6d | 2011-10-21 15:03:07 +0800 | [diff] [blame] | 191 | $(call transform-host-clang-td-to-out,opt-parser-defs) |
Logan | 150e0ef | 2011-01-19 10:29:26 +0800 | [diff] [blame] | 192 | endif |
| 193 | |
Logan | ac774a7 | 2011-01-19 12:06:46 +0800 | [diff] [blame] | 194 | LOCAL_C_INCLUDES += $(intermediates)/include |
| 195 | |
Shih-wei Liao | 200213f | 2010-06-07 22:05:52 -0700 | [diff] [blame] | 196 | endif |