1 #===-- tools/lli/Makefile.am -------------------------------*- Makefile -*--===#
3 # The LLVM Compiler Infrastructure
5 # This file was developed by Reid Spencer and is distributed under the
6 # University of Illinois Open Source License. See LICENSE.TXT for details.
8 #===------------------------------------------------------------------------===#
10 include $(top_srcdir)/Makefile_config
16 THEOBJS = JIT CodeGen ExecutionEngine
19 # You can enable the X86 JIT on a non-X86 host by setting the flag
20 # ENABLE_X86_JIT on the make command line. If not, it will still be
21 # enabled automagically on an X86 host.
26 # You can enable the Sparc JIT on a non-Sparc host by setting the flag
27 # ENABLE_SPARC_JIT on the make command line. If not, it will still be
28 # enabled automagically on an Sparc host.
33 # What the X86 JIT requires
35 CPPFLAGS += -DENABLE_X86_JIT
36 THEOBJS += X86 SelectionDAG
39 # What the Sparc JIT requires
40 ifdef ENABLE_SPARC_JIT
41 CPPFLAGS += -DENABLE_SPARC_JIT
42 THEOBJS += SparcV9 SparcV9InstrSched SparcV9LiveVar SparcV9RegAlloc
43 THEOBJS += ProfilePaths BCWriter
44 THELIBS += Instrument Transforms IPO IPA DataStructure
48 $(call GETOBJS,Interpreter,$(THEOBJS)) \
49 $(call GETLIBS,$(THELIBS)) \
50 $(call GETOBJS,ScalarOpts) \
51 $(call GETLIBS,Analysis,TransformUtils,Target) \
52 $(call GETOBJS,BCReader,Core) \
53 $(call GETLIBS,Support,System)