Rename Kaleidoscope to show that it's for Chapter 7 of the tutorial.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82573 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/examples/Kaleidoscope/CMakeLists.txt b/examples/Kaleidoscope/CMakeLists.txt
index af32fbf..b7c0ae2 100644
--- a/examples/Kaleidoscope/CMakeLists.txt
+++ b/examples/Kaleidoscope/CMakeLists.txt
@@ -1,5 +1 @@
-set(LLVM_LINK_COMPONENTS core jit interpreter native)
-
-add_llvm_example(Kaleidoscope
-  toy.cpp
-  )
+add_subdirectory(Chapter7)
diff --git a/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/examples/Kaleidoscope/Chapter7/CMakeLists.txt
new file mode 100644
index 0000000..9b8227c
--- /dev/null
+++ b/examples/Kaleidoscope/Chapter7/CMakeLists.txt
@@ -0,0 +1,5 @@
+set(LLVM_LINK_COMPONENTS core jit interpreter native)
+
+add_llvm_example(Kaleidoscope-Ch7
+  toy.cpp
+  )
diff --git a/examples/Kaleidoscope/Chapter7/Makefile b/examples/Kaleidoscope/Chapter7/Makefile
new file mode 100644
index 0000000..905bec3
--- /dev/null
+++ b/examples/Kaleidoscope/Chapter7/Makefile
@@ -0,0 +1,15 @@
+##===- examples/Kaleidoscope-Ch7/Makefile ------------------*- Makefile -*-===##
+# 
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+# 
+##===----------------------------------------------------------------------===##
+LEVEL = ../..
+TOOLNAME = Kaleidoscope-Ch7
+EXAMPLE_TOOL = 1
+
+LINK_COMPONENTS := core jit interpreter native
+
+include $(LEVEL)/Makefile.common
diff --git a/examples/Kaleidoscope/toy.cpp b/examples/Kaleidoscope/Chapter7/toy.cpp
similarity index 100%
rename from examples/Kaleidoscope/toy.cpp
rename to examples/Kaleidoscope/Chapter7/toy.cpp
diff --git a/examples/Kaleidoscope/Makefile b/examples/Kaleidoscope/Makefile
index 9990b2b..13a7759 100644
--- a/examples/Kaleidoscope/Makefile
+++ b/examples/Kaleidoscope/Makefile
@@ -6,10 +6,10 @@
 # License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
-LEVEL = ../..
-TOOLNAME = Kaleidoscope
-EXAMPLE_TOOL = 1
+LEVEL=../..
 
-LINK_COMPONENTS := core jit interpreter native
+include $(LEVEL)/Makefile.config
+
+PARALLEL_DIRS:= Chapter7
 
 include $(LEVEL)/Makefile.common