llvm-6502/lib/VMCore/Makefile
Reid Spencer 1890c87c90 Two fixes:
1. Allow building of Intrinsics.gen to work for srcdir != objdir
2. Add a rule for installation of Intrinsics.gen.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26819 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-17 06:27:06 +00:00

29 lines
896 B
Makefile

##===- lib/VMCore/Makefile ------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file was developed by the LLVM research group and is distributed under
# the University of Illinois Open Source License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
LIBRARYNAME = LLVMCore
BUILT_SOURCES = $(LEVEL)/include/llvm/Intrinsics.gen
include $(LEVEL)/Makefile.config
ifeq ($(ARCH),Alpha)
BUILD_ARCHIVE = 1
endif
include $(LEVEL)/Makefile.common
GENFILE:=$(PROJ_SRC_ROOT)/include/llvm/Intrinsics.gen
$(GENFILE): $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.td $(TBLGEN)
$(Echo) Building Intrinsics.gen from Intrinsics.td
$(Verb) $(TableGen) $< -o $@ -gen-intrinsic
install-local:: $(GENFILE)
$(DataInstall) $(GENFILE) $(PROJ_includedir)/llvm/Intrinsics.gen