aboutsummaryrefslogtreecommitdiffstats
path: root/utils/yaml2obj/Makefile
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2012-08-02 19:16:56 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2012-08-02 19:16:56 +0000
commita915f247f72570a994d55cd0d2961cd2d7bbd0e1 (patch)
tree51bbc92eb6c125a893d516d180a15c4fb71752ba /utils/yaml2obj/Makefile
parentcfbda4a04dacaf976505c54a5308f6954b3b9a58 (diff)
downloadexternal_llvm-a915f247f72570a994d55cd0d2961cd2d7bbd0e1.zip
external_llvm-a915f247f72570a994d55cd0d2961cd2d7bbd0e1.tar.gz
external_llvm-a915f247f72570a994d55cd0d2961cd2d7bbd0e1.tar.bz2
Add yaml2obj. A utility to convert YAML to binaries.
yaml2obj takes a textual description of an object file in YAML format and outputs the binary equivalent. This greatly simplifies writing tests that take binary object files as input. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/yaml2obj/Makefile')
-rw-r--r--utils/yaml2obj/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/utils/yaml2obj/Makefile b/utils/yaml2obj/Makefile
new file mode 100644
index 0000000..e746d85
--- /dev/null
+++ b/utils/yaml2obj/Makefile
@@ -0,0 +1,20 @@
+##===- utils/yaml2obj/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 = yaml2obj
+USEDLIBS = LLVMSupport.a
+
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
+# Don't install this utility
+NO_INSTALL = 1
+
+include $(LEVEL)/Makefile.common