blob: 3883041d2ebec34d687c4b24ead80841974f67b3 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001##===- runtime/Makefile ------------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
Chris Lattner3876aa72007-12-29 20:11:13 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007#
8##===----------------------------------------------------------------------===##
9
10LEVEL = ..
11include $(LEVEL)/Makefile.config
12
Dan Gohmanf17a25c2007-07-18 16:29:46 +000013ifneq ($(wildcard $(LLVMGCC)),)
Chris Lattnerb306dcb2007-09-11 17:12:32 +000014PARALLEL_DIRS := libprofile GC
Dan Gohmanf17a25c2007-07-18 16:29:46 +000015else
16PARALLEL_DIRS :=
17install all ::
18 @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Check
19 @echo '********' Warning: llvm/Makefile.config to make sure it matches
20 @echo '********' Warning: the directory where the C front-end is
21 @echo '********' Warning: installed,and re-run configure if it does not.
22endif
23
24# Disable libprofile: a faulty libtool is generated by autoconf which breaks the
25# build on Sparc
26ifeq ($(ARCH), Sparc)
27PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
28endif
Dan Gohmanf17a25c2007-07-18 16:29:46 +000029
30include $(LEVEL)/Makefile.common
31
32# Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs
33#
34install::
35