Reid Spencer | 8b2e141 | 2006-11-17 03:32:33 +0000 | [diff] [blame] | 1 | ##===- runtime/Makefile ------------------------------------*- Makefile -*-===## |
| 2 | # |
| 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
Chris Lattner | 57360d1 | 2007-12-29 20:11:13 +0000 | [diff] [blame] | 5 | # This file is distributed under the University of Illinois Open Source |
| 6 | # License. See LICENSE.TXT for details. |
Reid Spencer | 8b2e141 | 2006-11-17 03:32:33 +0000 | [diff] [blame] | 7 | # |
| 8 | ##===----------------------------------------------------------------------===## |
| 9 | |
| 10 | LEVEL = .. |
| 11 | include $(LEVEL)/Makefile.config |
| 12 | |
Daniel Dunbar | 53339fd | 2009-08-28 02:20:39 +0000 | [diff] [blame] | 13 | ifndef NO_RUNTIME_LIBS |
| 14 | |
Gordon Henriksen | 6da385e | 2009-03-02 03:46:48 +0000 | [diff] [blame] | 15 | PARALLEL_DIRS := libprofile |
Reid Spencer | 8b2e141 | 2006-11-17 03:32:33 +0000 | [diff] [blame] | 16 | |
| 17 | # Disable libprofile: a faulty libtool is generated by autoconf which breaks the |
| 18 | # build on Sparc |
| 19 | ifeq ($(ARCH), Sparc) |
| 20 | PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS)) |
| 21 | endif |
Reid Spencer | 8b2e141 | 2006-11-17 03:32:33 +0000 | [diff] [blame] | 22 | |
Anton Korobeynikov | 764f62b | 2010-04-15 19:51:42 +0000 | [diff] [blame] | 23 | ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix)) |
Chris Lattner | 8550592 | 2010-03-05 01:00:34 +0000 | [diff] [blame] | 24 | PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS)) |
| 25 | endif |
| 26 | |
Daniel Dunbar | b562b47 | 2009-08-27 23:43:28 +0000 | [diff] [blame] | 27 | endif |
Daniel Dunbar | 53339fd | 2009-08-28 02:20:39 +0000 | [diff] [blame] | 28 | |
Daniel Dunbar | 5a8969a | 2009-08-28 03:06:28 +0000 | [diff] [blame] | 29 | include $(LEVEL)/Makefile.common |
| 30 | |
Daniel Dunbar | 53339fd | 2009-08-28 02:20:39 +0000 | [diff] [blame] | 31 | install:: |