Two fixes:
[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 GENFILE:=$(PROJ_SRC_ROOT)/include/llvm/Intrinsics.gen
22
23 $(GENFILE): $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.td $(TBLGEN)
24         $(Echo) Building Intrinsics.gen from Intrinsics.td
25         $(Verb) $(TableGen) $< -o $@ -gen-intrinsic
26
27 install-local:: $(GENFILE)
28         $(DataInstall) $(GENFILE) $(PROJ_includedir)/llvm/Intrinsics.gen