Install c-index-test and clang-c/Index.h as internal files. rdar://10217046
Specify that these files should be installed to the optional internal
install location as specified by configure's --with-internal-prefix.
If that option is not used, they'll be installed to the default prefix
as before.
llvm-svn: 145235
diff --git a/clang/tools/c-index-test/Makefile b/clang/tools/c-index-test/Makefile
index c21b327..471ce91 100644
--- a/clang/tools/c-index-test/Makefile
+++ b/clang/tools/c-index-test/Makefile
@@ -10,6 +10,10 @@
TOOLNAME = c-index-test
+# If a separate install prefix was specified for internal tools, use it
+# when installing c-index-test.
+INTERNAL_TOOL = 1
+
# No plugins, optimize startup time.
TOOL_NO_EXPORTS = 1