Initial version of automake Makefile.am file.
authorReid Spencer <rspencer@reidspencer.com>
Sun, 10 Oct 2004 22:20:40 +0000 (22:20 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 10 Oct 2004 22:20:40 +0000 (22:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16893 91177308-0d34-0410-b5e6-96231b3b80d8

16 files changed:
lib/Target/CBackend/Makefile.am [new file with mode: 0644]
lib/Target/Makefile.am [new file with mode: 0644]
lib/Target/PowerPC/Makefile.am [new file with mode: 0644]
lib/Target/Skeleton/Makefile.am [new file with mode: 0644]
lib/Target/SparcV9/LiveVar/Makefile.am [new file with mode: 0644]
lib/Target/SparcV9/Makefile.am [new file with mode: 0644]
lib/Target/SparcV9/RegAlloc/Makefile.am [new file with mode: 0644]
lib/Target/X86/Makefile.am [new file with mode: 0644]
lib/Transforms/Hello/Makefile.am [new file with mode: 0644]
lib/Transforms/IPO/Makefile.am [new file with mode: 0644]
lib/Transforms/Instrumentation/Makefile.am [new file with mode: 0644]
lib/Transforms/Instrumentation/ProfilePaths/Makefile.am [new file with mode: 0644]
lib/Transforms/Makefile.am [new file with mode: 0644]
lib/Transforms/Scalar/Makefile.am [new file with mode: 0644]
lib/Transforms/Utils/Makefile.am [new file with mode: 0644]
lib/VMCore/Makefile.am [new file with mode: 0644]

diff --git a/lib/Target/CBackend/Makefile.am b/lib/Target/CBackend/Makefile.am
new file mode 100644 (file)
index 0000000..217b1cd
--- /dev/null
@@ -0,0 +1,15 @@
+#===-- lib/Target/CBackend/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
+
+libexec_PROGRAMS = LLVMCWriter.o
+
+LLVMCWriter_o_SOURCES = Writer.cpp
+LIBS=
diff --git a/lib/Target/Makefile.am b/lib/Target/Makefile.am
new file mode 100644 (file)
index 0000000..6242247
--- /dev/null
@@ -0,0 +1,23 @@
+#===-- lib/Target/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
+
+SUBDIRS = X86 CBackend PowerPC SparcV9 Skeleton 
+
+lib_LIBRARIES = libLLVMTarget.a
+
+libLLVMTarget_a_SOURCES = \
+  MRegisterInfo.cpp \
+  TargetData.cpp \
+  TargetFrameInfo.cpp \
+  TargetInstrInfo.cpp \
+  TargetMachine.cpp \
+  TargetMachineRegistry.cpp \
+  TargetSchedInfo.cpp
diff --git a/lib/Target/PowerPC/Makefile.am b/lib/Target/PowerPC/Makefile.am
new file mode 100644 (file)
index 0000000..aa97dfb
--- /dev/null
@@ -0,0 +1,41 @@
+#===-- lib/Target/PowerPC/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
+
+libexec_PROGRAMS = LLVMPowerPC.o
+
+BUILT_SOURCES = \
+  PowerPCGenInstrNames.inc \
+  PowerPCGenRegisterNames.inc \
+  PowerPCGenCodeEmitter.inc \
+  PowerPCGenAsmWriter.inc \
+  PPC32GenRegisterInfo.h.inc \
+  PPC32GenRegisterInfo.inc \
+  PPC32GenInstrInfo.inc \
+  PPC64GenRegisterInfo.h.inc \
+  PPC64GenRegisterInfo.inc \
+  PPC64GenInstrInfo.inc
+
+LLVMPowerPC_o_SOURCES = \
+  PowerPCAsmPrinter.cpp \
+  PowerPCBranchSelector.cpp \
+  PowerPCTargetMachine.cpp \
+  PPC32CodeEmitter.cpp \
+  PPC32InstrInfo.cpp \
+  PPC32ISelSimple.cpp \
+  PPC32RegisterInfo.cpp \
+  PPC64CodeEmitter.cpp \
+  PPC64InstrInfo.cpp \
+  PPC64ISelSimple.cpp \
+  PPC64RegisterInfo.cpp
+
+LIBS=
+
+$(BUILT_SOURCES) : $(LLVM_TDFILES) $(TBLGEN)
diff --git a/lib/Target/Skeleton/Makefile.am b/lib/Target/Skeleton/Makefile.am
new file mode 100644 (file)
index 0000000..e9d9d5a
--- /dev/null
@@ -0,0 +1,31 @@
+#===-- lib/Target/Skeleton/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
+
+libexec_PROGRAMS = LLVMSkeleton.o
+
+BUILT_SOURCES = \
+  SkeletonGenRegisterInfo.h.inc \
+  SkeletonGenRegisterNames.inc \
+  SkeletonGenRegisterInfo.inc \
+  SkeletonGenInstrNames.inc \
+  SkeletonGenInstrInfo.inc
+
+LLVMSkeleton_o_SOURCES = \
+  SkeletonInstrInfo.cpp \
+  SkeletonJITInfo.cpp \
+  SkeletonRegisterInfo.cpp \
+  SkeletonTargetMachine.cpp \
+  $(BUILT_SOURCES)
+
+LIBS=
+
+$(BUILT_SOURCES) : $(TDFILES) $(TBLGEN)
diff --git a/lib/Target/SparcV9/LiveVar/Makefile.am b/lib/Target/SparcV9/LiveVar/Makefile.am
new file mode 100644 (file)
index 0000000..b79d3d7
--- /dev/null
@@ -0,0 +1,22 @@
+#===-- lib/Target/SparcV9/LiveVar/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
+
+lib_LIBRARIES = libLLVMSparcV9LiveVar.a
+libexec_PROGRAMS = LLVMSparcV9LiveVar.o
+
+MYSOURCES = \
+  BBLiveVar.cpp \
+  FunctionLiveVarInfo.cpp \
+  ValueSet.cpp
+
+libLLVMSparcV9LiveVar_a_SOURCES = $(MYSOURCES)
+LLVMSparcV9LiveVar_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Target/SparcV9/Makefile.am b/lib/Target/SparcV9/Makefile.am
new file mode 100644 (file)
index 0000000..0fd9a06
--- /dev/null
@@ -0,0 +1,62 @@
+#===-- lib/Target/SparcV9/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
+
+SUBDIRS = LiveVar RegAlloc
+
+libexec_PROGRAMS = LLVMSparcV9.o
+
+BUILT_SOURCES = \
+  SparcV9CodeEmitter.inc \
+  SparcV9.burm.cpp 
+
+LLVMSparcV9_o_SOURCES = \
+  EmitBytecodeToAssembly.cpp \
+  InternalGlobalMapper.cpp \
+  MachineCodeForInstruction.cpp \
+  MachineFunctionInfo.cpp \
+  MappingInfo.cpp \
+  SparcV9AsmPrinter.cpp \
+  SparcV9BurgISel.cpp \
+  SparcV9CodeEmitter.cpp \
+  SparcV9FrameInfo.cpp \
+  SparcV9PeepholeOpts.cpp \
+  SparcV9PreSelection.cpp \
+  SparcV9PrologEpilogInserter.cpp \
+  SparcV9RegClassInfo.cpp \
+  SparcV9RegInfo.cpp \
+  SparcV9RegisterInfo.cpp \
+  SparcV9SchedInfo.cpp \
+  SparcV9StackSlots.cpp \
+  SparcV9TargetMachine.cpp \
+  SparcV9TmpInstr.cpp \
+  $(BUILT_SOURCES)
+
+LIBS=
+
+SparcV9.burg.in1 : SparcV9.burg.in
+       $(CXX) -E $(AM_CPPFLAGS) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/Ydefine/#define/' > $@
+
+SparcV9.burm : SparcV9.burg.in1
+       $(CXX) -E -I$(AM_CPPFLAGS) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/^Xinclude/#include/' | $(SED) 's/^Xdefine/#define/' > $@
+
+SparcV9.burm.cpp: SparcV9.burm
+       @echo "Burging `basename $<`"
+       $(RunBurg) $< -o $@
+
+SparcV9CodeEmitter.inc: SparcV9.td $(TABLEGEN_FILES) $(TBLGEN)
+       @echo "Tblgen'ing `basename $<`"
+       $(TBLGEN) -I $(srcdir) $< -gen-emitter -o $@
+
+TABLEGEN_FILES := $(notdir $(wildcard $(SourceDir)/*.td))
+
+clean::
+       $(VERB) $(RM) -f SparcV9CodeEmitter.inc SparcV9.burg.in1 SparcV9.burm SparcV9.burm.cpp
+
diff --git a/lib/Target/SparcV9/RegAlloc/Makefile.am b/lib/Target/SparcV9/RegAlloc/Makefile.am
new file mode 100644 (file)
index 0000000..f181d15
--- /dev/null
@@ -0,0 +1,24 @@
+#===-- lib/Target/SparcV9/RegAlloc/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
+
+lib_LIBRARIES = libLLVMSparcV9RegAlloc.a
+libexec_PROGRAMS = LLVMSparcV9RegAlloc.o
+
+MYSOURCES = \
+  IGNode.cpp \
+  InterferenceGraph.cpp \
+  LiveRangeInfo.cpp \
+  PhyRegAlloc.cpp \
+  RegClass.cpp
+
+libLLVMSparcV9RegAlloc_a_SOURCES = $(MYSOURCES)
+LLVMSparcV9RegAlloc_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Target/X86/Makefile.am b/lib/Target/X86/Makefile.am
new file mode 100644 (file)
index 0000000..8fa7bd9
--- /dev/null
@@ -0,0 +1,36 @@
+#===-- lib/Target/X86/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
+
+libexec_PROGRAMS = LLVMX86.o
+
+BUILT_SOURCES = \
+  X86GenRegisterInfo.h.inc \
+  X86GenRegisterNames.inc \
+  X86GenRegisterInfo.inc \
+  X86GenInstrNames.inc \
+  X86GenInstrInfo.inc \
+  X86GenATTAsmWriter.inc \
+  X86GenIntelAsmWriter.inc
+
+LLVMX86_o_SOURCES = \
+  X86AsmPrinter.cpp \
+  X86CodeEmitter.cpp \
+  X86FloatingPoint.cpp \
+  X86InstrInfo.cpp \
+  X86ISelPattern.cpp \
+  X86ISelSimple.cpp \
+  X86PeepholeOpt.cpp \
+  X86RegisterInfo.cpp \
+  X86TargetMachine.cpp
+
+LIBS=
+
+$(BUILT_SOURCES) : $(LLVM_TDFILES) $(TBLGEN)
diff --git a/lib/Transforms/Hello/Makefile.am b/lib/Transforms/Hello/Makefile.am
new file mode 100644 (file)
index 0000000..75fa34f
--- /dev/null
@@ -0,0 +1,15 @@
+#===-- lib/Transforms/Hello/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
+
+libexec_PROGRAMS = LLVMHello.o
+
+LLVMHello_o_SOURCES = Hello.cpp
+LIBS=
diff --git a/lib/Transforms/IPO/Makefile.am b/lib/Transforms/IPO/Makefile.am
new file mode 100644 (file)
index 0000000..c10360f
--- /dev/null
@@ -0,0 +1,35 @@
+#===-- lib/Transforms/IPO/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
+
+lib_LIBRARIES = libLLVMIPO.a
+libexec_PROGRAMS = LLVMIPO.o
+
+MYSOURCES= \
+  ArgumentPromotion.cpp \
+  ConstantMerge.cpp \
+  DeadArgumentElimination.cpp \
+  DeadTypeElimination.cpp \
+  ExtractFunction.cpp \
+  FunctionResolution.cpp \
+  GlobalDCE.cpp \
+  GlobalOpt.cpp \
+  Inliner.cpp \
+  InlineSimple.cpp \
+  Internalize.cpp \
+  IPConstantPropagation.cpp \
+  LoopExtractor.cpp \
+  LowerSetJmp.cpp \
+  PruneEH.cpp \
+  RaiseAllocations.cpp
+
+libLLVMIPO_a_SOURCES = $(MYSOURCES)
+LLVMIPO_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Transforms/Instrumentation/Makefile.am b/lib/Transforms/Instrumentation/Makefile.am
new file mode 100644 (file)
index 0000000..4e71655
--- /dev/null
@@ -0,0 +1,27 @@
+#===-- lib/Transforms/Instrumentation/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
+
+SUBDIRS = ProfilePaths
+
+lib_LIBRARIES = libLLVMInstrument.a
+libexec_PROGRAMS = LLVMInstrument.o
+
+MYSOURCES = \
+  BlockProfiling.cpp \
+  EdgeProfiling.cpp \
+  EmitFunctions.cpp \
+  ProfilingUtils.cpp \
+  TraceBasicBlocks.cpp \
+  TraceValues.cpp
+
+libLLVMInstrument_a_SOURCES = $(MYSOURCES)
+LLVMInstrument_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/Makefile.am b/lib/Transforms/Instrumentation/ProfilePaths/Makefile.am
new file mode 100644 (file)
index 0000000..62874a0
--- /dev/null
@@ -0,0 +1,26 @@
+#===- lib/Transforms/Instrumentation/ProfilePaths/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
+
+lib_LIBRARIES = libLLVMProfilePaths.a
+libexec_PROGRAMS = LLVMProfilePaths.o
+
+MYSOURCES= \
+  CombineBranch.cpp \
+  EdgeCode.cpp \
+  GraphAuxiliary.cpp \
+  Graph.cpp \
+  InstLoops.cpp \
+  ProfilePaths.cpp \
+  RetracePath.cpp
+
+libLLVMProfilePaths_a_SOURCES = $(MYSOURCES)
+LLVMProfilePaths_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Transforms/Makefile.am b/lib/Transforms/Makefile.am
new file mode 100644 (file)
index 0000000..cf6ac80
--- /dev/null
@@ -0,0 +1,21 @@
+#===-- lib/Transforms/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
+
+SUBDIRS = Utils Instrumentation Scalar IPO
+
+lib_LIBRARIES = libLLVMTransforms.a
+libexec_PROGRAMS = LLVMTransforms.o
+
+MYSOURCES = ExprTypeConvert.cpp LevelRaise.cpp TransformInternals.cpp
+
+libLLVMTransforms_a_SOURCES = $(MYSOURCES)
+LLVMTransforms_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Transforms/Scalar/Makefile.am b/lib/Transforms/Scalar/Makefile.am
new file mode 100644 (file)
index 0000000..6271fde
--- /dev/null
@@ -0,0 +1,50 @@
+#===-- lib/Transforms/Scalar/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
+
+lib_LIBRARIES = libLLVMScalarOpts.a
+libexec_PROGRAMS = LLVMScalarOpts.o
+
+MYSOURCES = \
+  ADCE.cpp \
+  BasicBlockPlacement.cpp \
+  ConstantProp.cpp \
+  CorrelatedExprs.cpp \
+  DCE.cpp \
+  DeadStoreElimination.cpp \
+  DecomposeMultiDimRefs.cpp \
+  GCSE.cpp \
+  IndVarSimplify.cpp \
+  InstructionCombining.cpp \
+  LICM.cpp \
+  LoopSimplify.cpp \
+  LoopUnroll.cpp \
+  LoopUnswitch.cpp \
+  LowerAllocations.cpp \
+  LowerConstantExprs.cpp \
+  LowerGC.cpp \
+  LowerInvoke.cpp \
+  LowerPacked.cpp \
+  LowerSelect.cpp \
+  LowerSwitch.cpp \
+  Mem2Reg.cpp \
+  PRE.cpp \
+  Reassociate.cpp \
+  ScalarReplAggregates.cpp \
+  SCCP.cpp \
+  SimplifyCFG.cpp \
+  SymbolStripping.cpp \
+  TailDuplication.cpp \
+  TailRecursionElimination.cpp
+
+libLLVMScalarOpts_a_SOURCES = $(MYSOURCES)
+
+LLVMScalarOpts_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Transforms/Utils/Makefile.am b/lib/Transforms/Utils/Makefile.am
new file mode 100644 (file)
index 0000000..e5a2a66
--- /dev/null
@@ -0,0 +1,32 @@
+#===-- lib/Transforms/Utils/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
+
+lib_LIBRARIES = libLLVMTransformUtils.a
+libexec_PROGRAMS = LLVMTransformUtils.o
+
+MYSOURCES = \
+  BasicBlockUtils.cpp \
+  BreakCriticalEdges.cpp \
+  CloneFunction.cpp \
+  CloneModule.cpp \
+  CloneTrace.cpp \
+  CodeExtractor.cpp \
+  DemoteRegToStack.cpp \
+  InlineFunction.cpp \
+  Local.cpp \
+  PromoteMemoryToRegister.cpp \
+  SimplifyCFG.cpp \
+  UnifyFunctionExitNodes.cpp \
+  ValueMapper.cpp
+
+libLLVMTransformUtils_a_SOURCES = $(MYSOURCES)
+LLVMTransformUtils_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/VMCore/Makefile.am b/lib/VMCore/Makefile.am
new file mode 100644 (file)
index 0000000..f9efdf6
--- /dev/null
@@ -0,0 +1,37 @@
+#===-- lib/VMCore/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
+
+libexec_PROGRAMS = LLVMCore.o
+
+LLVMCore_o_SOURCES = \
+  AsmWriter.cpp \
+  BasicBlock.cpp \
+  ConstantFolding.cpp \
+  ConstantRange.cpp \
+  Constants.cpp \
+  Dominators.cpp \
+  Function.cpp \
+  Globals.cpp \
+  InstrTypes.cpp \
+  Instruction.cpp \
+  Instructions.cpp \
+  LeakDetector.cpp \
+  Linker.cpp \
+  Mangler.cpp \
+  Module.cpp \
+  ModuleProvider.cpp \
+  Pass.cpp \
+  SymbolTable.cpp \
+  Type.cpp \
+  Value.cpp \
+  Verifier.cpp
+
+LIBS=