summaryrefslogtreecommitdiff
path: root/include/clang/Basic/Makefile
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-03-27 22:12:09 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-03-27 22:12:09 +0000
commit28dc6f98d23f665e6be451cf0dce4dfefaeff9ae (patch)
tree4951d4b7b7198a93eb8fa3172d8a20cf895c4a29 /include/clang/Basic/Makefile
parent297e5869c5c643cb01a535b626ed787e8ecb4a72 (diff)
downloadclang-28dc6f98d23f665e6be451cf0dce4dfefaeff9ae.tar.gz
clang-28dc6f98d23f665e6be451cf0dce4dfefaeff9ae.tar.bz2
clang-28dc6f98d23f665e6be451cf0dce4dfefaeff9ae.tar.xz
Reapplying r204952 with fixes which should hopefully resolve linking issues with non-MSVC compilers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Makefile')
-rw-r--r--include/clang/Basic/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/clang/Basic/Makefile b/include/clang/Basic/Makefile
index 6a33133252..a9358f06f5 100644
--- a/include/clang/Basic/Makefile
+++ b/include/clang/Basic/Makefile
@@ -6,6 +6,7 @@ BUILT_SOURCES = \
DiagnosticFrontendKinds.inc DiagnosticLexKinds.inc \
DiagnosticParseKinds.inc DiagnosticSemaKinds.inc \
DiagnosticSerializationKinds.inc \
+ AttrHasAttributeImpl.inc \
DiagnosticIndexName.inc DiagnosticGroups.inc AttrList.inc arm_neon.inc \
Version.inc
@@ -48,6 +49,12 @@ $(ObjDir)/AttrList.inc.tmp : Attr.td $(CLANG_TBLGEN) $(ObjDir)/.dir
$(Verb) $(ClangTableGen) -gen-clang-attr-list -o $(call SYSPATH, $@) \
-I $(PROJ_SRC_DIR)/../.. $<
+$(ObjDir)/AttrHasAttributeImpl.inc.tmp : Attr.td $(CLANG_TBLGEN) \
+ $(ObjDir)/.dir
+ $(Echo) "Building Clang __has_attribute implementation with tblgen"
+ $(Verb) $(ClangTableGen) -gen-clang-attr-has-attribute-impl -o $(call SYSPATH, $@) \
+ -I $(PROJ_SRC_DIR)/../../ $<
+
$(ObjDir)/arm_neon.inc.tmp : arm_neon.td $(CLANG_TBLGEN) $(ObjDir)/.dir
$(Echo) "Building Clang arm_neon.inc with tblgen"
$(Verb) $(ClangTableGen) -gen-arm-neon-sema -o $(call SYSPATH, $@) $<