blob: 95b89ae63ed1c3400943bc25e7504dfacf447cc2 [file] [log] [blame]
Chris Lattnerbd199fb2002-12-24 00:01:05 +00001LEVEL = ../../..
2LIBRARYNAME = lli-jit
3
Misha Brukman82742912003-07-02 17:53:19 +00004# Get the $(ARCH) setting
5include $(LEVEL)/Makefile.config
6
7# Enable the X86 JIT if compiling on X86
8ifeq ($(ARCH), x86)
9 ENABLE_X86_JIT = 1
10endif
11
12# This flag can also be used on the command line to force inclusion
13# of the X86 JIT on non-X86 hosts
14ifdef ENABLE_X86_JIT
15 CPPFLAGS += -DENABLE_X86_JIT
16endif
17
18# Enable the X86 JIT if compiling on X86
19ifeq ($(ARCH), Sparc)
20 ENABLE_SPARC_JIT = 1
21endif
22
23# This flag can also be used on the command line to force inclusion
24# of the Sparc JIT on non-Sparc hosts
25ifdef ENABLE_SPARC_JIT
26 CPPFLAGS += -DENABLE_SPARC_JIT
27endif
28
Chris Lattnerbd199fb2002-12-24 00:01:05 +000029include $(LEVEL)/Makefile.common