95b89ae63ed1c3400943bc25e7504dfacf447cc2
[oota-llvm.git] / lib / ExecutionEngine / JIT / Makefile
1 LEVEL = ../../..
2 LIBRARYNAME = lli-jit
3
4 # Get the $(ARCH) setting
5 include $(LEVEL)/Makefile.config
6
7 # Enable the X86 JIT if compiling on X86
8 ifeq ($(ARCH), x86)
9   ENABLE_X86_JIT = 1
10 endif
11
12 # This flag can also be used on the command line to force inclusion
13 # of the X86 JIT on non-X86 hosts
14 ifdef ENABLE_X86_JIT
15   CPPFLAGS += -DENABLE_X86_JIT
16 endif
17
18 # Enable the X86 JIT if compiling on X86
19 ifeq ($(ARCH), Sparc)
20   ENABLE_SPARC_JIT = 1
21 endif
22
23 # This flag can also be used on the command line to force inclusion
24 # of the Sparc JIT on non-Sparc hosts
25 ifdef ENABLE_SPARC_JIT
26   CPPFLAGS += -DENABLE_SPARC_JIT
27 endif
28
29 include $(LEVEL)/Makefile.common