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