Link in Sparc libs for the JIT, even on X86 to be able to support debugging
[oota-llvm.git] / lib / ExecutionEngine / Makefile
1 LEVEL = ../..
2 TOOLNAME = lli
3 PARALLEL_DIRS = Interpreter JIT
4
5 # FIXME: This enables testing the Sparc JIT on x86.
6 # Perhaps in the future this should be a ./configure option.
7
8 # Generic JIT libraries
9 JITLIBS   = lli-jit codegen
10 ARCHLIBS  =
11
12 # What the X86 JIT requires
13 JITLIBS  += x86
14 ARCHLIBS += 
15
16 # What the Sparc JIT requires
17 JITLIBS  += sparc 
18 ARCHLIBS  = sched livevar instrument.a profpaths transformutils.a \
19            bcwriter transforms.a ipo.a ipa.a datastructure.a regalloc \
20            mapping select postopts.a preopts
21
22 USEDLIBS = lli-interpreter $(JITLIBS) bcreader vmcore scalaropts \
23            analysis.a support.a target.a $(ARCHLIBS)
24
25 # Have gcc tell the linker to export symbols from the program so that
26 # dynamically loaded modules can be linked against them.
27 #
28 TOOLLINKOPTS = -ldl
29
30 include $(LEVEL)/Makefile.common