Build intrinsics.gen from intrinsics.td
authorChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 19:53:27 +0000 (19:53 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 19:53:27 +0000 (19:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26657 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Makefile

index 6bae97f309454fdd73fef81676189210697199ac..d88232de85bb5544812ef01cf3c778171965deca 100644 (file)
@@ -9,6 +9,8 @@
 LEVEL = ../..
 LIBRARYNAME = LLVMCore
 
+BUILT_SOURCES = $(LEVEL)/include/llvm/intrinsics.gen
+
 include $(LEVEL)/Makefile.config
 ifeq ($(ARCH),Alpha)
 BUILD_ARCHIVE = 1
@@ -16,3 +18,7 @@ endif
 
 include $(LEVEL)/Makefile.common
 
+$(LEVEL)/include/llvm/intrinsics.gen: $(LEVEL)/include/llvm/intrinsics.td
+       @echo Building intrinsics.gen from intrinsics.td
+       $(Verb) $(TableGen) $< -o $@ -gen-intrinsic
+