summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2011-06-01 01:21:01 +0000
committerManuel Klimek <klimek@google.com>2011-06-01 01:21:01 +0000
commit9978c4f7307bc2c0360fc0badf88c3ed9122f391 (patch)
treecbd23025dcd365ac28e7ae86d9c8612fbef7796c
parent15cf577ff9c0285aa09308771143efeb9f874358 (diff)
downloadbcm5719-llvm-9978c4f7307bc2c0360fc0badf88c3ed9122f391.tar.gz
bcm5719-llvm-9978c4f7307bc2c0360fc0badf88c3ed9122f391.zip
Fixes Makefile based build for examples/Tooling.
llvm-svn: 132380
-rw-r--r--clang/examples/Makefile2
-rw-r--r--clang/examples/Tooling/Makefile6
-rw-r--r--clang/examples/Tooling/RemoveCStrCalls/Makefile23
3 files changed, 28 insertions, 3 deletions
diff --git a/clang/examples/Makefile b/clang/examples/Makefile
index 8cb431d7391..9f1615c2f01 100644
--- a/clang/examples/Makefile
+++ b/clang/examples/Makefile
@@ -9,6 +9,6 @@
CLANG_LEVEL := ..
-PARALLEL_DIRS := clang-interpreter PrintFunctionNames
+PARALLEL_DIRS := clang-interpreter PrintFunctionNames Tooling
include $(CLANG_LEVEL)/Makefile
diff --git a/clang/examples/Tooling/Makefile b/clang/examples/Tooling/Makefile
index 66e86a03f1c..4daa9c7f830 100644
--- a/clang/examples/Tooling/Makefile
+++ b/clang/examples/Tooling/Makefile
@@ -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/clang/examples/Tooling/RemoveCStrCalls/Makefile b/clang/examples/Tooling/RemoveCStrCalls/Makefile
new file mode 100644
index 00000000000..44de60ebe96
--- /dev/null
+++ b/clang/examples/Tooling/RemoveCStrCalls/Makefile
@@ -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
OpenPOWER on IntegriCloud