summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/llvm-ar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/tools/llvm-ar/Makefile')
-rw-r--r--contrib/llvm/tools/llvm-ar/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/llvm/tools/llvm-ar/Makefile b/contrib/llvm/tools/llvm-ar/Makefile
new file mode 100644
index 0000000..e4fe4e8
--- /dev/null
+++ b/contrib/llvm/tools/llvm-ar/Makefile
@@ -0,0 +1,25 @@
+##===- tools/llvm-ar/Makefile ------------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+LEVEL = ../..
+
+TOOLNAME = llvm-ar
+LINK_COMPONENTS = archive
+REQUIRES_EH := 1
+
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
+include $(LEVEL)/Makefile.common
+
+check-local::
+ $(Echo) Checking llvm-ar
+ $(Verb) $(ToolDir)/llvm-ar zRrS nada.a .
+ $(Verb) $(ToolDir)/llvm-ar tv nada.a | \
+ grep Debug/llvm-ar.d >/dev/null 2>&1
+ $(Verb) $(RM) -f nada.a
OpenPOWER on IntegriCloud