summaryrefslogtreecommitdiffstats
path: root/tools/clang/plugins/Makefile
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-03 20:46:42 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-03 20:46:42 +0000
commit93120fea1fb7a895ef0469bb95540aa39520c691 (patch)
treed87e6a5006e69a0cfa9a81eeaa7a8fd9a96f10c3 /tools/clang/plugins/Makefile
parent1707726c90f2e3eca0c91e08586130988bd6edfd (diff)
downloadchromium_src-93120fea1fb7a895ef0469bb95540aa39520c691.zip
chromium_src-93120fea1fb7a895ef0469bb95540aa39520c691.tar.gz
chromium_src-93120fea1fb7a895ef0469bb95540aa39520c691.tar.bz2
Commit my clang plugin and fix up documentation.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6368055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73659 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/clang/plugins/Makefile')
-rw-r--r--tools/clang/plugins/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/clang/plugins/Makefile b/tools/clang/plugins/Makefile
new file mode 100644
index 0000000..1aa1280
--- /dev/null
+++ b/tools/clang/plugins/Makefile
@@ -0,0 +1,20 @@
+# This file requires the clang build system, at least for now. So to use this
+# Makefile, you should execute the following commands to copy this directory
+# into a clang checkout:
+#
+# cp -R <this directory> /path/to/clang/examples/chromeplugin
+# cd /path/to/clang/examples/chromeplugin
+# make
+#
+# You can't just link the directories, or specify clang as a full path for some
+# reason. :(
+#
+# TODO(thakis): Improve the situation.
+
+CLANG_LEVEL := ../..
+LIBRARYNAME = FindBadConstructs
+
+LINK_LIBS_IN_SHARED = 1
+SHARED_LIBRARY = 1
+
+include $(CLANG_LEVEL)/Makefile