Provide addc and subc
[llvm/msp430.git] / lib / VMCore / Makefile
blobe9d3dc879665ef4208abdc294a59c94625097408
1 ##===- lib/VMCore/Makefile ------------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
9 LEVEL = ../..
10 LIBRARYNAME = LLVMCore
11 BUILD_ARCHIVE = 1
13 BUILT_SOURCES = $(PROJ_OBJ_ROOT)/include/llvm/Intrinsics.gen
15 include $(LEVEL)/Makefile.common
17 GENFILE:=$(PROJ_OBJ_ROOT)/include/llvm/Intrinsics.gen
19 INTRINSICTD := $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.td
20 INTRINSICTDS := $(wildcard $(PROJ_SRC_ROOT)/include/llvm/Intrinsics*.td)
22 $(ObjDir)/Intrinsics.gen.tmp: $(ObjDir)/.dir $(INTRINSICTDS) $(TBLGEN)
23 $(Echo) Building Intrinsics.gen.tmp from Intrinsics.td
24 $(Verb) $(TableGen) $(call SYSPATH, $(INTRINSICTD)) -o $(call SYSPATH, $@) -gen-intrinsic
26 $(GENFILE): $(ObjDir)/Intrinsics.gen.tmp
27 $(Verb) $(CMP) -s $@ $< || ( $(CP) $< $@ && \
28 $(EchoCmd) Updated Intrinsics.gen because Intrinsics.gen.tmp \
29 changed significantly. )
31 install-local:: $(GENFILE)
32 $(Echo) Installing $(PROJ_includedir)/llvm/Intrinsics.gen
33 $(Verb) $(DataInstall) $(GENFILE) $(PROJ_includedir)/llvm/Intrinsics.gen