From ddef0b3a6c0afe48d2eb596e0184f125c61cfe7f Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 10 Oct 2004 22:17:39 +0000 Subject: [PATCH] Build both archive and relinked objects git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16892 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/Makefile.am | 7 ++++++- lib/Analysis/IPA/Makefile.am | 6 +++++- lib/Analysis/Makefile.am | 7 ++++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/lib/Analysis/DataStructure/Makefile.am b/lib/Analysis/DataStructure/Makefile.am index fcb3ffd4eb9..501dd7a528d 100644 --- a/lib/Analysis/DataStructure/Makefile.am +++ b/lib/Analysis/DataStructure/Makefile.am @@ -10,8 +10,9 @@ include $(top_srcdir)/Makefile.rules.am lib_LIBRARIES = libLLVMDataStructure.a +libexec_PROGRAMS = LLVMDataStructure.o -libLLVMDataStructure_a_SOURCES = \ +MYSOURCES = \ BottomUpClosure.cpp\ CompleteBottomUp.cpp\ DataStructureAA.cpp\ @@ -28,3 +29,7 @@ libLLVMDataStructure_a_SOURCES = \ Printer.cpp\ Steensgaard.cpp\ TopDownClosure.cpp + +libLLVMDataStructure_a_SOURCES = $(MYSOURCES) +LLVMDataStructure_o_SOURCES = $(MYSOURCES) +LIBS= diff --git a/lib/Analysis/IPA/Makefile.am b/lib/Analysis/IPA/Makefile.am index ac7224fd919..049ad66ff38 100644 --- a/lib/Analysis/IPA/Makefile.am +++ b/lib/Analysis/IPA/Makefile.am @@ -10,8 +10,9 @@ include $(top_srcdir)/Makefile.rules.am lib_LIBRARIES = libLLVMIPA.a +libexec_PROGRAMS = LLVMIPA.o -libLLVMIPA_a_SOURCES = \ +MYSOURCES = \ Andersens.cpp \ CallGraph.cpp \ CallGraphSCCPass.cpp \ @@ -19,3 +20,6 @@ libLLVMIPA_a_SOURCES = \ FindUsedTypes.cpp \ GlobalsModRef.cpp \ PrintSCC.cpp +libLLVMIPA_a_SOURCES = $(MYSOURCES) +LLVMIPA_o_SOURCES = $(MYSOURCES) +LIBS= diff --git a/lib/Analysis/Makefile.am b/lib/Analysis/Makefile.am index d6e91fd7a7b..43400dba49e 100644 --- a/lib/Analysis/Makefile.am +++ b/lib/Analysis/Makefile.am @@ -12,8 +12,9 @@ include $(top_srcdir)/Makefile.rules.am SUBDIRS = IPA DataStructure lib_LIBRARIES = libLLVMAnalysis.a +libexec_PROGRAMS = LLVMAnalysis.o -libLLVMAnalysis_a_SOURCES = \ +MYSOURCES = \ AliasAnalysisCounter.cpp \ AliasAnalysis.cpp \ AliasAnalysisEvaluator.cpp \ @@ -33,3 +34,7 @@ libLLVMAnalysis_a_SOURCES = \ ScalarEvolution.cpp \ Trace.cpp \ ValueNumbering.cpp + +libLLVMAnalysis_a_SOURCES = $(MYSOURCES) +LLVMAnalysis_o_SOURCES = $(MYSOURCES) +LIBS=