blob: d0e85d58264f6c9fb034565ac58bb7e781e8f030 [file] [log] [blame]
Reid Spencer8b2e1412006-11-17 03:32:33 +00001##===- runtime/Makefile ------------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
Chris Lattner57360d12007-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 Spencer8b2e1412006-11-17 03:32:33 +00007#
8##===----------------------------------------------------------------------===##
9
10LEVEL = ..
11include $(LEVEL)/Makefile.config
12
Daniel Dunbar53339fd2009-08-28 02:20:39 +000013ifndef NO_RUNTIME_LIBS
14
Gordon Henriksen6da385e2009-03-02 03:46:48 +000015PARALLEL_DIRS := libprofile
Reid Spencer8b2e1412006-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 Spencer8b2e1412006-11-17 03:32:33 +000022
Anton Korobeynikov764f62b2010-04-15 19:51:42 +000023ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix))
Chris Lattner85505922010-03-05 01:00:34 +000024PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
25endif
26
Daniel Dunbarb562b472009-08-27 23:43:28 +000027endif
Daniel Dunbar53339fd2009-08-28 02:20:39 +000028
Daniel Dunbar5a8969a2009-08-28 03:06:28 +000029include $(LEVEL)/Makefile.common
30
Daniel Dunbar53339fd2009-08-28 02:20:39 +000031install::