summaryrefslogtreecommitdiffstats
path: root/tools/clang-check/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang-check/Makefile')
-rw-r--r--tools/clang-check/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/clang-check/Makefile b/tools/clang-check/Makefile
new file mode 100644
index 0000000000..11dc05e670
--- /dev/null
+++ b/tools/clang-check/Makefile
@@ -0,0 +1,24 @@
+##===- tools/clang-check/Makefile --------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+CLANG_LEVEL := ../..
+
+TOOLNAME = clang-check
+NO_INSTALL = 1
+
+# No plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
+LINK_COMPONENTS := support mc
+USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a \
+ clangTooling.a clangParse.a clangSema.a clangAnalysis.a \
+ clangAST.a clangLex.a clangBasic.a
+
+include $(CLANG_LEVEL)/Makefile
+