X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Flli%2FMakefile;h=70d8c80e5c0af5354e5ad887a30e564c41aab0ef;hb=21ea6085dc581f8b6d4eb01617221185ce57dc42;hp=a0e73d715001191f7fc267b10d454f324e977ca0;hpb=c9d8beff59246e01aa3eb14e5b3a1c19897144f8;p=oota-llvm.git diff --git a/tools/lli/Makefile b/tools/lli/Makefile index a0e73d71500..70d8c80e5c0 100644 --- a/tools/lli/Makefile +++ b/tools/lli/Makefile @@ -1,10 +1,31 @@ -LEVEL = ../.. -TOOLNAME = lli -USEDLIBS = bcreader vmcore analysis.a support.a target.a transforms.a - -# Have gcc tell the linker to export symbols from the program so that -# dynamically loaded modules can be linked against them. +##===- tools/lli/Makefile ------------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure # -TOOLLINKOPTS = -ldl +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## + +LEVEL := ../.. +TOOLNAME := lli + +PARALLEL_DIRS := ChildTarget + +include $(LEVEL)/Makefile.config + +LINK_COMPONENTS := mcjit orcjit instrumentation interpreter nativecodegen bitreader asmparser irreader selectiondag native + +# If Intel JIT Events support is confiured, link against the LLVM Intel JIT +# Events interface library +ifeq ($(USE_INTEL_JITEVENTS), 1) + LINK_COMPONENTS += debuginfodwarf inteljitevents object +endif + +# If oprofile support is confiured, link against the LLVM oprofile interface +# library +ifeq ($(USE_OPROFILE), 1) + LINK_COMPONENTS += oprofilejit +endif -include $(LEVEL)/Makefile.common +include $(LLVM_SRC_ROOT)/Makefile.rules