Make Stacker into a complete project with its own configuration.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16167 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/projects/Stacker/tools/Makefile b/projects/Stacker/tools/Makefile
index b7b8062..39d33dc 100644
--- a/projects/Stacker/tools/Makefile
+++ b/projects/Stacker/tools/Makefile
@@ -7,7 +7,7 @@
 #
 # Indicates our relative path to the top of the project's root directory.
 #
-LEVEL = ../../..
+LEVEL = ..
 
 #
 # Directories that needs to be built.
diff --git a/projects/Stacker/tools/stkrc/Makefile b/projects/Stacker/tools/stkrc/Makefile
index c54d418..f413dc2 100644
--- a/projects/Stacker/tools/stkrc/Makefile
+++ b/projects/Stacker/tools/stkrc/Makefile
@@ -1,17 +1,18 @@
-##===- projects/sample/lib/sample/Makefile -----------------*- Makefile -*-===##
+##===- projects/Stacker/lib/stkrc/Makefile -----------------*- Makefile -*-===##
 
 #
 # Indicate where we are relative to the top of the source tree.
 #
-LEVEL=../../../..
+LEVEL=../..
 
 #
 # Give the name of a library.  This will build a dynamic version.
 #
 TOOLNAME=stkrc
-USEDLIBS=stkr_compiler asmparser bcwriter transforms ipo.a ipa.a \
+LLVMLIBS= asmparser bcwriter transforms ipo.a ipa.a \
 	 scalaropts analysis.a target.a transformutils \
 	 vmcore support.a LLVMsystem.a 
+USEDLIBS=stkr_compiler 
 
 
 ifdef PARSE_DEBUG