diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-06 01:52:10 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-06 01:52:10 +0000 |
commit | 6ee5b9384533d5b3f8c18b578fccd3935e1b892f (patch) | |
tree | c4cde4477db06fa53f4edd47a67e826094a04282 /Makefile | |
parent | 390909c89c98ab1807e15e033a72e975f866fb23 (diff) |
Clang-side build system infrastructure for multiple tblgens.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -60,6 +60,16 @@ endif # We can revisit this when LLVM/Clang support it. CXX.Flags += -fno-strict-aliasing +# Set up Clang's tblgen. +ifndef CLANG_TBLGEN + ifeq ($(LLVM_CROSS_COMPILING),1) + CLANG_TBLGEN := $(BuildLLVMToolDir)/llvm-tblgen$(BUILD_EXEEXT) + else + CLANG_TBLGEN := $(LLVMToolDir)/llvm-tblgen$(EXEEXT) + endif +endif +ClangTableGen = $(CLANG_TBLGEN) $(TableGen.Flags) + ### # Clang Top Level specific stuff. |