blob: d0e85d58264f6c9fb034565ac58bb7e781e8f030 [file] [log] [blame]
Reid Spencer4b8067f2006-11-17 03:32:33 +00001##===- runtime/Makefile ------------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
Chris Lattner11cc8b32007-12-29 20:11:13 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
Reid Spencer4b8067f2006-11-17 03:32:33 +00007#
8##===----------------------------------------------------------------------===##
9
10LEVEL = ..
11include $(LEVEL)/Makefile.config
12
Daniel Dunbare45cdcd2009-08-28 02:20:39 +000013ifndef NO_RUNTIME_LIBS
14
Gordon Henriksen3de1a092009-03-02 03:46:48 +000015PARALLEL_DIRS := libprofile
Reid Spencer4b8067f2006-11-17 03:32:33 +000016
17# Disable libprofile: a faulty libtool is generated by autoconf which breaks the
18# build on Sparc
19ifeq ($(ARCH), Sparc)
20PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
21endif
Reid Spencer4b8067f2006-11-17 03:32:33 +000022
Anton Korobeynikov839cdaa2010-04-15 19:51:42 +000023ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix))
Chris Lattner6dbf5cc2010-03-05 01:00:34 +000024PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
25endif
26
Daniel Dunbare36c50f2009-08-27 23:43:28 +000027endif
Daniel Dunbare45cdcd2009-08-28 02:20:39 +000028
Daniel Dunbar2ece0382009-08-28 03:06:28 +000029include $(LEVEL)/Makefile.common
30
Daniel Dunbare45cdcd2009-08-28 02:20:39 +000031install::