summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/runtime/libprofile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/runtime/libprofile/Makefile')
-rw-r--r--contrib/llvm/runtime/libprofile/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/llvm/runtime/libprofile/Makefile b/contrib/llvm/runtime/libprofile/Makefile
new file mode 100644
index 0000000..4125af6
--- /dev/null
+++ b/contrib/llvm/runtime/libprofile/Makefile
@@ -0,0 +1,22 @@
+##===- runtime/libprofile/Makefile -------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL = ../..
+include $(LEVEL)/Makefile.config
+
+ifneq ($(strip $(LLVMCC)),)
+BYTECODE_LIBRARY = 1
+endif
+SHARED_LIBRARY = 1
+LOADABLE_MODULE = 1
+LIBRARYNAME = profile_rt
+EXTRA_DIST = libprofile.exports
+EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/libprofile.exports
+
+include $(LEVEL)/Makefile.common
OpenPOWER on IntegriCloud