X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FExecutionEngine%2FMakefile;h=c26e0ada5bc15ef71a5d3dd9785bbcc83aae34c6;hb=318b7cc7f10d41370929ff93274de29c11f87b81;hp=1e4b4f773d4a38eae14ff63be04b16f336af719a;hpb=ec4913ea7c848e0c3a7cf97815188b194edc1e09;p=oota-llvm.git diff --git a/lib/ExecutionEngine/Makefile b/lib/ExecutionEngine/Makefile index 1e4b4f773d4..c26e0ada5bc 100644 --- a/lib/ExecutionEngine/Makefile +++ b/lib/ExecutionEngine/Makefile @@ -1,21 +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 -USEDLIBS = bcreader bcwriter vmcore asmwriter analysis support \ - target transforms -TOOLLINKOPTS = -ldl +LIBRARYNAME = LLVMExecutionEngine -include $(LEVEL)/Makefile.common +include $(LEVEL)/Makefile.config -all :: $(LEVEL)/tools/Debug/RuntimeLib.bc +PARALLEL_DIRS = Interpreter JIT MCJIT RuntimeDyld -Debug/RuntimeLib.c: RuntimeLib.lc - cp -f $< $@ - -Debug/RuntimeLib.ll: Debug/RuntimeLib.c - @-rm $@ - /home/vadve/lattner/cvs/gcc_install/bin/gcc $< -S -o $@ - -$(LEVEL)/tools/Debug/RuntimeLib.bc: Debug/RuntimeLib.ll - ../Debug/gccas $< -o $@ +ifeq ($(USE_INTEL_JITEVENTS), 1) +PARALLEL_DIRS += IntelJITEvents +endif +ifeq ($(USE_OPROFILE), 1) +PARALLEL_DIRS += OProfileJIT +endif +include $(LLVM_SRC_ROOT)/Makefile.rules