Chris Lattner | bd199fb | 2002-12-24 00:01:05 +0000 | [diff] [blame] | 1 | LEVEL = ../../.. |
| 2 | LIBRARYNAME = lli-jit |
| 3 | |
Misha Brukman | 8274291 | 2003-07-02 17:53:19 +0000 | [diff] [blame] | 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 | |
Misha Brukman | df38dae | 2003-07-28 19:06:50 +0000 | [diff] [blame^] | 18 | # Enable the Sparc JIT if compiling on Sparc |
Misha Brukman | 8274291 | 2003-07-02 17:53:19 +0000 | [diff] [blame] | 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 | |
Chris Lattner | bd199fb | 2002-12-24 00:01:05 +0000 | [diff] [blame] | 29 | include $(LEVEL)/Makefile.common |