llvm-project/llvm/lib/VMCore/Makefile

29 lines
904 B
Makefile
Raw Normal View History

##===- 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.
#
##===----------------------------------------------------------------------===##
2001-06-07 04:29:01 +08:00
LEVEL = ../..
LIBRARYNAME = LLVMCore
2005-08-14 23:14:34 +08:00
2006-03-17 15:39:44 +08:00
BUILT_SOURCES = $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.gen
2005-08-14 23:14:34 +08:00
include $(LEVEL)/Makefile.config
ifeq ($(ARCH),Alpha)
BUILD_ARCHIVE = 1
2005-08-14 23:14:34 +08:00
endif
2001-06-07 04:29:01 +08:00
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