Remove a forgotten debug output line.
[oota-llvm.git] / tools / Makefile.JIT
1 ##===- tools/Makefile.JIT ----------------------------------*- 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 ##===----------------------------------------------------------------------===##
9 #
10 # This file adds the appropriate libraries to USEDLIBS to enable JIT support for
11 # a tool on a supported target.
12 #
13 ##===----------------------------------------------------------------------===##
14
15 LEVEL = ../..
16
17 # Get the $(ARCH) setting
18 include $(LEVEL)/Makefile.config
19
20 # Generic JIT libraries
21 JITLIBS   = LLVMJIT LLVMCodeGen LLVMExecutionEngine
22 ARCHLIBS  =
23
24 # You can enable the X86 JIT on a non-X86 host by setting the flag
25 # ENABLE_X86_JIT on the make command line. If not, it will still be
26 # enabled automagically on an X86 host.
27 ifeq ($(ARCH), x86)
28   ENABLE_X86_JIT = 1
29 endif
30
31 # What the X86 JIT requires
32 ifdef ENABLE_X86_JIT
33   JITLIBS  += LLVMX86 LLVMSelectionDAG
34   # X86 doesn't require any ARCHLIBS
35 endif
36
37 # You can enable the SparcV9 JIT on a non-SparcV9 host by setting the flag
38 # ENABLE_SPARCV9_JIT on the make command line. If not, it will still be
39 # enabled automagically on an SparcV9 host.
40 ifeq ($(ARCH), Sparc)
41   ENABLE_SPARCV9_JIT = 1
42 endif
43
44 # What the Sparc JIT requires
45 ifdef ENABLE_SPARCV9_JIT
46   JITLIBS  += LLVMSparcV9
47   ARCHLIBS += LLVMSparcV9InstrSched LLVMSparcV9LiveVar LLVMInstrumentation.a \
48               LLVMProfilePaths LLVMBCWriter LLVMTransforms.a LLVMipo.a \
49               LLVMipa.a LLVMDataStructure.a LLVMSparcV9RegAlloc
50 endif
51
52 # You can enable the PowerPC JIT on a non-PowerPC host by setting the flag
53 # ENABLE_PPC_JIT on the make command line. If not, it will still be
54 # enabled automagically on an PowerPC host.
55 ifeq ($(ARCH), PowerPC)
56   ENABLE_PPC_JIT = 1
57 endif
58
59 # What the PowerPC JIT requires
60 ifdef ENABLE_PPC_JIT
61   JITLIBS  += LLVMPowerPC
62 endif
63
64 USEDLIBS += LLVMInterpreter $(JITLIBS) $(ARCHLIBS) LLVMScalarOpts \
65             LLVMAnalysis.a LLVMTransformUtils.a LLVMBCReader LLVMCore \
66             LLVMSupport.a LLVMTarget.a LLVMSystem.a