Adding in sample project tree.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7018 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/projects/sample/tools/Makefile b/projects/sample/tools/Makefile
new file mode 100644
index 0000000..4b97105
--- /dev/null
+++ b/projects/sample/tools/Makefile
@@ -0,0 +1,11 @@
+#
+# Relative path to the top of the source tree.
+#
+LEVEL=..
+
+#
+# List all of the subdirectories that we will compile.
+#
+DIRS=sample
+
+include $(LEVEL)/Makefile.common
diff --git a/projects/sample/tools/sample/Makefile b/projects/sample/tools/sample/Makefile
new file mode 100644
index 0000000..a6106ac
--- /dev/null
+++ b/projects/sample/tools/sample/Makefile
@@ -0,0 +1,20 @@
+#
+# Indicate where we are relative to the top of the source tree.
+#
+LEVEL=../..
+
+#
+# Give the name of the tool.
+#
+TOOLNAME=sample
+
+#
+# List libraries that we'll need
+#
+USEDLIBS=sample
+
+#
+# Include Makefile.common so we know what to do.
+#
+include $(LEVEL)/Makefile.common
+
diff --git a/projects/sample/tools/sample/main.c b/projects/sample/tools/sample/main.c
new file mode 100644
index 0000000..6607335
--- /dev/null
+++ b/projects/sample/tools/sample/main.c
@@ -0,0 +1,14 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+#include <unistd.h>
+
+#include "sample.h"
+
+int
+main (int argc, char ** argv)
+{
+	printf ("%d\n", compute_sample (5));
+	exit (0);
+}
+