blob: 54ed699f9e1279f41e99b56e305aa3c91942fea0 [file] [log] [blame]
Chris Lattner92101ac2001-08-23 17:05:04 +00001LEVEL = ../..
Chris Lattnerc9744e72001-09-07 22:59:25 +00002TOOLNAME = lli
Chris Lattner285ca5e2003-01-22 15:41:10 +00003PARALLEL_DIRS = Interpreter JIT
Chris Lattnerfe11a972002-12-23 23:59:41 +00004
Chris Lattner7a5500e2003-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 Lattnerb7764012002-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 Lattnerc9d8bef2002-11-04 20:50:57 +000028TOOLLINKOPTS = -ldl
Chris Lattnerc9744e72001-09-07 22:59:25 +000029
Chris Lattner92101ac2001-08-23 17:05:04 +000030include $(LEVEL)/Makefile.common