Silence -Wunused-variable in release builds.
[llvm/stm8.git] / lib / ExecutionEngine / JIT / Makefile
blobaafa3d9d420f046a91f9f4fdc9c61ec8b0bbca42
1 ##===- lib/ExecutionEngine/JIT/Makefile --------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
10 LEVEL = ../../..
11 LIBRARYNAME = LLVMJIT
13 # Get the $(ARCH) setting
14 include $(LEVEL)/Makefile.config
16 # Enable the X86 JIT if compiling on X86
17 ifeq ($(ARCH), x86)
18 ENABLE_X86_JIT = 1
19 endif
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
27 # Enable the Sparc JIT if compiling on Sparc
28 ifeq ($(ARCH), Sparc)
29 ENABLE_SPARC_JIT = 1
30 endif
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
38 include $(LEVEL)/Makefile.common