diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-10-13 11:46:52 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-10-13 11:46:52 +0000 |
commit | d96cb6eaa0a878467d9594a12dfe3a55466706f0 (patch) | |
tree | dc06542c0c0bc07e11bdcb8942c5845e0bc732fa /lib | |
parent | 4f2458912cb4d8ace78afdff740709dca458ea7a (diff) | |
download | external_llvm-d96cb6eaa0a878467d9594a12dfe3a55466706f0.zip external_llvm-d96cb6eaa0a878467d9594a12dfe3a55466706f0.tar.gz external_llvm-d96cb6eaa0a878467d9594a12dfe3a55466706f0.tar.bz2 |
Update to reflect changes in Makefile rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
33 files changed, 111 insertions, 120 deletions
diff --git a/lib/Analysis/DataStructure/Makefile.am b/lib/Analysis/DataStructure/Makefile.am index 501dd7a..03ff3c7 100644 --- a/lib/Analysis/DataStructure/Makefile.am +++ b/lib/Analysis/DataStructure/Makefile.am @@ -7,10 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config lib_LIBRARIES = libLLVMDataStructure.a -libexec_PROGRAMS = LLVMDataStructure.o MYSOURCES = \ BottomUpClosure.cpp\ @@ -31,5 +30,4 @@ MYSOURCES = \ TopDownClosure.cpp libLLVMDataStructure_a_SOURCES = $(MYSOURCES) -LLVMDataStructure_o_SOURCES = $(MYSOURCES) -LIBS= +PRELINK=libLLVMDataStructure.a diff --git a/lib/Analysis/IPA/Makefile.am b/lib/Analysis/IPA/Makefile.am index 049ad66..796d381 100644 --- a/lib/Analysis/IPA/Makefile.am +++ b/lib/Analysis/IPA/Makefile.am @@ -7,10 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -lib_LIBRARIES = libLLVMIPA.a -libexec_PROGRAMS = LLVMIPA.o +lib_LIBRARIES = libLLVMIPA.a MYSOURCES = \ Andersens.cpp \ @@ -20,6 +19,7 @@ MYSOURCES = \ FindUsedTypes.cpp \ GlobalsModRef.cpp \ PrintSCC.cpp + libLLVMIPA_a_SOURCES = $(MYSOURCES) -LLVMIPA_o_SOURCES = $(MYSOURCES) -LIBS= + +PRELINK=libLLVMIPA.a diff --git a/lib/Analysis/Makefile.am b/lib/Analysis/Makefile.am index 43400db..fe9830c 100644 --- a/lib/Analysis/Makefile.am +++ b/lib/Analysis/Makefile.am @@ -7,12 +7,11 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config SUBDIRS = IPA DataStructure lib_LIBRARIES = libLLVMAnalysis.a -libexec_PROGRAMS = LLVMAnalysis.o MYSOURCES = \ AliasAnalysisCounter.cpp \ @@ -36,5 +35,4 @@ MYSOURCES = \ ValueNumbering.cpp libLLVMAnalysis_a_SOURCES = $(MYSOURCES) -LLVMAnalysis_o_SOURCES = $(MYSOURCES) -LIBS= +PRELINK=libLLVMAnalysis.a diff --git a/lib/AsmParser/Makefile.am b/lib/AsmParser/Makefile.am index deedb97..14f00a2 100644 --- a/lib/AsmParser/Makefile.am +++ b/lib/AsmParser/Makefile.am @@ -7,13 +7,14 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMAsmParser.o +lib_LIBRARIES = libLLVMAsmParser.a BUILT_SOURCES = llvmAsmParser.cpp Lexer.cpp llvmAsmParser.h -LLVMAsmParser_o_SOURCES = Parser.cpp $(BUILT_SOURCES) -LIBS= +libLLVMAsmParser_a_SOURCES = Parser.cpp $(BUILT_SOURCES) + +PRELINK=libLLVMAsmParser.a Lexer.o: llvmAsmParser.h diff --git a/lib/Bytecode/Makefile.am b/lib/Bytecode/Makefile.am index 0391000..7724041 100644 --- a/lib/Bytecode/Makefile.am +++ b/lib/Bytecode/Makefile.am @@ -7,6 +7,6 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config SUBDIRS = Reader Writer diff --git a/lib/Bytecode/Reader/Makefile.am b/lib/Bytecode/Reader/Makefile.am index 0285ce9..3a80976 100644 --- a/lib/Bytecode/Reader/Makefile.am +++ b/lib/Bytecode/Reader/Makefile.am @@ -7,15 +7,15 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMBCReader.o +lib_LIBRARIES = libLLVMBCReader.a -LLVMBCReader_o_SOURCES = \ +libLLVMBCReader_a_SOURCES = \ Analyzer.cpp \ ArchiveReader.cpp \ LibraryReader.cpp \ Reader.cpp \ ReaderWrappers.cpp -LIBS= +PRELINK=libLLVMBCReader.a diff --git a/lib/Bytecode/Writer/Makefile.am b/lib/Bytecode/Writer/Makefile.am index 61b4ed8..6ccd816 100644 --- a/lib/Bytecode/Writer/Makefile.am +++ b/lib/Bytecode/Writer/Makefile.am @@ -7,9 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMBCWriter.o +lib_LIBRARIES = libLLVMBCWriter.a -LLVMBCWriter_o_SOURCES = SlotCalculator.cpp Writer.cpp -LIBS= +libLLVMBCWriter_a_SOURCES = SlotCalculator.cpp Writer.cpp +PRELINK=libLLVMBCWriter.a diff --git a/lib/CodeGen/Makefile.am b/lib/CodeGen/Makefile.am index 0f3cdd2..68d0936 100644 --- a/lib/CodeGen/Makefile.am +++ b/lib/CodeGen/Makefile.am @@ -7,13 +7,13 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config SUBDIRS = SelectionDAG -libexec_PROGRAMS = LLVMCodeGen.o +lib_LIBRARIES = libLLVMCodeGen.a -LLVMCodeGen_o_SOURCES = \ +libLLVMCodeGen_a_SOURCES = \ AsmPrinter.cpp \ BranchFolding.cpp \ IntrinsicLowering.cpp \ @@ -35,4 +35,4 @@ LLVMCodeGen_o_SOURCES = \ UnreachableBlockElim.cpp \ VirtRegMap.cpp -LIBS= +PRELINK=libLLVMCodeGen.a diff --git a/lib/CodeGen/SelectionDAG/Makefile.am b/lib/CodeGen/SelectionDAG/Makefile.am index d0dbf6d..5164277 100644 --- a/lib/CodeGen/SelectionDAG/Makefile.am +++ b/lib/CodeGen/SelectionDAG/Makefile.am @@ -7,9 +7,10 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMSelectionDAG.o +lib_LIBRARIES = libLLVMSelectionDAG.a -LLVMSelectionDAG_o_SOURCES = DAGBuilder.cpp SelectionDAG.cpp -LIBS= +libLLVMSelectionDAG_a_SOURCES = DAGBuilder.cpp SelectionDAG.cpp + +PRELINK=libLLVMSelectionDAG.a diff --git a/lib/Debugger/Makefile.am b/lib/Debugger/Makefile.am index 8bd0e9a..2a601e6 100644 --- a/lib/Debugger/Makefile.am +++ b/lib/Debugger/Makefile.am @@ -7,11 +7,11 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMDebugger.o +lib_LIBRARIES = libLLVMDebugger.a -LLVMDebugger_o_SOURCES = \ +libLLVMDebugger_a_SOURCES = \ Debugger.cpp \ ProgramInfo.cpp \ RuntimeInfo.cpp \ @@ -22,4 +22,4 @@ LLVMDebugger_o_SOURCES = \ SourceLanguage-Unknown.cpp \ UnixLocalInferiorProcess.cpp -LIBS= +PRELINK=libLLVMDebugger.a diff --git a/lib/ExecutionEngine/Interpreter/Makefile.am b/lib/ExecutionEngine/Interpreter/Makefile.am index 650807f..420de6a 100644 --- a/lib/ExecutionEngine/Interpreter/Makefile.am +++ b/lib/ExecutionEngine/Interpreter/Makefile.am @@ -7,11 +7,11 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMInterpreter.o +lib_LIBRARIES = libLLVMInterpreter.a -LLVMInterpreter_o_SOURCES = \ +libLLVMInterpreter_a_SOURCES = \ Execution.cpp ExternalFunctions.cpp Interpreter.cpp -LIBS= +PRELINK=libLLVMInterpreter.a diff --git a/lib/ExecutionEngine/JIT/Makefile.am b/lib/ExecutionEngine/JIT/Makefile.am index eb9c589..a0198d2 100644 --- a/lib/ExecutionEngine/JIT/Makefile.am +++ b/lib/ExecutionEngine/JIT/Makefile.am @@ -7,12 +7,13 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMJIT.o +lib_LIBRARIES = libLLVMJIT.a -LLVMJIT_o_SOURCES = Emitter.cpp Intercept.cpp JIT.cpp TargetSelect.cpp -LIBS= +libLLVMJIT_a_SOURCES = Emitter.cpp Intercept.cpp JIT.cpp TargetSelect.cpp + +PRELINK=libLLVMJIT.a # Enable the X86 JIT if compiling on X86 if ARCH_X86 diff --git a/lib/ExecutionEngine/Makefile.am b/lib/ExecutionEngine/Makefile.am index a4e2339..ada3bc8 100644 --- a/lib/ExecutionEngine/Makefile.am +++ b/lib/ExecutionEngine/Makefile.am @@ -7,11 +7,12 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config SUBDIRS = Interpreter JIT -libexec_PROGRAMS = LLVMExecutionEngine.o +lib_LIBRARIES = libLLVMExecutionEngine.a -LLVMExecutionEngine_o_SOURCES = ExecutionEngine.cpp -LIBS= +libLLVMExecutionEngine_a_SOURCES = ExecutionEngine.cpp + +PRELINK=libLLVMExecutionEngine.a diff --git a/lib/Makefile.am b/lib/Makefile.am index cd524c7..54f2f77 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -7,7 +7,7 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -SUBDIRS = Analysis AsmParser Bytecode CodeGen Debugger ExecutionEngine Target \ - Transforms VMCore +SUBDIRS = VMCore Bytecode AsmParser Analysis Transforms CodeGen Target \ + ExecutionEngine Debugger diff --git a/lib/Support/Makefile.am b/lib/Support/Makefile.am index dce817c..a1679da 100644 --- a/lib/Support/Makefile.am +++ b/lib/Support/Makefile.am @@ -7,7 +7,7 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config lib_LIBRARIES = libLLVMSupport.a diff --git a/lib/System/Makefile.am b/lib/System/Makefile.am index c54ec0c..9e7b3e0 100644 --- a/lib/System/Makefile.am +++ b/lib/System/Makefile.am @@ -7,7 +7,7 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config lib_LIBRARIES = libLLVMSystem.a diff --git a/lib/Target/CBackend/Makefile.am b/lib/Target/CBackend/Makefile.am index 217b1cd..0093303 100644 --- a/lib/Target/CBackend/Makefile.am +++ b/lib/Target/CBackend/Makefile.am @@ -7,9 +7,10 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMCWriter.o +lib_LIBRARIES = libLLVMCWriter.a -LLVMCWriter_o_SOURCES = Writer.cpp -LIBS= +libLLVMCWriter_a_SOURCES = Writer.cpp + +PRELINK=libLLVMCWriter.a diff --git a/lib/Target/Makefile.am b/lib/Target/Makefile.am index 6242247..0513c04 100644 --- a/lib/Target/Makefile.am +++ b/lib/Target/Makefile.am @@ -7,7 +7,7 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config SUBDIRS = X86 CBackend PowerPC SparcV9 Skeleton diff --git a/lib/Target/PowerPC/Makefile.am b/lib/Target/PowerPC/Makefile.am index aa97dfb..92c3f7e 100644 --- a/lib/Target/PowerPC/Makefile.am +++ b/lib/Target/PowerPC/Makefile.am @@ -7,9 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMPowerPC.o +lib_LIBRARIES = libLLVMPowerPC.a BUILT_SOURCES = \ PowerPCGenInstrNames.inc \ @@ -23,7 +23,7 @@ BUILT_SOURCES = \ PPC64GenRegisterInfo.inc \ PPC64GenInstrInfo.inc -LLVMPowerPC_o_SOURCES = \ +libLLVMPowerPC_a_SOURCES = \ PowerPCAsmPrinter.cpp \ PowerPCBranchSelector.cpp \ PowerPCTargetMachine.cpp \ @@ -36,6 +36,6 @@ LLVMPowerPC_o_SOURCES = \ PPC64ISelSimple.cpp \ PPC64RegisterInfo.cpp -LIBS= +PRELINK=libLLVMPowerPC.a $(BUILT_SOURCES) : $(LLVM_TDFILES) $(TBLGEN) diff --git a/lib/Target/Skeleton/Makefile.am b/lib/Target/Skeleton/Makefile.am index e9d9d5a..b7da9bb 100644 --- a/lib/Target/Skeleton/Makefile.am +++ b/lib/Target/Skeleton/Makefile.am @@ -8,9 +8,9 @@ #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMSkeleton.o +lib_LIBRARIES = libLLVMSkeleton.a BUILT_SOURCES = \ SkeletonGenRegisterInfo.h.inc \ @@ -19,13 +19,13 @@ BUILT_SOURCES = \ SkeletonGenInstrNames.inc \ SkeletonGenInstrInfo.inc -LLVMSkeleton_o_SOURCES = \ +libLLVMSkeleton_a_SOURCES = \ SkeletonInstrInfo.cpp \ SkeletonJITInfo.cpp \ SkeletonRegisterInfo.cpp \ SkeletonTargetMachine.cpp \ $(BUILT_SOURCES) -LIBS= +PRELINK=libLLVMSkeleton.a $(BUILT_SOURCES) : $(TDFILES) $(TBLGEN) diff --git a/lib/Target/SparcV9/InstrSched/Makefile.am b/lib/Target/SparcV9/InstrSched/Makefile.am index 4708c6c..4ce868b 100644 --- a/lib/Target/SparcV9/InstrSched/Makefile.am +++ b/lib/Target/SparcV9/InstrSched/Makefile.am @@ -7,10 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config lib_LIBRARIES = libLLVMSparcV9InstrSched.a -libexec_PROGRAMS = LLVMSparcV9InstrSched.o MYSOURCES = \ InstrScheduling.cpp \ @@ -19,5 +18,5 @@ MYSOURCES = \ SchedPriorities.cpp libLLVMSparcV9InstrSched_a_SOURCES = $(MYSOURCES) -LLVMSparcV9InstrSched_o_SOURCES = $(MYSOURCES) -LIBS= + +PRELINK=libLLVMSparcV9InstrSched.a diff --git a/lib/Target/SparcV9/LiveVar/Makefile.am b/lib/Target/SparcV9/LiveVar/Makefile.am index b79d3d7..f502d47 100644 --- a/lib/Target/SparcV9/LiveVar/Makefile.am +++ b/lib/Target/SparcV9/LiveVar/Makefile.am @@ -7,10 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config lib_LIBRARIES = libLLVMSparcV9LiveVar.a -libexec_PROGRAMS = LLVMSparcV9LiveVar.o MYSOURCES = \ BBLiveVar.cpp \ @@ -18,5 +17,5 @@ MYSOURCES = \ ValueSet.cpp libLLVMSparcV9LiveVar_a_SOURCES = $(MYSOURCES) -LLVMSparcV9LiveVar_o_SOURCES = $(MYSOURCES) -LIBS= + +PRELINK=libLLVMSparcV9LiveVar.a diff --git a/lib/Target/SparcV9/Makefile.am b/lib/Target/SparcV9/Makefile.am index cb7312f..780eb87 100644 --- a/lib/Target/SparcV9/Makefile.am +++ b/lib/Target/SparcV9/Makefile.am @@ -7,17 +7,17 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config SUBDIRS = InstrSched LiveVar ModuloScheduling RegAlloc -libexec_PROGRAMS = LLVMSparcV9.o +lib_LIBRARIES = libLLVMSparcV9.a BUILT_SOURCES = \ SparcV9CodeEmitter.inc \ SparcV9.burm.cpp -LLVMSparcV9_o_SOURCES = \ +libLLVMSparcV9_a_SOURCES = \ EmitBytecodeToAssembly.cpp \ InternalGlobalMapper.cpp \ MachineCodeForInstruction.cpp \ @@ -39,7 +39,7 @@ LLVMSparcV9_o_SOURCES = \ SparcV9TmpInstr.cpp \ $(BUILT_SOURCES) -LIBS= +PRELINK=libLLVMSparcV9.a SparcV9.burg.in1 : SparcV9.burg.in $(CXX) -E $(AM_CPPFLAGS) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/Ydefine/#define/' > $@ diff --git a/lib/Target/SparcV9/RegAlloc/Makefile.am b/lib/Target/SparcV9/RegAlloc/Makefile.am index f181d15..b27c420 100644 --- a/lib/Target/SparcV9/RegAlloc/Makefile.am +++ b/lib/Target/SparcV9/RegAlloc/Makefile.am @@ -7,10 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config lib_LIBRARIES = libLLVMSparcV9RegAlloc.a -libexec_PROGRAMS = LLVMSparcV9RegAlloc.o MYSOURCES = \ IGNode.cpp \ @@ -20,5 +19,5 @@ MYSOURCES = \ RegClass.cpp libLLVMSparcV9RegAlloc_a_SOURCES = $(MYSOURCES) -LLVMSparcV9RegAlloc_o_SOURCES = $(MYSOURCES) -LIBS= + +PRELINK=libLLVMSparcV9RegAlloc.a diff --git a/lib/Target/X86/Makefile.am b/lib/Target/X86/Makefile.am index 8fa7bd9..67cc994 100644 --- a/lib/Target/X86/Makefile.am +++ b/lib/Target/X86/Makefile.am @@ -7,9 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMX86.o +lib_LIBRARIES = libLLVMX86.a BUILT_SOURCES = \ X86GenRegisterInfo.h.inc \ @@ -20,7 +20,7 @@ BUILT_SOURCES = \ X86GenATTAsmWriter.inc \ X86GenIntelAsmWriter.inc -LLVMX86_o_SOURCES = \ +libLLVMX86_a_SOURCES = \ X86AsmPrinter.cpp \ X86CodeEmitter.cpp \ X86FloatingPoint.cpp \ @@ -31,6 +31,6 @@ LLVMX86_o_SOURCES = \ X86RegisterInfo.cpp \ X86TargetMachine.cpp -LIBS= +PRELINK=libLLVMX86.a $(BUILT_SOURCES) : $(LLVM_TDFILES) $(TBLGEN) diff --git a/lib/Transforms/Hello/Makefile.am b/lib/Transforms/Hello/Makefile.am index 75fa34f..4cca638 100644 --- a/lib/Transforms/Hello/Makefile.am +++ b/lib/Transforms/Hello/Makefile.am @@ -7,9 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMHello.o +lib_LIBRARIES = libLLVMHello.a -LLVMHello_o_SOURCES = Hello.cpp -LIBS= +libLLVMHello_a_SOURCES = Hello.cpp +PRELINK=libLLVMHello.a diff --git a/lib/Transforms/IPO/Makefile.am b/lib/Transforms/IPO/Makefile.am index c10360f..e71892a 100644 --- a/lib/Transforms/IPO/Makefile.am +++ b/lib/Transforms/IPO/Makefile.am @@ -7,10 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config lib_LIBRARIES = libLLVMIPO.a -libexec_PROGRAMS = LLVMIPO.o MYSOURCES= \ ArgumentPromotion.cpp \ @@ -31,5 +30,5 @@ MYSOURCES= \ RaiseAllocations.cpp libLLVMIPO_a_SOURCES = $(MYSOURCES) -LLVMIPO_o_SOURCES = $(MYSOURCES) -LIBS= + +PRELINK=libLLVMIPO.a diff --git a/lib/Transforms/Instrumentation/Makefile.am b/lib/Transforms/Instrumentation/Makefile.am index 4e71655..a5cac36 100644 --- a/lib/Transforms/Instrumentation/Makefile.am +++ b/lib/Transforms/Instrumentation/Makefile.am @@ -7,12 +7,11 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config SUBDIRS = ProfilePaths lib_LIBRARIES = libLLVMInstrument.a -libexec_PROGRAMS = LLVMInstrument.o MYSOURCES = \ BlockProfiling.cpp \ @@ -23,5 +22,5 @@ MYSOURCES = \ TraceValues.cpp libLLVMInstrument_a_SOURCES = $(MYSOURCES) -LLVMInstrument_o_SOURCES = $(MYSOURCES) -LIBS= + +PRELINK=libLLVMInstrument.a diff --git a/lib/Transforms/Instrumentation/ProfilePaths/Makefile.am b/lib/Transforms/Instrumentation/ProfilePaths/Makefile.am index 62874a0..0bce3ac 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/Makefile.am +++ b/lib/Transforms/Instrumentation/ProfilePaths/Makefile.am @@ -7,10 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config lib_LIBRARIES = libLLVMProfilePaths.a -libexec_PROGRAMS = LLVMProfilePaths.o MYSOURCES= \ CombineBranch.cpp \ @@ -22,5 +21,5 @@ MYSOURCES= \ RetracePath.cpp libLLVMProfilePaths_a_SOURCES = $(MYSOURCES) -LLVMProfilePaths_o_SOURCES = $(MYSOURCES) -LIBS= + +PRELINK=libLLVMProfilePaths.a diff --git a/lib/Transforms/Makefile.am b/lib/Transforms/Makefile.am index cf6ac80..8f8b9e1 100644 --- a/lib/Transforms/Makefile.am +++ b/lib/Transforms/Makefile.am @@ -7,15 +7,14 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config 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= + +PRELINK=libLLVMTransforms.a diff --git a/lib/Transforms/Scalar/Makefile.am b/lib/Transforms/Scalar/Makefile.am index 6271fde..72a5db7 100644 --- a/lib/Transforms/Scalar/Makefile.am +++ b/lib/Transforms/Scalar/Makefile.am @@ -7,10 +7,10 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config lib_LIBRARIES = libLLVMScalarOpts.a -libexec_PROGRAMS = LLVMScalarOpts.o +PRELINK=libLLVMScalarOpts.a MYSOURCES = \ ADCE.cpp \ @@ -46,5 +46,3 @@ MYSOURCES = \ libLLVMScalarOpts_a_SOURCES = $(MYSOURCES) -LLVMScalarOpts_o_SOURCES = $(MYSOURCES) -LIBS= diff --git a/lib/Transforms/Utils/Makefile.am b/lib/Transforms/Utils/Makefile.am index e5a2a66..65c8ad4 100644 --- a/lib/Transforms/Utils/Makefile.am +++ b/lib/Transforms/Utils/Makefile.am @@ -7,10 +7,9 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config lib_LIBRARIES = libLLVMTransformUtils.a -libexec_PROGRAMS = LLVMTransformUtils.o MYSOURCES = \ BasicBlockUtils.cpp \ @@ -28,5 +27,5 @@ MYSOURCES = \ ValueMapper.cpp libLLVMTransformUtils_a_SOURCES = $(MYSOURCES) -LLVMTransformUtils_o_SOURCES = $(MYSOURCES) -LIBS= + +PRELINK=libLLVMTransformUtils.a diff --git a/lib/VMCore/Makefile.am b/lib/VMCore/Makefile.am index f9efdf6..a5396ce 100644 --- a/lib/VMCore/Makefile.am +++ b/lib/VMCore/Makefile.am @@ -7,11 +7,11 @@ # #===------------------------------------------------------------------------===# -include $(top_srcdir)/Makefile.rules.am +include $(top_srcdir)/Makefile_config -libexec_PROGRAMS = LLVMCore.o +lib_LIBRARIES = libLLVMCore.a -LLVMCore_o_SOURCES = \ +libLLVMCore_a_SOURCES = \ AsmWriter.cpp \ BasicBlock.cpp \ ConstantFolding.cpp \ @@ -34,4 +34,4 @@ LLVMCore_o_SOURCES = \ Value.cpp \ Verifier.cpp -LIBS= +PRELINK=libLLVMCore.a |