1##===- tools/lli/Makefile ------------------------------*- Makefile -*-===## 2# 3# The LLVM Compiler Infrastructure 4# 5# This file is distributed under the University of Illinois Open Source 6# License. See LICENSE.TXT for details. 7# 8##===----------------------------------------------------------------------===## 9 10LEVEL := ../.. 11TOOLNAME := lli 12 13PARALLEL_DIRS := ChildTarget 14 15include $(LEVEL)/Makefile.config 16 17LINK_COMPONENTS := mcjit orcjit instrumentation interpreter nativecodegen bitreader asmparser irreader selectiondag native 18 19# If Intel JIT Events support is confiured, link against the LLVM Intel JIT 20# Events interface library 21ifeq ($(USE_INTEL_JITEVENTS), 1) 22 LINK_COMPONENTS += debuginfodwarf inteljitevents object 23endif 24 25# If oprofile support is confiured, link against the LLVM oprofile interface 26# library 27ifeq ($(USE_OPROFILE), 1) 28 LINK_COMPONENTS += oprofilejit 29endif 30 31include $(LLVM_SRC_ROOT)/Makefile.rules 32