summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/runtime/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/runtime/Makefile')
-rw-r--r--contrib/llvm/runtime/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/contrib/llvm/runtime/Makefile b/contrib/llvm/runtime/Makefile
new file mode 100644
index 0000000..d0e85d5
--- /dev/null
+++ b/contrib/llvm/runtime/Makefile
@@ -0,0 +1,31 @@
+##===- runtime/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
+
+ifndef NO_RUNTIME_LIBS
+
+PARALLEL_DIRS := libprofile
+
+# Disable libprofile: a faulty libtool is generated by autoconf which breaks the
+# build on Sparc
+ifeq ($(ARCH), Sparc)
+PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
+endif
+
+ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix))
+PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
+endif
+
+endif
+
+include $(LEVEL)/Makefile.common
+
+install::
OpenPOWER on IntegriCloud