blob: 54ed699f9e1279f41e99b56e305aa3c91942fea0 [file] [log] [blame]
Chris Lattnerd7ff5782001-08-23 17:05:04 +00001LEVEL = ../..
Chris Lattner9373bd62001-09-07 22:59:25 +00002TOOLNAME = lli
Chris Lattner3fef9992003-01-22 15:41:10 +00003PARALLEL_DIRS = Interpreter JIT
Chris Lattnera0d7b082002-12-23 23:59:41 +00004
Chris Lattner66e018b2003-06-17 15:46:34 +00005# 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
9JITLIBS = lli-jit codegen
10ARCHLIBS =
11
12# What the X86 JIT requires
13JITLIBS += x86
14ARCHLIBS +=
15
16# What the Sparc JIT requires
17JITLIBS += sparc
18ARCHLIBS = 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
22USEDLIBS = lli-interpreter $(JITLIBS) bcreader vmcore scalaropts \
23 analysis.a support.a target.a $(ARCHLIBS)
Chris Lattner6ba47f62002-09-13 22:20:19 +000024
25# Have gcc tell the linker to export symbols from the program so that
26# dynamically loaded modules can be linked against them.
27#
Chris Lattnera416ad32002-11-04 20:50:57 +000028TOOLLINKOPTS = -ldl
Chris Lattner9373bd62001-09-07 22:59:25 +000029
Chris Lattnerd7ff5782001-08-23 17:05:04 +000030include $(LEVEL)/Makefile.common