3 PARALLEL_DIRS = Interpreter JIT
5 # Get the $(ARCH) setting
6 include $(LEVEL)/Makefile.config
8 # Generic JIT libraries
9 JITLIBS = lli-jit codegen
12 # You can enable the X86 JIT on a non-X86 host by setting the flag
13 # ENABLE_X86_JIT on the make command line. If not, it will still be
14 # enabled automagically on an X86 host.
19 # What the X86 JIT requires
21 CPPFLAGS += -DENABLE_X86_JIT
22 JITLIBS += x86 selectiondag
23 # X86 doesn't require any ARCHLIBS
26 # You can enable the Sparc JIT on a non-Sparc host by setting the flag
27 # ENABLE_SPARC_JIT on the make command line. If not, it will still be
28 # enabled automagically on an Sparc host.
33 # What the Sparc JIT requires
34 ifdef ENABLE_SPARC_JIT
35 CPPFLAGS += -DENABLE_SPARC_JIT
37 ARCHLIBS += sched livevar instrument.a profpaths \
38 bcwriter transforms.a ipo.a ipa.a datastructure.a regalloc \
42 USEDLIBS = lli-interpreter $(JITLIBS) $(ARCHLIBS) scalaropts analysis.a \
43 transformutils.a bcreader vmcore support target.a
45 # Have gcc tell the linker to export symbols from the program so that
46 # dynamically loaded modules can be linked against them.
48 TOOLLINKOPTS = $(PLATFORMLIBDL)
50 include $(LEVEL)/Makefile.common