#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
lib_LIBRARIES = libLLVMDataStructure.a
-libexec_PROGRAMS = LLVMDataStructure.o
MYSOURCES = \
BottomUpClosure.cpp\
TopDownClosure.cpp
libLLVMDataStructure_a_SOURCES = $(MYSOURCES)
-LLVMDataStructure_o_SOURCES = $(MYSOURCES)
-LIBS=
+PRELINK=libLLVMDataStructure.a
#
#===------------------------------------------------------------------------===#
-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 \
FindUsedTypes.cpp \
GlobalsModRef.cpp \
PrintSCC.cpp
+
libLLVMIPA_a_SOURCES = $(MYSOURCES)
-LLVMIPA_o_SOURCES = $(MYSOURCES)
-LIBS=
+
+PRELINK=libLLVMIPA.a
#
#===------------------------------------------------------------------------===#
-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 \
ValueNumbering.cpp
libLLVMAnalysis_a_SOURCES = $(MYSOURCES)
-LLVMAnalysis_o_SOURCES = $(MYSOURCES)
-LIBS=
+PRELINK=libLLVMAnalysis.a
#
#===------------------------------------------------------------------------===#
-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
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
SUBDIRS = Reader Writer
#
#===------------------------------------------------------------------------===#
-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
#
#===------------------------------------------------------------------------===#
-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
#
#===------------------------------------------------------------------------===#
-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 \
UnreachableBlockElim.cpp \
VirtRegMap.cpp
-LIBS=
+PRELINK=libLLVMCodeGen.a
#
#===------------------------------------------------------------------------===#
-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
#
#===------------------------------------------------------------------------===#
-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 \
SourceLanguage-Unknown.cpp \
UnixLocalInferiorProcess.cpp
-LIBS=
+PRELINK=libLLVMDebugger.a
#
#===------------------------------------------------------------------------===#
-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
#
#===------------------------------------------------------------------------===#
-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
#
#===------------------------------------------------------------------------===#
-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
#
#===------------------------------------------------------------------------===#
-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
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
lib_LIBRARIES = libLLVMSupport.a
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
lib_LIBRARIES = libLLVMSystem.a
#
#===------------------------------------------------------------------------===#
-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
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
SUBDIRS = X86 CBackend PowerPC SparcV9 Skeleton
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
-libexec_PROGRAMS = LLVMPowerPC.o
+lib_LIBRARIES = libLLVMPowerPC.a
BUILT_SOURCES = \
PowerPCGenInstrNames.inc \
PPC64GenRegisterInfo.inc \
PPC64GenInstrInfo.inc
-LLVMPowerPC_o_SOURCES = \
+libLLVMPowerPC_a_SOURCES = \
PowerPCAsmPrinter.cpp \
PowerPCBranchSelector.cpp \
PowerPCTargetMachine.cpp \
PPC64ISelSimple.cpp \
PPC64RegisterInfo.cpp
-LIBS=
+PRELINK=libLLVMPowerPC.a
$(BUILT_SOURCES) : $(LLVM_TDFILES) $(TBLGEN)
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
-libexec_PROGRAMS = LLVMSkeleton.o
+lib_LIBRARIES = libLLVMSkeleton.a
BUILT_SOURCES = \
SkeletonGenRegisterInfo.h.inc \
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)
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
lib_LIBRARIES = libLLVMSparcV9InstrSched.a
-libexec_PROGRAMS = LLVMSparcV9InstrSched.o
MYSOURCES = \
InstrScheduling.cpp \
SchedPriorities.cpp
libLLVMSparcV9InstrSched_a_SOURCES = $(MYSOURCES)
-LLVMSparcV9InstrSched_o_SOURCES = $(MYSOURCES)
-LIBS=
+
+PRELINK=libLLVMSparcV9InstrSched.a
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
lib_LIBRARIES = libLLVMSparcV9LiveVar.a
-libexec_PROGRAMS = LLVMSparcV9LiveVar.o
MYSOURCES = \
BBLiveVar.cpp \
ValueSet.cpp
libLLVMSparcV9LiveVar_a_SOURCES = $(MYSOURCES)
-LLVMSparcV9LiveVar_o_SOURCES = $(MYSOURCES)
-LIBS=
+
+PRELINK=libLLVMSparcV9LiveVar.a
#
#===------------------------------------------------------------------------===#
-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 \
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/' > $@
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
lib_LIBRARIES = libLLVMSparcV9RegAlloc.a
-libexec_PROGRAMS = LLVMSparcV9RegAlloc.o
MYSOURCES = \
IGNode.cpp \
RegClass.cpp
libLLVMSparcV9RegAlloc_a_SOURCES = $(MYSOURCES)
-LLVMSparcV9RegAlloc_o_SOURCES = $(MYSOURCES)
-LIBS=
+
+PRELINK=libLLVMSparcV9RegAlloc.a
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
-libexec_PROGRAMS = LLVMX86.o
+lib_LIBRARIES = libLLVMX86.a
BUILT_SOURCES = \
X86GenRegisterInfo.h.inc \
X86GenATTAsmWriter.inc \
X86GenIntelAsmWriter.inc
-LLVMX86_o_SOURCES = \
+libLLVMX86_a_SOURCES = \
X86AsmPrinter.cpp \
X86CodeEmitter.cpp \
X86FloatingPoint.cpp \
X86RegisterInfo.cpp \
X86TargetMachine.cpp
-LIBS=
+PRELINK=libLLVMX86.a
$(BUILT_SOURCES) : $(LLVM_TDFILES) $(TBLGEN)
#
#===------------------------------------------------------------------------===#
-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
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
lib_LIBRARIES = libLLVMIPO.a
-libexec_PROGRAMS = LLVMIPO.o
MYSOURCES= \
ArgumentPromotion.cpp \
RaiseAllocations.cpp
libLLVMIPO_a_SOURCES = $(MYSOURCES)
-LLVMIPO_o_SOURCES = $(MYSOURCES)
-LIBS=
+
+PRELINK=libLLVMIPO.a
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
SUBDIRS = ProfilePaths
lib_LIBRARIES = libLLVMInstrument.a
-libexec_PROGRAMS = LLVMInstrument.o
MYSOURCES = \
BlockProfiling.cpp \
TraceValues.cpp
libLLVMInstrument_a_SOURCES = $(MYSOURCES)
-LLVMInstrument_o_SOURCES = $(MYSOURCES)
-LIBS=
+
+PRELINK=libLLVMInstrument.a
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
lib_LIBRARIES = libLLVMProfilePaths.a
-libexec_PROGRAMS = LLVMProfilePaths.o
MYSOURCES= \
CombineBranch.cpp \
RetracePath.cpp
libLLVMProfilePaths_a_SOURCES = $(MYSOURCES)
-LLVMProfilePaths_o_SOURCES = $(MYSOURCES)
-LIBS=
+
+PRELINK=libLLVMProfilePaths.a
#
#===------------------------------------------------------------------------===#
-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
#
#===------------------------------------------------------------------------===#
-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 \
libLLVMScalarOpts_a_SOURCES = $(MYSOURCES)
-LLVMScalarOpts_o_SOURCES = $(MYSOURCES)
-LIBS=
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
lib_LIBRARIES = libLLVMTransformUtils.a
-libexec_PROGRAMS = LLVMTransformUtils.o
MYSOURCES = \
BasicBlockUtils.cpp \
ValueMapper.cpp
libLLVMTransformUtils_a_SOURCES = $(MYSOURCES)
-LLVMTransformUtils_o_SOURCES = $(MYSOURCES)
-LIBS=
+
+PRELINK=libLLVMTransformUtils.a
#
#===------------------------------------------------------------------------===#
-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 \
Value.cpp \
Verifier.cpp
-LIBS=
+PRELINK=libLLVMCore.a
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
SUBDIRS = analyze llvmc bugpoint extract gccas gccld llvm-bcanalyzer llc \
llee lli llvm-ar llvm-as llvm-db llvm-dis llvm-link llvm-nm \
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = analyze
analyze.cpp \
GraphPrinters.cpp
-#USEDLIBS = asmparser bcreader analysis ipa datastructure scalaropts.a transforms.a \
-# target.a scalaropts.a transformutils.a vmcore support LLVMsystem.a
-
analyze_LDADD = \
$(call GETOBJS,AsmParser,BCReader,Core) \
$(call GETLIBS,Analysis,IPA,DataStructure,ScalarOpts,Transforms,Target) \
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = bugpoint
TestPasses.cpp
bugpoint_LDADD = \
- $(call GETOBJS,AsmParser,BCReader,BCWriter,Core,ProfilePaths) \
- $(call GETLIBS,IPO,ScalarOpts,Analysis,Transforms,Instrument) \
- $(call GETLIBS,DataStructure,IPA,Target,TransformUtils,Support,System)
+ $(call GETOBJS,IPO,ScalarOpts,Analysis,Transforms,Instrument,ProfilePaths) \
+ $(call GETOBJS,DataStructure,IPA) \
+ $(call GETLIBS,Target) \
+ $(call GETOBJS,TransformUtils,AsmParser,BCReader,BCWriter,Core) \
+ $(call GETLIBS,Support,System)
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = extract
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = gccas
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = gccld
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llc
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
-lib_LIBRARIES = libexecve.a
+lib_LTLIBRARIES = libexecve.la
-libexecve_a_SOURCES = ExecveHandler.c StorageProxy.c SysUtils.c
+libexecve_la_SOURCES = ExecveHandler.c StorageProxy.c SysUtils.c
all: llee
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = lli
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llvm-ar
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llvm-as
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llvm-bcanalyzer
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llvm-db
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llvm-dis
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llvm-ld
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llvm-link
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llvm-nm
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llvm-prof
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llvm-stub
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = llvmc
#
#===------------------------------------------------------------------------===#
-include $(top_srcdir)/Makefile.rules.am
+include $(top_srcdir)/Makefile_config
bin_PROGRAMS = opt