Fix PR2062: Don't build Intrinsics.gen in the source directory. Do it in the
authorBill Wendling <isanbard@gmail.com>
Tue, 25 Mar 2008 09:12:48 +0000 (09:12 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 25 Mar 2008 09:12:48 +0000 (09:12 +0000)
object directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48766 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Makefile

index 35ef865..59062a1 100644 (file)
@@ -10,11 +10,11 @@ LEVEL = ../..
 LIBRARYNAME = LLVMCore
 BUILD_ARCHIVE = 1
 
-BUILT_SOURCES = $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.gen
+BUILT_SOURCES = $(PROJ_OBJ_ROOT)/include/llvm/Intrinsics.gen
 
 include $(LEVEL)/Makefile.common
 
-GENFILE:=$(PROJ_SRC_ROOT)/include/llvm/Intrinsics.gen
+GENFILE:=$(PROJ_OBJ_ROOT)/include/llvm/Intrinsics.gen
 
 INTRINSICTD  := $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.td
 INTRINSICTDS := $(wildcard $(PROJ_SRC_ROOT)/include/llvm/Intrinsics*.td)