X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FExecutionEngine%2FMakefile;h=cf714324e3b6e7ef84acffad46f960d847e986d8;hb=12af22e8cc217827cf4f118b0f5e4ebbda9925ae;hp=123ccb76210c3295c8af790e509e41b3f2b3d288;hpb=c479db964f9c3c13a0f5dafa3054c22ded3a5b16;p=oota-llvm.git diff --git a/lib/ExecutionEngine/Makefile b/lib/ExecutionEngine/Makefile index 123ccb76210..cf714324e3b 100644 --- a/lib/ExecutionEngine/Makefile +++ b/lib/ExecutionEngine/Makefile @@ -1,14 +1,24 @@ +##===- lib/ExecutionEngine/Makefile ------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## LEVEL = ../.. -TOOLNAME = lli -DIRS = Interpreter JIT +LIBRARYNAME = LLVMExecutionEngine -JITLIBS = lli-jit codegen x86 -USEDLIBS = lli-interpreter $(JITLIBS) bcreader vmcore analysis.a support.a target.a -#transforms.a +include $(LEVEL)/Makefile.config -# Have gcc tell the linker to export symbols from the program so that -# dynamically loaded modules can be linked against them. -# -TOOLLINKOPTS = -ldl +PARALLEL_DIRS = Interpreter MCJIT RuntimeDyld + +ifeq ($(USE_INTEL_JITEVENTS), 1) +PARALLEL_DIRS += IntelJITEvents +endif + +ifeq ($(USE_OPROFILE), 1) +PARALLEL_DIRS += OProfileJIT +endif -include $(LEVEL)/Makefile.common +include $(LLVM_SRC_ROOT)/Makefile.rules