This rule also depends on tblgen
[oota-llvm.git] / lib / VMCore / Makefile
1 ##===- lib/VMCore/Makefile ------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file was developed by the LLVM research group and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9 LEVEL = ../..
10 LIBRARYNAME = LLVMCore
11
12 BUILT_SOURCES = $(LEVEL)/include/llvm/Intrinsics.gen
13
14 include $(LEVEL)/Makefile.config
15 ifeq ($(ARCH),Alpha)
16 BUILD_ARCHIVE = 1
17 endif
18
19 include $(LEVEL)/Makefile.common
20
21 $(LEVEL)/include/llvm/Intrinsics.gen: $(LEVEL)/include/llvm/Intrinsics.td $(TBLGEN)
22         @echo Building Intrinsics.gen from Intrinsics.td
23         $(Verb) $(TableGen) $< -o $@ -gen-intrinsic
24