Add the LLVMsystem.a library as it is now used for operating system
independence of the tool.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16092 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/analyze/Makefile b/tools/analyze/Makefile
index 81e84e2..074f26b 100644
--- a/tools/analyze/Makefile
+++ b/tools/analyze/Makefile
@@ -9,7 +9,7 @@
 LEVEL = ../..
 TOOLNAME = analyze
 USEDLIBS = asmparser bcreader analysis ipa datastructure scalaropts.a transforms.a \
-           target.a scalaropts.a transformutils.a vmcore support
+           target.a scalaropts.a transformutils.a vmcore support LLVMsystem.a
 TOOLLINKOPTS = $(PLATFORMLIBDL)
 
 include $(LEVEL)/Makefile.common
diff --git a/tools/bugpoint/Makefile b/tools/bugpoint/Makefile
index a0d25b3..5377d3d 100644
--- a/tools/bugpoint/Makefile
+++ b/tools/bugpoint/Makefile
@@ -14,7 +14,7 @@
 ANALIBS  = datastructure ipa target.a 
 
 USEDLIBS = ipo scalaropts analysis $(OPTLIBS) $(ANALIBS) \
-           transformutils asmparser bcreader bcwriter vmcore support
+           transformutils asmparser bcreader bcwriter vmcore support LLVMsystem.a
 
 TOOLLINKOPTS = $(PLATFORMLIBDL)
 
diff --git a/tools/extract/Makefile b/tools/extract/Makefile
index cae0632..35c624a 100644
--- a/tools/extract/Makefile
+++ b/tools/extract/Makefile
@@ -10,6 +10,6 @@
 
 TOOLNAME = extract
 USEDLIBS = bcreader bcwriter transforms.a ipo.a target.a analysis.a \
-           transformutils.a ipa.a vmcore support.a
+           transformutils.a ipa.a vmcore support.a LLVMsystem.a
 
 include $(LEVEL)/Makefile.common
diff --git a/tools/gccas/Makefile b/tools/gccas/Makefile
index 9ff0343..37404d4 100644
--- a/tools/gccas/Makefile
+++ b/tools/gccas/Makefile
@@ -10,6 +10,6 @@
 
 TOOLNAME = gccas
 USEDLIBS = asmparser bcwriter transforms ipo.a ipa.a scalaropts analysis.a \
-           target.a transformutils vmcore support.a
+           target.a transformutils vmcore support.a LLVMsystem.a
 
 include $(LEVEL)/Makefile.common
diff --git a/tools/gccld/Makefile b/tools/gccld/Makefile
index 5060934..fe1b166 100644
--- a/tools/gccld/Makefile
+++ b/tools/gccld/Makefile
@@ -11,6 +11,6 @@
 
 TOOLNAME = gccld
 USEDLIBS = ipo.a transforms.a scalaropts.a analysis.a ipa.a transformutils.a \
-           target.a bcreader bcwriter vmcore support.a
+           target.a bcreader bcwriter vmcore support.a LLVMsystem.a
 
 include $(LEVEL)/Makefile.common
diff --git a/tools/llc/Makefile b/tools/llc/Makefile
index a6361ca..ed3225a 100644
--- a/tools/llc/Makefile
+++ b/tools/llc/Makefile
@@ -29,7 +29,8 @@
 	bcreader \
 	bcwriter \
 	vmcore \
-	support.a
+	support.a \
+	LLVMsystem.a
 TOOLLINKOPTS = $(PLATFORMLIBDL)
 
 include $(LEVEL)/Makefile.common
diff --git a/tools/lli/Makefile b/tools/lli/Makefile
index 593459d..403c396 100644
--- a/tools/lli/Makefile
+++ b/tools/lli/Makefile
@@ -47,7 +47,7 @@
 endif
 
 USEDLIBS = lli-interpreter $(JITLIBS) $(ARCHLIBS) scalaropts analysis.a \
-           transformutils.a bcreader vmcore support target.a
+           transformutils.a bcreader vmcore support target.a LLVMsystem.a
 
 # Have gcc tell the linker to export symbols from the program so that
 # dynamically loaded modules can be linked against them.
diff --git a/tools/llvm-ar/Makefile b/tools/llvm-ar/Makefile
index 6dc5739..2f4257b 100644
--- a/tools/llvm-ar/Makefile
+++ b/tools/llvm-ar/Makefile
@@ -9,6 +9,6 @@
 LEVEL = ../..
 
 TOOLNAME = llvm-ar 
-USEDLIBS = bcreader vmcore support.a
+USEDLIBS = bcreader vmcore support.a LLVMsystem.a
 
 include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-as/Makefile b/tools/llvm-as/Makefile
index 28e90f6..689e268 100644
--- a/tools/llvm-as/Makefile
+++ b/tools/llvm-as/Makefile
@@ -8,6 +8,6 @@
 ##===----------------------------------------------------------------------===##
 LEVEL = ../..
 TOOLNAME = llvm-as
-USEDLIBS = asmparser bcwriter vmcore support.a
+USEDLIBS = asmparser bcwriter vmcore support.a LLVMsystem.a
 
 include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-bcanalyzer/Makefile b/tools/llvm-bcanalyzer/Makefile
index 2608344..e913be2 100644
--- a/tools/llvm-bcanalyzer/Makefile
+++ b/tools/llvm-bcanalyzer/Makefile
@@ -9,5 +9,5 @@
 LEVEL = ../..
 
 TOOLNAME = llvm-bcanalyzer
-USEDLIBS = bcreader vmcore support.a
+USEDLIBS = bcreader vmcore support.a LLVMsystem.a
 include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-db/Makefile b/tools/llvm-db/Makefile
index cfb2ac5..65f7b40 100644
--- a/tools/llvm-db/Makefile
+++ b/tools/llvm-db/Makefile
@@ -48,7 +48,7 @@
 endif
 
 USEDLIBS = lli-interpreter $(JITLIBS) $(ARCHLIBS) scalaropts analysis.a \
-           transformutils.a debugger bcreader vmcore support target.a
+           transformutils.a debugger bcreader vmcore support target.a LLVMsystem.a
 
 
 # Have gcc tell the linker to export symbols from the program so that
diff --git a/tools/llvm-dis/Makefile b/tools/llvm-dis/Makefile
index a0b51cf..2b0189d 100644
--- a/tools/llvm-dis/Makefile
+++ b/tools/llvm-dis/Makefile
@@ -9,5 +9,5 @@
 LEVEL = ../..
 
 TOOLNAME = llvm-dis
-USEDLIBS = bcreader vmcore support.a
+USEDLIBS = bcreader vmcore support.a LLVMsystem.a
 include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-link/Makefile b/tools/llvm-link/Makefile
index c3845a17..1fc4683 100644
--- a/tools/llvm-link/Makefile
+++ b/tools/llvm-link/Makefile
@@ -9,6 +9,6 @@
 LEVEL = ../..
 
 TOOLNAME = llvm-link
-USEDLIBS = bcreader bcwriter vmcore support.a
+USEDLIBS = bcreader bcwriter vmcore support.a LLVMsystem.a
 
 include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-nm/Makefile b/tools/llvm-nm/Makefile
index d470a7a..d1b1bd1 100644
--- a/tools/llvm-nm/Makefile
+++ b/tools/llvm-nm/Makefile
@@ -9,5 +9,5 @@
 LEVEL = ../..
 
 TOOLNAME = llvm-nm
-USEDLIBS = bcreader vmcore support.a
+USEDLIBS = bcreader vmcore support.a LLVMsystem.a
 include $(LEVEL)/Makefile.common
diff --git a/tools/llvm-prof/Makefile b/tools/llvm-prof/Makefile
index 8c96e2b..c187296 100644
--- a/tools/llvm-prof/Makefile
+++ b/tools/llvm-prof/Makefile
@@ -9,5 +9,5 @@
 LEVEL = ../..
 
 TOOLNAME = llvm-prof
-USEDLIBS = analysis.a bcreader vmcore support.a
+USEDLIBS = analysis.a bcreader vmcore support.a LLVMsystem.a
 include $(LEVEL)/Makefile.common
diff --git a/tools/opt/Makefile b/tools/opt/Makefile
index 42e87ca..de0568a 100644
--- a/tools/opt/Makefile
+++ b/tools/opt/Makefile
@@ -12,7 +12,7 @@
 USEDLIBS = bcreader bcwriter \
            instrument profpaths scalaropts \
            ipo ipa datastructure transforms target.a analysis \
-           transformutils vmcore support
+           transformutils vmcore support LLVMsystem.a
 TOOLLINKOPTS = $(PLATFORMLIBDL)
 
 include $(LEVEL)/Makefile.common