summaryrefslogtreecommitdiffstats
path: root/examples
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
commitd06f59833a659c045dfa6c5962949d1fb04b8fbf (patch)
treeff87183694348514578d76e1b090c1392a575ca1 /examples
parent3eada1e29a83296ff90b5e785549f98c487ab1ed (diff)
Fixes Makefile based build for examples/Tooling.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile2
-rw-r--r--examples/Tooling/Makefile6
-rw-r--r--examples/Tooling/RemoveCStrCalls/Makefile23
3 files changed, 28 insertions, 3 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 8cb431d739..9f1615c2f0 100644
--- a/examples/Makefile
+++ b/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/examples/Tooling/Makefile b/examples/Tooling/Makefile
index 66e86a03f1..4daa9c7f83 100644
--- a/examples/Tooling/Makefile
+++ b/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/examples/Tooling/RemoveCStrCalls/Makefile b/examples/Tooling/RemoveCStrCalls/Makefile
new file mode 100644
index 0000000000..44de60ebe9
--- /dev/null
+++ b/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