Skip to content

Commit

Permalink
Initial version of automake Makefile.am file.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16885 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Reid Spencer committed Oct 10, 2004
1 parent 299b39d commit 9f41a5f
Show file tree
Hide file tree
Showing 22 changed files with 519 additions and 0 deletions.
30 changes: 30 additions & 0 deletions lib/Analysis/DataStructure/Makefile.am
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions lib/Analysis/IPA/Makefile.am
Original file line number Diff line number Diff line change
@@ -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
35 changes: 35 additions & 0 deletions lib/Analysis/Makefile.am
Original file line number Diff line number Diff line change
@@ -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
19 changes: 19 additions & 0 deletions lib/AsmParser/Makefile.am
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions lib/Bytecode/Makefile.am
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions lib/Bytecode/Reader/Makefile.am
Original file line number Diff line number Diff line change
@@ -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=
15 changes: 15 additions & 0 deletions lib/Bytecode/Writer/Makefile.am
Original file line number Diff line number Diff line change
@@ -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=
23 changes: 23 additions & 0 deletions lib/CodeGen/InstrSched/Makefile.am
Original file line number Diff line number Diff line change
@@ -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=
38 changes: 38 additions & 0 deletions lib/CodeGen/Makefile.am
Original file line number Diff line number Diff line change
@@ -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=
19 changes: 19 additions & 0 deletions lib/CodeGen/ModuloScheduling/Makefile.am
Original file line number Diff line number Diff line change
@@ -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=
15 changes: 15 additions & 0 deletions lib/CodeGen/SelectionDAG/Makefile.am
Original file line number Diff line number Diff line change
@@ -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=
25 changes: 25 additions & 0 deletions lib/Debugger/Makefile.am
Original file line number Diff line number Diff line change
@@ -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=
17 changes: 17 additions & 0 deletions lib/ExecutionEngine/Interpreter/Makefile.am
Original file line number Diff line number Diff line change
@@ -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=
37 changes: 37 additions & 0 deletions lib/ExecutionEngine/JIT/Makefile.am
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions lib/ExecutionEngine/Makefile.am
Original file line number Diff line number Diff line change
@@ -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=
13 changes: 13 additions & 0 deletions lib/Makefile.am
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit 9f41a5f

Please sign in to comment.