Change Library Names Not To Conflict With Others When Installed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17286 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/projects/Stacker/samples/Makefile b/projects/Stacker/samples/Makefile
index d5b9b6e..22190a7 100644
--- a/projects/Stacker/samples/Makefile
+++ b/projects/Stacker/samples/Makefile
@@ -24,7 +24,7 @@
all :: $(SAMPLES)
ifdef OPTIMIZE
-%.bc : %.st
+% : %.st
@$(ECHO) "Compiling and Optimizing $< to $*.bc"
$(VERB)$(STKRC_EXEC) -e -o - $< | opt -stats -q -f -o $*.bc \
-aa-eval -adce -branch-combine -cee -constmerge -constprop -dce -die -ds-aa \
diff --git a/projects/Stacker/tools/stkrc/Makefile b/projects/Stacker/tools/stkrc/Makefile
index f413dc2..4f352836 100644
--- a/projects/Stacker/tools/stkrc/Makefile
+++ b/projects/Stacker/tools/stkrc/Makefile
@@ -8,10 +8,11 @@
#
# Give the name of a library. This will build a dynamic version.
#
-TOOLNAME=stkrc
-LLVMLIBS= asmparser bcwriter transforms ipo.a ipa.a \
- scalaropts analysis.a target.a transformutils \
- vmcore support.a LLVMsystem.a
+TOOLNAME = stkrc
+LLVMLIBS = LLVMAsmParser LLVMBCWriter LLVMTransforms LLVMipo.a LLVMipa.a \
+ LLVMScalarOpts LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils \
+ LLVMCore LLVMSupport.a LLVMSystem.a
+
USEDLIBS=stkr_compiler