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