summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Analysis/DataStructure/Makefile3
-rw-r--r--llvm/lib/Analysis/IPA/Makefile3
-rw-r--r--llvm/lib/Analysis/LiveVar/Makefile2
-rw-r--r--llvm/lib/Bytecode/Reader/Makefile2
-rw-r--r--llvm/lib/Bytecode/Writer/Makefile3
-rw-r--r--llvm/lib/ExecutionEngine/Makefile2
-rw-r--r--llvm/lib/Support/Makefile4
-rw-r--r--llvm/lib/Target/Makefile1
-rw-r--r--llvm/lib/Transforms/IPO/Makefile2
-rw-r--r--llvm/lib/Transforms/Instrumentation/Makefile3
-rw-r--r--llvm/lib/Transforms/Instrumentation/ProfilePaths/Makefile3
-rw-r--r--llvm/lib/Transforms/Makefile2
-rw-r--r--llvm/lib/Transforms/Scalar/Makefile2
-rw-r--r--llvm/lib/Transforms/Utils/Makefile2
-rw-r--r--llvm/lib/VMCore/Makefile2
-rw-r--r--llvm/support/lib/Support/Makefile4
-rw-r--r--llvm/tools/as/Makefile3
-rw-r--r--llvm/tools/dis/Makefile2
-rw-r--r--llvm/tools/extract/Makefile3
-rw-r--r--llvm/tools/gccas/Makefile3
-rw-r--r--llvm/tools/gccld/Makefile3
-rw-r--r--llvm/tools/link/Makefile2
-rw-r--r--llvm/tools/llc/Makefile4
-rw-r--r--llvm/tools/lli/Makefile2
-rw-r--r--llvm/tools/llvm-as/Makefile3
-rw-r--r--llvm/tools/llvm-dis/Makefile2
-rw-r--r--llvm/tools/llvm-link/Makefile2
-rw-r--r--llvm/tools/opt/Makefile4
28 files changed, 31 insertions, 42 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Makefile b/llvm/lib/Analysis/DataStructure/Makefile
index 6822b3742d9..3c4c7e2322e 100644
--- a/llvm/lib/Analysis/DataStructure/Makefile
+++ b/llvm/lib/Analysis/DataStructure/Makefile
@@ -1,7 +1,6 @@
-
LEVEL = ../../..
-
LIBRARYNAME = datastructure
+BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Analysis/IPA/Makefile b/llvm/lib/Analysis/IPA/Makefile
index 95ea15c8eb9..80ef418edb7 100644
--- a/llvm/lib/Analysis/IPA/Makefile
+++ b/llvm/lib/Analysis/IPA/Makefile
@@ -1,7 +1,6 @@
-
LEVEL = ../../..
-
LIBRARYNAME = ipa
+BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Analysis/LiveVar/Makefile b/llvm/lib/Analysis/LiveVar/Makefile
index 81d49480802..7fdf34d50e2 100644
--- a/llvm/lib/Analysis/LiveVar/Makefile
+++ b/llvm/lib/Analysis/LiveVar/Makefile
@@ -1,6 +1,4 @@
-
LEVEL = ../../..
-
LIBRARYNAME = livevar
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Bytecode/Reader/Makefile b/llvm/lib/Bytecode/Reader/Makefile
index 2c79d151046..b48b4d329d5 100644
--- a/llvm/lib/Bytecode/Reader/Makefile
+++ b/llvm/lib/Bytecode/Reader/Makefile
@@ -1,6 +1,4 @@
-
LEVEL = ../../..
-
LIBRARYNAME = bcreader
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Bytecode/Writer/Makefile b/llvm/lib/Bytecode/Writer/Makefile
index c03db561543..76c52f465d7 100644
--- a/llvm/lib/Bytecode/Writer/Makefile
+++ b/llvm/lib/Bytecode/Writer/Makefile
@@ -1,7 +1,4 @@
-
LEVEL = ../../..
-
LIBRARYNAME = bcwriter
include $(LEVEL)/Makefile.common
-
diff --git a/llvm/lib/ExecutionEngine/Makefile b/llvm/lib/ExecutionEngine/Makefile
index 4a5641106d0..4e47ee6a718 100644
--- a/llvm/lib/ExecutionEngine/Makefile
+++ b/llvm/lib/ExecutionEngine/Makefile
@@ -1,6 +1,6 @@
LEVEL = ../..
TOOLNAME = lli
-USEDLIBS = bcreader vmcore analysis support target transforms
+USEDLIBS = bcreader vmcore analysis.a support.a target.a transforms.a
TOOLLINKOPTS = -ldl
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Support/Makefile b/llvm/lib/Support/Makefile
index c7eb8adcb19..7b263b79c88 100644
--- a/llvm/lib/Support/Makefile
+++ b/llvm/lib/Support/Makefile
@@ -1,7 +1,5 @@
LEVEL = ../..
-
-DIRS =
-
LIBRARYNAME = support
+BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Target/Makefile b/llvm/lib/Target/Makefile
index 7fd02c66722..3c5bf674648 100644
--- a/llvm/lib/Target/Makefile
+++ b/llvm/lib/Target/Makefile
@@ -1,5 +1,6 @@
LEVEL = ../..
DIRS = Sparc
LIBRARYNAME = target
+BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Transforms/IPO/Makefile b/llvm/lib/Transforms/IPO/Makefile
index 778d2eba028..0bc3f72bcf0 100644
--- a/llvm/lib/Transforms/IPO/Makefile
+++ b/llvm/lib/Transforms/IPO/Makefile
@@ -1,6 +1,6 @@
LEVEL = ../../..
-
LIBRARYNAME = ipo
+BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Transforms/Instrumentation/Makefile b/llvm/lib/Transforms/Instrumentation/Makefile
index e0e7d7cfb46..ca48b0b2542 100644
--- a/llvm/lib/Transforms/Instrumentation/Makefile
+++ b/llvm/lib/Transforms/Instrumentation/Makefile
@@ -1,6 +1,7 @@
LEVEL = ../../..
-
LIBRARYNAME = instrument
DIRS = ProfilePaths
+BUILD_ARCHIVE = 1
+
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/Makefile b/llvm/lib/Transforms/Instrumentation/ProfilePaths/Makefile
index ef2fc28406e..91e1c2f8a66 100644
--- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/Makefile
+++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/Makefile
@@ -1,6 +1,5 @@
LEVEL = ../../../..
-
-DIRS =
LIBRARYNAME = profpaths
+
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Transforms/Makefile b/llvm/lib/Transforms/Makefile
index b9f65b2e7f4..31436216db4 100644
--- a/llvm/lib/Transforms/Makefile
+++ b/llvm/lib/Transforms/Makefile
@@ -1,7 +1,7 @@
LEVEL = ../..
DIRS = Utils Instrumentation Scalar IPO
-
LIBRARYNAME = transforms
+BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Transforms/Scalar/Makefile b/llvm/lib/Transforms/Scalar/Makefile
index fed3412dfd3..9f73623cbdb 100644
--- a/llvm/lib/Transforms/Scalar/Makefile
+++ b/llvm/lib/Transforms/Scalar/Makefile
@@ -1,6 +1,6 @@
LEVEL = ../../..
-
LIBRARYNAME = scalaropts
+BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/Transforms/Utils/Makefile b/llvm/lib/Transforms/Utils/Makefile
index f451df2d5c2..00e4170184d 100644
--- a/llvm/lib/Transforms/Utils/Makefile
+++ b/llvm/lib/Transforms/Utils/Makefile
@@ -1,6 +1,6 @@
LEVEL = ../../..
-
LIBRARYNAME = transformutils
+BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common
diff --git a/llvm/lib/VMCore/Makefile b/llvm/lib/VMCore/Makefile
index 7d1289c4529..b0c96e90f30 100644
--- a/llvm/lib/VMCore/Makefile
+++ b/llvm/lib/VMCore/Makefile
@@ -1,6 +1,4 @@
-
LEVEL = ../..
-
LIBRARYNAME = vmcore
include $(LEVEL)/Makefile.common
diff --git a/llvm/support/lib/Support/Makefile b/llvm/support/lib/Support/Makefile
index c7eb8adcb19..7b263b79c88 100644
--- a/llvm/support/lib/Support/Makefile
+++ b/llvm/support/lib/Support/Makefile
@@ -1,7 +1,5 @@
LEVEL = ../..
-
-DIRS =
-
LIBRARYNAME = support
+BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/as/Makefile b/llvm/tools/as/Makefile
index 2a2ee1a3880..7ac2c2432d8 100644
--- a/llvm/tools/as/Makefile
+++ b/llvm/tools/as/Makefile
@@ -1,6 +1,5 @@
LEVEL = ../..
-
TOOLNAME = as
-USEDLIBS = asmparser bcwriter vmcore support
+USEDLIBS = asmparser bcwriter vmcore support.a
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/dis/Makefile b/llvm/tools/dis/Makefile
index 0bd888e9553..5ee0021c8a4 100644
--- a/llvm/tools/dis/Makefile
+++ b/llvm/tools/dis/Makefile
@@ -1,7 +1,7 @@
LEVEL = ../..
TOOLNAME = dis
-USEDLIBS = bcreader vmcore support cwriter
+USEDLIBS = bcreader vmcore support.a cwriter
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/extract/Makefile b/llvm/tools/extract/Makefile
index f9209d14457..c364bb2c69f 100644
--- a/llvm/tools/extract/Makefile
+++ b/llvm/tools/extract/Makefile
@@ -1,6 +1,7 @@
LEVEL = ../..
TOOLNAME = extract
-USEDLIBS = bcreader bcwriter transforms ipo analysis transformutils ipa vmcore support
+USEDLIBS = bcreader bcwriter transforms.a ipo.a analysis.a transformutils.a \
+ ipa.a vmcore support.a
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/gccas/Makefile b/llvm/tools/gccas/Makefile
index 4bef2b1152f..b268edc9c2c 100644
--- a/llvm/tools/gccas/Makefile
+++ b/llvm/tools/gccas/Makefile
@@ -1,6 +1,7 @@
LEVEL = ../..
TOOLNAME = gccas
-USEDLIBS = asmparser bcwriter transforms scalaropts analysis target transformutils ipa vmcore support
+USEDLIBS = asmparser bcwriter transforms.a scalaropts.a analysis.a target.a \
+ transformutils.a ipa.a vmcore support.a
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/gccld/Makefile b/llvm/tools/gccld/Makefile
index f808aa798a2..dba89b9eb95 100644
--- a/llvm/tools/gccld/Makefile
+++ b/llvm/tools/gccld/Makefile
@@ -1,6 +1,7 @@
LEVEL = ../..
TOOLNAME = gccld
-USEDLIBS = ipo analysis transforms ipa scalaropts transformutils target bcreader bcwriter vmcore support
+USEDLIBS = ipo.a analysis.a transforms.a ipa.a scalaropts.a transformutils.a \
+ target.a bcreader bcwriter vmcore support.a
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/link/Makefile b/llvm/tools/link/Makefile
index f4f08a0076e..333236b5685 100644
--- a/llvm/tools/link/Makefile
+++ b/llvm/tools/link/Makefile
@@ -1,6 +1,6 @@
LEVEL = ../..
TOOLNAME = link
-USEDLIBS = bcreader bcwriter transformutils vmcore support
+USEDLIBS = bcreader bcwriter transformutils.a vmcore support.a
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/llc/Makefile b/llvm/tools/llc/Makefile
index d6952d07927..ecd56631a40 100644
--- a/llvm/tools/llc/Makefile
+++ b/llvm/tools/llc/Makefile
@@ -1,8 +1,8 @@
LEVEL = ../..
TOOLNAME = llc
USEDLIBS = sparc regalloc sched select sparc target \
- instrument livevar bcreader bcwriter analysis transforms \
- scalaropts transformutils vmcore support
+ instrument.a livevar bcreader bcwriter analysis.a transforms.a \
+ scalaropts.a transformutils.a vmcore support.a
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/lli/Makefile b/llvm/tools/lli/Makefile
index 4a5641106d0..4e47ee6a718 100644
--- a/llvm/tools/lli/Makefile
+++ b/llvm/tools/lli/Makefile
@@ -1,6 +1,6 @@
LEVEL = ../..
TOOLNAME = lli
-USEDLIBS = bcreader vmcore analysis support target transforms
+USEDLIBS = bcreader vmcore analysis.a support.a target.a transforms.a
TOOLLINKOPTS = -ldl
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/llvm-as/Makefile b/llvm/tools/llvm-as/Makefile
index 2a2ee1a3880..7ac2c2432d8 100644
--- a/llvm/tools/llvm-as/Makefile
+++ b/llvm/tools/llvm-as/Makefile
@@ -1,6 +1,5 @@
LEVEL = ../..
-
TOOLNAME = as
-USEDLIBS = asmparser bcwriter vmcore support
+USEDLIBS = asmparser bcwriter vmcore support.a
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/llvm-dis/Makefile b/llvm/tools/llvm-dis/Makefile
index 0bd888e9553..5ee0021c8a4 100644
--- a/llvm/tools/llvm-dis/Makefile
+++ b/llvm/tools/llvm-dis/Makefile
@@ -1,7 +1,7 @@
LEVEL = ../..
TOOLNAME = dis
-USEDLIBS = bcreader vmcore support cwriter
+USEDLIBS = bcreader vmcore support.a cwriter
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/llvm-link/Makefile b/llvm/tools/llvm-link/Makefile
index f4f08a0076e..333236b5685 100644
--- a/llvm/tools/llvm-link/Makefile
+++ b/llvm/tools/llvm-link/Makefile
@@ -1,6 +1,6 @@
LEVEL = ../..
TOOLNAME = link
-USEDLIBS = bcreader bcwriter transformutils vmcore support
+USEDLIBS = bcreader bcwriter transformutils.a vmcore support.a
include $(LEVEL)/Makefile.common
diff --git a/llvm/tools/opt/Makefile b/llvm/tools/opt/Makefile
index 9b1df54b851..869ba26c004 100644
--- a/llvm/tools/opt/Makefile
+++ b/llvm/tools/opt/Makefile
@@ -2,7 +2,9 @@ LEVEL = ../..
TOOLNAME = opt
USEDLIBS = bcreader bcwriter instrument profpaths scalaropts \
- ipo ipa datastructure transforms target analysis transformutils vmcore support
+ ipo ipa.a datastructure.a transforms target.a analysis.a \
+ transformutils vmcore support
+TOOLLINKOPTS = -ldl
include $(LEVEL)/Makefile.common
OpenPOWER on IntegriCloud