llvm.org GIT mirror llvm / 9f41a5f
Initial version of automake Makefile.am file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16885 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 15 years ago
22 changed file(s) with 519 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 #===-- lib/Analysis/DataStructure/Makefile.am --------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 lib_LIBRARIES = libLLVMDataStructure.a
12
13 libLLVMDataStructure_a_SOURCES = \
14 BottomUpClosure.cpp\
15 CompleteBottomUp.cpp\
16 DataStructureAA.cpp\
17 DataStructure.cpp\
18 DataStructureOpt.cpp\
19 DataStructureStats.cpp\
20 DependenceGraph.cpp\
21 GraphChecker.cpp\
22 IPModRef.cpp\
23 Local.cpp\
24 MemoryDepAnalysis.cpp\
25 Parallelize.cpp\
26 PgmDependenceGraph.cpp\
27 Printer.cpp\
28 Steensgaard.cpp\
29 TopDownClosure.cpp
0 #===-- lib/Analysis/IPA/Makefile.am ------------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 lib_LIBRARIES = libLLVMIPA.a
12
13 libLLVMIPA_a_SOURCES = \
14 Andersens.cpp \
15 CallGraph.cpp \
16 CallGraphSCCPass.cpp \
17 FindUnsafePointerTypes.cpp \
18 FindUsedTypes.cpp \
19 GlobalsModRef.cpp \
20 PrintSCC.cpp
0 #===-- lib/Analysis/Makefile.am ----------------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 SUBDIRS = IPA DataStructure
12
13 lib_LIBRARIES = libLLVMAnalysis.a
14
15 libLLVMAnalysis_a_SOURCES = \
16 AliasAnalysisCounter.cpp \
17 AliasAnalysis.cpp \
18 AliasAnalysisEvaluator.cpp \
19 AliasSetTracker.cpp \
20 BasicAliasAnalysis.cpp \
21 CFGPrinter.cpp \
22 Expressions.cpp \
23 InstCount.cpp \
24 Interval.cpp \
25 IntervalPartition.cpp \
26 LoadValueNumbering.cpp \
27 LoopInfo.cpp \
28 PostDominators.cpp \
29 ProfileInfo.cpp \
30 ProfileInfoLoader.cpp \
31 ProfileInfoLoaderPass.cpp \
32 ScalarEvolution.cpp \
33 Trace.cpp \
34 ValueNumbering.cpp
0 #===-- lib/AsmParser/Makefile.am ---------------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 libexec_PROGRAMS = LLVMAsmParser.o
12
13 BUILT_SOURCES = llvmAsmParser.cpp Lexer.cpp llvmAsmParser.h
14
15 LLVMAsmParser_o_SOURCES = Parser.cpp $(BUILT_SOURCES)
16 LIBS=
17
18 Lexer.o: llvmAsmParser.h
0 #===-- lib/Bytecode/Makefile.am ----------------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 SUBDIRS = Reader Writer
0 #===-- lib/Bytecode/Reader/Makefile.am ---------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 libexec_PROGRAMS = LLVMBCReader.o
12
13 LLVMBCReader_o_SOURCES = \
14 Analyzer.cpp \
15 ArchiveReader.cpp \
16 LibraryReader.cpp \
17 Reader.cpp \
18 ReaderWrappers.cpp
19
20 LIBS=
0 #===-- lib/Bytecode/Writer/Makefile.am ---------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 libexec_PROGRAMS = LLVMBCWriter.o
12
13 LLVMBCWriter_o_SOURCES = SlotCalculator.cpp Writer.cpp
14 LIBS=
0 #===-- lib/CodeGen/InstrSched/Makefile.am ------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 lib_LIBRARIES = libLLVMInstrSched.a
12 libexec_PROGRAMS = LLVMInstrSched.o
13
14 MYSOURCES = \
15 InstrScheduling.cpp \
16 SchedGraphCommon.cpp \
17 SchedGraph.cpp \
18 SchedPriorities.cpp
19
20 libLLVMInstrSched_a_SOURCES = $(MYSOURCES)
21 LLVMInstrSched_o_SOURCES = $(MYSOURCES)
22 LIBS=
0 #===-- lib/CodeGen/Makefile.am -----------------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 SUBDIRS = InstrSched ModuloScheduling SelectionDAG
12
13 libexec_PROGRAMS = LLVMCodeGen.o
14
15 LLVMCodeGen_o_SOURCES = \
16 AsmPrinter.cpp \
17 BranchFolding.cpp \
18 IntrinsicLowering.cpp \
19 LiveIntervalAnalysis.cpp \
20 LiveInterval.cpp \
21 LiveVariables.cpp \
22 MachineBasicBlock.cpp \
23 MachineCodeEmitter.cpp \
24 MachineFunction.cpp \
25 MachineInstr.cpp \
26 Passes.cpp \
27 PHIElimination.cpp \
28 PrologEpilogInserter.cpp \
29 RegAllocIterativeScan.cpp \
30 RegAllocLinearScan.cpp \
31 RegAllocLocal.cpp \
32 RegAllocSimple.cpp \
33 TwoAddressInstructionPass.cpp \
34 UnreachableBlockElim.cpp \
35 VirtRegMap.cpp
36
37 LIBS=
0 #===-- lib/CodeGen/ModuloScheduling/Makefile.am ------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 libexec_PROGRAMS = LLVMModuloScheduling.o
12
13 LLVMModuloScheduling_o_SOURCES = \
14 ModuloScheduling.cpp \
15 MSchedGraph.cpp \
16 MSSchedule.cpp
17
18 LIBS=
0 #===-- lib/CodeGen/SelectionDAG/Makefile.am ----------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 libexec_PROGRAMS = LLVMSelectionDAG.o
12
13 LLVMSelectionDAG_o_SOURCES = DAGBuilder.cpp SelectionDAG.cpp
14 LIBS=
0 #===-- lib/Debugger/Makefile.am ----------------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 libexec_PROGRAMS = LLVMDebugger.o
12
13 LLVMDebugger_o_SOURCES = \
14 Debugger.cpp \
15 ProgramInfo.cpp \
16 RuntimeInfo.cpp \
17 SourceFile.cpp \
18 SourceLanguage-CFamily.cpp \
19 SourceLanguage-CPlusPlus.cpp \
20 SourceLanguage.cpp \
21 SourceLanguage-Unknown.cpp \
22 UnixLocalInferiorProcess.cpp
23
24 LIBS=
0 #===-- lib/ExecutionEngine/Interpreter/Makefile.am ---------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 libexec_PROGRAMS = LLVMInterpreter.o
12
13 LLVMInterpreter_o_SOURCES = \
14 Execution.cpp ExternalFunctions.cpp Interpreter.cpp
15
16 LIBS=
0 #===-- lib/ExecutionEngine/JIT/Makefile.am -----------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 libexec_PROGRAMS = LLVMJIT.o
12
13 LLVMJIT_o_SOURCES = Emitter.cpp Intercept.cpp JIT.cpp TargetSelect.cpp
14 LIBS=
15
16 # Enable the X86 JIT if compiling on X86
17 if ARCH_X86
18 ENABLE_X86_JIT = 1
19 endif
20
21 # This flag can also be used on the command line to force inclusion
22 # of the X86 JIT on non-X86 hosts
23 ifdef ENABLE_X86_JIT
24 CPPFLAGS += -DENABLE_X86_JIT
25 endif
26
27 # Enable the Sparc JIT if compiling on Sparc
28 if ARCH_SPARC
29 ENABLE_SPARC_JIT = 1
30 endif
31
32 # This flag can also be used on the command line to force inclusion
33 # of the Sparc JIT on non-Sparc hosts
34 ifdef ENABLE_SPARC_JIT
35 CPPFLAGS += -DENABLE_SPARC_JIT
36 endif
0 #===-- lib/ExecutionEngine/Makefile.am ---------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 SUBDIRS = Interpreter JIT
12
13 libexec_PROGRAMS = LLVMExecutionEngine.o
14
15 LLVMExecutionEngine_o_SOURCES = ExecutionEngine.cpp
16 LIBS=
0 #===-- lib/Makefile.am -- Makefile For Libraries -----------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 SUBDIRS = Analysis AsmParser Bytecode CodeGen Debugger ExecutionEngine Target \
12 Transforms VMCore
0 #===-- lib/Support/Makefile.am -----------------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 lib_LIBRARIES = libLLVMSupport.a
12
13 libLLVMSupport_a_SOURCES = \
14 Annotation.cpp \
15 CommandLine.cpp \
16 Compressor.cpp \
17 Debug.cpp \
18 DynamicLinker.cpp \
19 FileUtilities.cpp \
20 IsInf.cpp \
21 IsNAN.cpp \
22 PluginLoader.cpp \
23 SlowOperationInformer.cpp \
24 Statistic.cpp \
25 StringExtras.cpp \
26 SystemUtils.cpp \
27 Timer.cpp \
28 ToolRunner.cpp
0 #===-- lib/System/Makefile.am ------------------------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 lib_LIBRARIES = libLLVMSystem.a
12
13 libLLVMSystem_a_SOURCES = \
14 MappedFile.cpp \
15 Memory.cpp \
16 Path.cpp \
17 Process.cpp \
18 Program.cpp \
19 Signals.cpp \
20 SysConfig.cpp \
21 TimeValue.cpp
0 #===-- lib/CodeGen/ModuloScheduling/Makefile.am ------------*- Makefile -*--===#
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 #===------------------------------------------------------------------------===#
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 libexec_PROGRAMS = LLVMModuloScheduling.o
12
13 LLVMModuloScheduling_o_SOURCES = \
14 ModuloScheduling.cpp \
15 MSchedGraph.cpp \
16 MSSchedule.cpp
17
18 LIBS=
0 ##===- utils/Burg/Makefile.am ------------------------------*- Makefile -*-===##
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 ##===----------------------------------------------------------------------===##
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 bin_PROGRAMS = burg
12
13 BUILT_SOURCES= gram.tab.c
14 burg_SOURCES = be.c burs.c closure.c delta.c fe.c gram.yc item.c lex.c list.c \
15 main.c map.c nonterminal.c operator.c pattern.c plank.c queue.c \
16 rule.c sample.gr string.c symtab.c table.c trim.c zalloc.c \
17 $(BUILT_SOURCES)
18
19 EXTRA_DIST = LICENSE.TXT
20
21 lex.o: gram.tab.h
22
23 gram.tab.c gram.tab.h: gram.yc
24 $(BISON) -o gram.tab.c -d $<
25
26 clean::
27 $(VERB) $(RM) -rf gram.tab.h gram.tab.c core* *.aux *.log *.dvi sample sample.c tmp
28
29 doc.dvi: doc.tex
30 $(VERB) latex doc; latex doc
31
32 test:: $(TOOLEXENAME_G) sample.gr
33 $(TOOLEXENAME_G) -I sample.c && $(CC) $(CFLAGS) -o sample sample.c && ./sample
34 $(TOOLEXENAME_G) -I sample.gr >tmp && cmp tmp sample.c
35 $(TOOLEXENAME_G) -I
36 $(TOOLEXENAME_G) -I sample.gr -o tmp && cmp tmp sample.c
37 $(TOOLEXENAME_G) -I -O0 tmp && cmp tmp sample.c
38 $(TOOLEXENAME_G) -I -= tmp && cmp tmp sample.c
39 $(RM) -f tmp sample.c
0 ##===- utils/TableGen/Makefile.am --------------------------*- Makefile -*-===##
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 ##===----------------------------------------------------------------------===##
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 bin_PROGRAMS = TableGen
12
13 BUILT_SOURCES = FileLexer.cpp FileParser.cpp FileParser.h
14
15 TableGen_SOURCES =AsmWriterEmitter.cpp \
16 CodeEmitterGen.cpp \
17 CodeEmitterGen.h \
18 CodeGenInstruction.h \
19 CodeGenRegisters.h \
20 CodeGenTarget.cpp \
21 CodeGenTarget.h \
22 InstrInfoEmitter.cpp \
23 InstrInfoEmitter.h \
24 InstrSelectorEmitter.cpp \
25 InstrSelectorEmitter.h \
26 Record.cpp \
27 Record.h \
28 RegisterInfoEmitter.cpp \
29 RegisterInfoEmitter.h \
30 TableGenBackend.cpp \
31 TableGenBackend.h \
32 TableGen.cpp \
33 $(BUILT_SOURCES)
34
35 TableGen_LDADD = $(call GETLIBS,Support,System)
0 ##===- utils/fpcmp/Makefile.am -----------------------------*- Makefile -*-===##
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file was developed by Reid Spencer and is distributed under the
5 # University of Illinois Open Source License. See LICENSE.TXT for details.
6 #
7 ##===----------------------------------------------------------------------===##
8
9 include $(top_srcdir)/Makefile.rules.am
10
11 bin_PROGRAMS = fpcmp
12
13 fpcmp_SOURCES= fpcmp.cpp
14
15 fpcmp_LDADD = $(call GETLIBS,Support)