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