]> granicus.if.org Git - clang/commitdiff
Fixes Makefile based build for examples/Tooling.
authorManuel Klimek <klimek@google.com>
Wed, 1 Jun 2011 01:21:01 +0000 (01:21 +0000)
committerManuel Klimek <klimek@google.com>
Wed, 1 Jun 2011 01:21:01 +0000 (01:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132380 91177308-0d34-0410-b5e6-96231b3b80d8

examples/Makefile
examples/Tooling/Makefile
examples/Tooling/RemoveCStrCalls/Makefile [new file with mode: 0644]

index 8cb431d7391608f404cd99068ce792f1a214bfdf..9f1615c2f0162084ab92bbb5623f43e8f1f074d5 100644 (file)
@@ -9,6 +9,6 @@
 
 CLANG_LEVEL := ..
 
-PARALLEL_DIRS := clang-interpreter PrintFunctionNames
+PARALLEL_DIRS := clang-interpreter PrintFunctionNames Tooling
 
 include $(CLANG_LEVEL)/Makefile
index 66e86a03f1c685ea5690266c638a848bba4a86d7..4daa9c7f83064d03940f6c9a151189a60a50b589 100644 (file)
@@ -17,8 +17,10 @@ TOOL_NO_EXPORTS = 1
 
 LINK_COMPONENTS := support mc
 USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a \
-           clangTooling.a clangSema.a clangAnalysis.a \
-           clangAST.a clangParse.a clangLex.a clangBasic.a
+           clangTooling.a clangParse.a clangSema.a clangAnalysis.a \
+           clangAST.a clangLex.a clangBasic.a
+
+PARALLEL_DIRS := RemoveCStrCalls
 
 include $(CLANG_LEVEL)/Makefile
 
diff --git a/examples/Tooling/RemoveCStrCalls/Makefile b/examples/Tooling/RemoveCStrCalls/Makefile
new file mode 100644 (file)
index 0000000..44de60e
--- /dev/null
@@ -0,0 +1,23 @@
+##===- examples/Tooling/RemoveCStrCalls/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 = remove-cstr-calls
+NO_INSTALL = 1
+
+# No plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
+LINK_COMPONENTS := support mc
+USEDLIBS = clangTooling.a clangFrontend.a clangSerialization.a clangDriver.a \
+           clangParse.a clangSema.a clangAnalysis.a \
+           clangAST.a clangLex.a clangBasic.a
+
+include $(CLANG_LEVEL)/Makefile