2003-10-20 22:29:16 +00:00
|
|
|
##===- tools/lli/Makefile ------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-29 20:07:17 +00:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2003-10-20 22:29:16 +00:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2006-09-04 18:34:16 +00:00
|
|
|
|
2011-10-18 19:27:24 +00:00
|
|
|
LEVEL := ../..
|
2004-11-29 07:17:18 +00:00
|
|
|
TOOLNAME := lli
|
2012-03-13 08:33:15 +00:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
|
2010-11-17 16:06:43 +00:00
|
|
|
LINK_COMPONENTS := mcjit jit interpreter nativecodegen bitreader asmparser selectiondag
|
2002-12-23 23:59:41 +00:00
|
|
|
|
2012-03-13 08:33:15 +00:00
|
|
|
# If Intel JIT Events support is confiured, link against the LLVM Intel JIT
|
|
|
|
# Events interface library
|
|
|
|
ifeq ($(USE_INTEL_JITEVENTS), 1)
|
|
|
|
LINK_COMPONENTS += inteljitevents
|
|
|
|
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
|