John Criswell | e488e93 | 2003-10-20 22:26:57 +0000 | [diff] [blame] | 1 | ##===- lib/ExecutionEngine/JIT/Makefile --------------------*- Makefile -*-===## |
Misha Brukman | 9b8f542 | 2009-01-09 16:44:42 +0000 | [diff] [blame] | 2 | # |
John Criswell | e488e93 | 2003-10-20 22:26:57 +0000 | [diff] [blame] | 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
Chris Lattner | fc643c5 | 2007-12-29 20:09:26 +0000 | [diff] [blame] | 5 | # This file is distributed under the University of Illinois Open Source |
| 6 | # License. See LICENSE.TXT for details. |
Misha Brukman | 9b8f542 | 2009-01-09 16:44:42 +0000 | [diff] [blame] | 7 | # |
John Criswell | e488e93 | 2003-10-20 22:26:57 +0000 | [diff] [blame] | 8 | ##===----------------------------------------------------------------------===## |
Chris Lattner | e73a31f | 2010-01-22 06:49:46 +0000 | [diff] [blame] | 9 | |
Chris Lattner | bd199fb | 2002-12-24 00:01:05 +0000 | [diff] [blame] | 10 | LEVEL = ../../.. |
Reid Spencer | 685f86a | 2004-10-28 05:37:24 +0000 | [diff] [blame] | 11 | LIBRARYNAME = LLVMJIT |
Chris Lattner | bd199fb | 2002-12-24 00:01:05 +0000 | [diff] [blame] | 12 | |
Misha Brukman | 8274291 | 2003-07-02 17:53:19 +0000 | [diff] [blame] | 13 | # Get the $(ARCH) setting |
| 14 | include $(LEVEL)/Makefile.config |
| 15 | |
| 16 | # Enable the X86 JIT if compiling on X86 |
| 17 | ifeq ($(ARCH), x86) |
| 18 | ENABLE_X86_JIT = 1 |
| 19 | endif |
| 20 | |
| 21 | # This flag can also be used on the command line to force inclusion |
| 22 | # of the X86 JIT on non-X86 hosts |
| 23 | ifdef ENABLE_X86_JIT |
| 24 | CPPFLAGS += -DENABLE_X86_JIT |
| 25 | endif |
| 26 | |
Misha Brukman | df38dae | 2003-07-28 19:06:50 +0000 | [diff] [blame] | 27 | # Enable the Sparc JIT if compiling on Sparc |
Misha Brukman | 8274291 | 2003-07-02 17:53:19 +0000 | [diff] [blame] | 28 | ifeq ($(ARCH), Sparc) |
| 29 | ENABLE_SPARC_JIT = 1 |
| 30 | endif |
| 31 | |
| 32 | # This flag can also be used on the command line to force inclusion |
| 33 | # of the Sparc JIT on non-Sparc hosts |
| 34 | ifdef ENABLE_SPARC_JIT |
| 35 | CPPFLAGS += -DENABLE_SPARC_JIT |
| 36 | endif |
| 37 | |
Chris Lattner | bd199fb | 2002-12-24 00:01:05 +0000 | [diff] [blame] | 38 | include $(LEVEL)/Makefile.common |