blob: d1165800c75b38616c4f36cbb06f3d8d69f68433 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001##===- runtime/Makefile ------------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
5# This file was developed by the LLVM research group and is distributed under
6# the University of Illinois Open Source License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
9
10LEVEL = ..
11include $(LEVEL)/Makefile.config
12
13ifeq ($(LLVMGCC_MAJVERS),4)
14PARALLEL_DIRS :=
15install all::
16 $(Echo) "Warning: These runtime libraries only need to be built with"
17 $(Echo) "Warning: llvm-gcc version 3. They are automatically included"
18 $(Echo) "Warning: with llvm-gcc version 4 and beyond"
19else
20ifneq ($(wildcard $(LLVMGCC)),)
21PARALLEL_DIRS := GCCLibraries libdummy libprofile GC
22else
23PARALLEL_DIRS :=
24install all ::
25 @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Check
26 @echo '********' Warning: llvm/Makefile.config to make sure it matches
27 @echo '********' Warning: the directory where the C front-end is
28 @echo '********' Warning: installed,and re-run configure if it does not.
29endif
30
31# Disable libprofile: a faulty libtool is generated by autoconf which breaks the
32# build on Sparc
33ifeq ($(ARCH), Sparc)
34PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
35endif
36endif
37
38include $(LEVEL)/Makefile.common
39
40# Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs
41#
42install::
43