2003-10-21 06:29:16 +08:00
|
|
|
##===- tools/lli/Makefile ------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-30 04:07:17 +08:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2003-10-21 06:29:16 +08:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2006-09-05 02:34:16 +08:00
|
|
|
|
2011-10-19 03:27:24 +08:00
|
|
|
LEVEL := ../..
|
2004-11-29 15:17:18 +08:00
|
|
|
TOOLNAME := lli
|
2012-03-13 16:33:15 +08:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
|
2012-11-06 03:06:05 +08:00
|
|
|
LINK_COMPONENTS := mcjit jit interpreter nativecodegen bitreader asmparser selectiondag native
|
2002-12-24 07:59:41 +08:00
|
|
|
|
2012-03-13 16:33:15 +08:00
|
|
|
# If Intel JIT Events support is confiured, link against the LLVM Intel JIT
|
|
|
|
# Events interface library
|
|
|
|
ifeq ($(USE_INTEL_JITEVENTS), 1)
|
2013-01-29 03:52:37 +08:00
|
|
|
LINK_COMPONENTS += debuginfo inteljitevents object
|
2012-03-13 16:33:15 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
# If oprofile support is confiured, link against the LLVM oprofile interface
|
|
|
|
# library
|
|
|
|
ifeq ($(USE_OPROFILE), 1)
|
|
|
|
LINK_COMPONENTS += oprofilejit
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(LLVM_SRC_ROOT)/Makefile.rules
|