forked from OSchip/llvm-project
Initial version of automake Makefile.am file.
llvm-svn: 16893
This commit is contained in:
parent
e2d1af8be0
commit
97327f05fc
|
@ -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=
|
|
@ -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
|
|
@ -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)
|
|
@ -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)
|
|
@ -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=
|
|
@ -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
|
||||
|
|
@ -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=
|
|
@ -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)
|
|
@ -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=
|
|
@ -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=
|
|
@ -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=
|
|
@ -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=
|
|
@ -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=
|
|
@ -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=
|
|
@ -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=
|
|
@ -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=
|
Loading…
Reference in New Issue