forked from OSchip/llvm-project
Initial version of automake Makefile.am file.
llvm-svn: 16885
This commit is contained in:
parent
4a69c9d667
commit
b84cbf2725
|
@ -0,0 +1,30 @@
|
|||
#===-- lib/Analysis/DataStructure/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 = libLLVMDataStructure.a
|
||||
|
||||
libLLVMDataStructure_a_SOURCES = \
|
||||
BottomUpClosure.cpp\
|
||||
CompleteBottomUp.cpp\
|
||||
DataStructureAA.cpp\
|
||||
DataStructure.cpp\
|
||||
DataStructureOpt.cpp\
|
||||
DataStructureStats.cpp\
|
||||
DependenceGraph.cpp\
|
||||
GraphChecker.cpp\
|
||||
IPModRef.cpp\
|
||||
Local.cpp\
|
||||
MemoryDepAnalysis.cpp\
|
||||
Parallelize.cpp\
|
||||
PgmDependenceGraph.cpp\
|
||||
Printer.cpp\
|
||||
Steensgaard.cpp\
|
||||
TopDownClosure.cpp
|
|
@ -0,0 +1,21 @@
|
|||
#===-- lib/Analysis/IPA/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 = libLLVMIPA.a
|
||||
|
||||
libLLVMIPA_a_SOURCES = \
|
||||
Andersens.cpp \
|
||||
CallGraph.cpp \
|
||||
CallGraphSCCPass.cpp \
|
||||
FindUnsafePointerTypes.cpp \
|
||||
FindUsedTypes.cpp \
|
||||
GlobalsModRef.cpp \
|
||||
PrintSCC.cpp
|
|
@ -0,0 +1,35 @@
|
|||
#===-- lib/Analysis/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 = IPA DataStructure
|
||||
|
||||
lib_LIBRARIES = libLLVMAnalysis.a
|
||||
|
||||
libLLVMAnalysis_a_SOURCES = \
|
||||
AliasAnalysisCounter.cpp \
|
||||
AliasAnalysis.cpp \
|
||||
AliasAnalysisEvaluator.cpp \
|
||||
AliasSetTracker.cpp \
|
||||
BasicAliasAnalysis.cpp \
|
||||
CFGPrinter.cpp \
|
||||
Expressions.cpp \
|
||||
InstCount.cpp \
|
||||
Interval.cpp \
|
||||
IntervalPartition.cpp \
|
||||
LoadValueNumbering.cpp \
|
||||
LoopInfo.cpp \
|
||||
PostDominators.cpp \
|
||||
ProfileInfo.cpp \
|
||||
ProfileInfoLoader.cpp \
|
||||
ProfileInfoLoaderPass.cpp \
|
||||
ScalarEvolution.cpp \
|
||||
Trace.cpp \
|
||||
ValueNumbering.cpp
|
|
@ -0,0 +1,19 @@
|
|||
#===-- lib/AsmParser/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 = LLVMAsmParser.o
|
||||
|
||||
BUILT_SOURCES = llvmAsmParser.cpp Lexer.cpp llvmAsmParser.h
|
||||
|
||||
LLVMAsmParser_o_SOURCES = Parser.cpp $(BUILT_SOURCES)
|
||||
LIBS=
|
||||
|
||||
Lexer.o: llvmAsmParser.h
|
|
@ -0,0 +1,12 @@
|
|||
#===-- lib/Bytecode/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 = Reader Writer
|
|
@ -0,0 +1,21 @@
|
|||
#===-- lib/Bytecode/Reader/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 = LLVMBCReader.o
|
||||
|
||||
LLVMBCReader_o_SOURCES = \
|
||||
Analyzer.cpp \
|
||||
ArchiveReader.cpp \
|
||||
LibraryReader.cpp \
|
||||
Reader.cpp \
|
||||
ReaderWrappers.cpp
|
||||
|
||||
LIBS=
|
|
@ -0,0 +1,15 @@
|
|||
#===-- lib/Bytecode/Writer/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 = LLVMBCWriter.o
|
||||
|
||||
LLVMBCWriter_o_SOURCES = SlotCalculator.cpp Writer.cpp
|
||||
LIBS=
|
|
@ -0,0 +1,23 @@
|
|||
#===-- lib/CodeGen/InstrSched/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 = libLLVMInstrSched.a
|
||||
libexec_PROGRAMS = LLVMInstrSched.o
|
||||
|
||||
MYSOURCES = \
|
||||
InstrScheduling.cpp \
|
||||
SchedGraphCommon.cpp \
|
||||
SchedGraph.cpp \
|
||||
SchedPriorities.cpp
|
||||
|
||||
libLLVMInstrSched_a_SOURCES = $(MYSOURCES)
|
||||
LLVMInstrSched_o_SOURCES = $(MYSOURCES)
|
||||
LIBS=
|
|
@ -0,0 +1,38 @@
|
|||
#===-- lib/CodeGen/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 = InstrSched ModuloScheduling SelectionDAG
|
||||
|
||||
libexec_PROGRAMS = LLVMCodeGen.o
|
||||
|
||||
LLVMCodeGen_o_SOURCES = \
|
||||
AsmPrinter.cpp \
|
||||
BranchFolding.cpp \
|
||||
IntrinsicLowering.cpp \
|
||||
LiveIntervalAnalysis.cpp \
|
||||
LiveInterval.cpp \
|
||||
LiveVariables.cpp \
|
||||
MachineBasicBlock.cpp \
|
||||
MachineCodeEmitter.cpp \
|
||||
MachineFunction.cpp \
|
||||
MachineInstr.cpp \
|
||||
Passes.cpp \
|
||||
PHIElimination.cpp \
|
||||
PrologEpilogInserter.cpp \
|
||||
RegAllocIterativeScan.cpp \
|
||||
RegAllocLinearScan.cpp \
|
||||
RegAllocLocal.cpp \
|
||||
RegAllocSimple.cpp \
|
||||
TwoAddressInstructionPass.cpp \
|
||||
UnreachableBlockElim.cpp \
|
||||
VirtRegMap.cpp
|
||||
|
||||
LIBS=
|
|
@ -0,0 +1,19 @@
|
|||
#===-- lib/CodeGen/ModuloScheduling/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 = LLVMModuloScheduling.o
|
||||
|
||||
LLVMModuloScheduling_o_SOURCES = \
|
||||
ModuloScheduling.cpp \
|
||||
MSchedGraph.cpp \
|
||||
MSSchedule.cpp
|
||||
|
||||
LIBS=
|
|
@ -0,0 +1,15 @@
|
|||
#===-- lib/CodeGen/SelectionDAG/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 = LLVMSelectionDAG.o
|
||||
|
||||
LLVMSelectionDAG_o_SOURCES = DAGBuilder.cpp SelectionDAG.cpp
|
||||
LIBS=
|
|
@ -0,0 +1,25 @@
|
|||
#===-- lib/Debugger/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 = LLVMDebugger.o
|
||||
|
||||
LLVMDebugger_o_SOURCES = \
|
||||
Debugger.cpp \
|
||||
ProgramInfo.cpp \
|
||||
RuntimeInfo.cpp \
|
||||
SourceFile.cpp \
|
||||
SourceLanguage-CFamily.cpp \
|
||||
SourceLanguage-CPlusPlus.cpp \
|
||||
SourceLanguage.cpp \
|
||||
SourceLanguage-Unknown.cpp \
|
||||
UnixLocalInferiorProcess.cpp
|
||||
|
||||
LIBS=
|
|
@ -0,0 +1,17 @@
|
|||
#===-- lib/ExecutionEngine/Interpreter/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 = LLVMInterpreter.o
|
||||
|
||||
LLVMInterpreter_o_SOURCES = \
|
||||
Execution.cpp ExternalFunctions.cpp Interpreter.cpp
|
||||
|
||||
LIBS=
|
|
@ -0,0 +1,37 @@
|
|||
#===-- lib/ExecutionEngine/JIT/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 = LLVMJIT.o
|
||||
|
||||
LLVMJIT_o_SOURCES = Emitter.cpp Intercept.cpp JIT.cpp TargetSelect.cpp
|
||||
LIBS=
|
||||
|
||||
# Enable the X86 JIT if compiling on X86
|
||||
if ARCH_X86
|
||||
ENABLE_X86_JIT = 1
|
||||
endif
|
||||
|
||||
# This flag can also be used on the command line to force inclusion
|
||||
# of the X86 JIT on non-X86 hosts
|
||||
ifdef ENABLE_X86_JIT
|
||||
CPPFLAGS += -DENABLE_X86_JIT
|
||||
endif
|
||||
|
||||
# Enable the Sparc JIT if compiling on Sparc
|
||||
if ARCH_SPARC
|
||||
ENABLE_SPARC_JIT = 1
|
||||
endif
|
||||
|
||||
# This flag can also be used on the command line to force inclusion
|
||||
# of the Sparc JIT on non-Sparc hosts
|
||||
ifdef ENABLE_SPARC_JIT
|
||||
CPPFLAGS += -DENABLE_SPARC_JIT
|
||||
endif
|
|
@ -0,0 +1,17 @@
|
|||
#===-- lib/ExecutionEngine/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 = Interpreter JIT
|
||||
|
||||
libexec_PROGRAMS = LLVMExecutionEngine.o
|
||||
|
||||
LLVMExecutionEngine_o_SOURCES = ExecutionEngine.cpp
|
||||
LIBS=
|
|
@ -0,0 +1,13 @@
|
|||
#===-- lib/Makefile.am -- Makefile For Libraries -----------*- 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 = Analysis AsmParser Bytecode CodeGen Debugger ExecutionEngine Target \
|
||||
Transforms VMCore
|
|
@ -0,0 +1,29 @@
|
|||
#===-- lib/Support/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 = libLLVMSupport.a
|
||||
|
||||
libLLVMSupport_a_SOURCES = \
|
||||
Annotation.cpp \
|
||||
CommandLine.cpp \
|
||||
Compressor.cpp \
|
||||
Debug.cpp \
|
||||
DynamicLinker.cpp \
|
||||
FileUtilities.cpp \
|
||||
IsInf.cpp \
|
||||
IsNAN.cpp \
|
||||
PluginLoader.cpp \
|
||||
SlowOperationInformer.cpp \
|
||||
Statistic.cpp \
|
||||
StringExtras.cpp \
|
||||
SystemUtils.cpp \
|
||||
Timer.cpp \
|
||||
ToolRunner.cpp
|
|
@ -0,0 +1,22 @@
|
|||
#===-- lib/System/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 = libLLVMSystem.a
|
||||
|
||||
libLLVMSystem_a_SOURCES = \
|
||||
MappedFile.cpp \
|
||||
Memory.cpp \
|
||||
Path.cpp \
|
||||
Process.cpp \
|
||||
Program.cpp \
|
||||
Signals.cpp \
|
||||
SysConfig.cpp \
|
||||
TimeValue.cpp
|
|
@ -0,0 +1,40 @@
|
|||
##===- utils/Burg/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 = burg
|
||||
|
||||
BUILT_SOURCES= gram.tab.c
|
||||
burg_SOURCES = be.c burs.c closure.c delta.c fe.c gram.yc item.c lex.c list.c \
|
||||
main.c map.c nonterminal.c operator.c pattern.c plank.c queue.c \
|
||||
rule.c sample.gr string.c symtab.c table.c trim.c zalloc.c \
|
||||
$(BUILT_SOURCES)
|
||||
|
||||
EXTRA_DIST = LICENSE.TXT
|
||||
|
||||
lex.o: gram.tab.h
|
||||
|
||||
gram.tab.c gram.tab.h: gram.yc
|
||||
$(BISON) -o gram.tab.c -d $<
|
||||
|
||||
clean::
|
||||
$(VERB) $(RM) -rf gram.tab.h gram.tab.c core* *.aux *.log *.dvi sample sample.c tmp
|
||||
|
||||
doc.dvi: doc.tex
|
||||
$(VERB) latex doc; latex doc
|
||||
|
||||
test:: $(TOOLEXENAME_G) sample.gr
|
||||
$(TOOLEXENAME_G) -I <sample.gr >sample.c && $(CC) $(CFLAGS) -o sample sample.c && ./sample
|
||||
$(TOOLEXENAME_G) -I sample.gr >tmp && cmp tmp sample.c
|
||||
$(TOOLEXENAME_G) -I <sample.gr -o tmp && cmp tmp sample.c
|
||||
$(TOOLEXENAME_G) -I sample.gr -o tmp && cmp tmp sample.c
|
||||
$(TOOLEXENAME_G) -I -O0 <sample.gr >tmp && cmp tmp sample.c
|
||||
$(TOOLEXENAME_G) -I -= <sample.gr >tmp && cmp tmp sample.c
|
||||
$(RM) -f tmp sample.c
|
|
@ -0,0 +1,36 @@
|
|||
##===- utils/TableGen/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 = TableGen
|
||||
|
||||
BUILT_SOURCES = FileLexer.cpp FileParser.cpp FileParser.h
|
||||
|
||||
TableGen_SOURCES =AsmWriterEmitter.cpp \
|
||||
CodeEmitterGen.cpp \
|
||||
CodeEmitterGen.h \
|
||||
CodeGenInstruction.h \
|
||||
CodeGenRegisters.h \
|
||||
CodeGenTarget.cpp \
|
||||
CodeGenTarget.h \
|
||||
InstrInfoEmitter.cpp \
|
||||
InstrInfoEmitter.h \
|
||||
InstrSelectorEmitter.cpp \
|
||||
InstrSelectorEmitter.h \
|
||||
Record.cpp \
|
||||
Record.h \
|
||||
RegisterInfoEmitter.cpp \
|
||||
RegisterInfoEmitter.h \
|
||||
TableGenBackend.cpp \
|
||||
TableGenBackend.h \
|
||||
TableGen.cpp \
|
||||
$(BUILT_SOURCES)
|
||||
|
||||
TableGen_LDADD = $(call GETLIBS,Support,System)
|
|
@ -0,0 +1,16 @@
|
|||
##===- utils/fpcmp/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 = fpcmp
|
||||
|
||||
fpcmp_SOURCES= fpcmp.cpp
|
||||
|
||||
fpcmp_LDADD = $(call GETLIBS,Support)
|
Loading…
Reference in New Issue