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
|
|
|
|
|
2013-06-28 19:11:40 +00:00
|
|
|
LINK_COMPONENTS := mcjit jit instrumentation interpreter nativecodegen bitreader asmparser irreader selectiondag native
|
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)
|
2013-01-28 19:52:37 +00:00
|
|
|
LINK_COMPONENTS += debuginfo inteljitevents object
|
2012-03-13 08:33:15 +00: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
|