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
|
|
|
|
2013-10-02 19:12:36 +02:00
|
|
|
PARALLEL_DIRS := ChildTarget
|
|
|
|
|
2012-03-13 09:33:15 +01:00
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
|
2014-09-03 00:28:02 +02:00
|
|
|
LINK_COMPONENTS := mcjit instrumentation interpreter nativecodegen bitreader asmparser irreader selectiondag native
|
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)
|
2013-01-28 20:52:37 +01:00
|
|
|
LINK_COMPONENTS += debuginfo inteljitevents object
|
2012-03-13 09:33:15 +01: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
|