X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FExecutionEngine%2FMakefile;h=c26e0ada5bc15ef71a5d3dd9785bbcc83aae34c6;hb=b3cabb44c32b5a3aba9b4d23aae9723d498ea7a9;hp=a0d51b562eccf6175a987f40b0f6b55a1b903942;hpb=1156edf01cd22109359580b4d5a1f391d35afa86;p=oota-llvm.git diff --git a/lib/ExecutionEngine/Makefile b/lib/ExecutionEngine/Makefile index a0d51b562ec..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 - LD_LIBRARY_PATH=../lib/Debug:/usr/dcs/software/evaluation/encap/gcc-3.0.4/lib/ ../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