[llvm-commits] CVS: llvm/tools/llvm-db/Makefile.am

Reid Spencer reid at x10sys.com
Sun Oct 10 15:35:15 PDT 2004



Changes in directory llvm/tools/llvm-db:

Makefile.am added (r1.1)
---
Log message:

Initial version of automake Makefile.am file.

---
Diffs of the changes:  (+53 -0)

Index: llvm/tools/llvm-db/Makefile.am
diff -c /dev/null llvm/tools/llvm-db/Makefile.am:1.1
*** /dev/null	Sun Oct 10 17:35:15 2004
--- llvm/tools/llvm-db/Makefile.am	Sun Oct 10 17:35:05 2004
***************
*** 0 ****
--- 1,53 ----
+ #===-- tools/llvm-db/Makefile.am ---------------------------*- Makefile -*--===#
+ #
+ #                     The LLVM Compiler Infrastructure
+ #
+ # This file was developed by Reid Spencer and is distributed under the 
+ # University of Illinois Open Source License. See LICENSE.TXT for details.
+ # 
+ #===------------------------------------------------------------------------===#
+ 
+ include $(top_srcdir)/Makefile.rules.am
+ 
+ bin_PROGRAMS = llvm-db
+ 
+ llvm_db_SOURCES = CLIDebugger.cpp Commands.cpp llvm-db.cpp
+ 
+ THEOBJS   = JIT CodeGen ExecutionEngine
+ THELIBS   =
+ 
+ # You can enable the X86 JIT on a non-X86 host by setting the flag
+ # ENABLE_X86_JIT on the make command line. If not, it will still be
+ # enabled automagically on an X86 host.
+ if ARCH_X86
+   ENABLE_X86_JIT = 1
+ endif
+ 
+ # You can enable the Sparc JIT on a non-Sparc host by setting the flag
+ # ENABLE_SPARC_JIT on the make command line. If not, it will still be
+ # enabled automagically on an Sparc host.
+ if ARCH_SPARC
+   ENABLE_SPARC_JIT = 1
+ endif
+ 
+ # What the X86 JIT requires
+  ifdef ENABLE_X86_JIT
+   CPPFLAGS += -DENABLE_X86_JIT
+   THEOBJS  += X86 SelectionDAG
+  endif
+ 
+ # What the Sparc JIT requires
+  ifdef ENABLE_SPARC_JIT
+   CPPFLAGS += -DENABLE_SPARC_JIT
+   THEOBJS  += SparcV9 SparcV9InstrSched SparcV9LiveVar SparcV9RegAlloc
+   THEOBJS  += ProfilePaths BCWriter
+   THELIBS  += Instrument Transforms IPO IPA DataStructure
+  endif
+ 
+ llvm_db_LDADD = \
+   $(call GETOBJS,Interpreter,$(THEOBJS)) \
+   $(call GETLIBS,$(THELIBS)) \
+   $(call GETOBJS,ScalarOpts) \
+   $(call GETLIBS,Analysis,TransformUtils,Target) \
+   $(call GETOBJS,Debugger,BCReader,Core) \
+   $(call GETLIBS,Support,Target,System)






More information about the llvm-commits mailing list