blob: fa0c40dc430c53e888000b9d2bfb4fac00641566 [file] [log] [blame]
Misha Brukman1757ae92004-08-09 20:07:44 +00001##===- runtime/Makefile ------------------------------------*- Makefile -*-===##
John Criswelle2fab732003-10-20 22:29:16 +00002#
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##===----------------------------------------------------------------------===##
Chris Lattner7aeed262002-01-23 19:57:59 +00009
Chris Lattnerd11df3c2003-08-15 02:38:18 +000010LEVEL = ..
Brian Gaekee9dd3f12003-11-16 06:51:53 +000011include $(LEVEL)/Makefile.config
Chris Lattnerb5da7462003-12-08 20:12:46 +000012
Brian Gaekee9dd3f12003-11-16 06:51:53 +000013ifneq ($(wildcard $(LLVMGCCDIR)),)
Chris Lattner83782942004-12-15 08:15:48 +000014PARALLEL_DIRS := GCCLibraries libdummy libtrace GC
Brian Gaekee9dd3f12003-11-16 06:51:53 +000015else
16PARALLEL_DIRS :=
Chris Lattnerb5da7462003-12-08 20:12:46 +000017install all ::
Brian Gaekee9dd3f12003-11-16 06:51:53 +000018 @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Double-check
19 @echo '********' Warning: llvm/Makefile.config to make sure it matches
20 @echo '********' Warning: the directory where the C front-end is installed,
21 @echo '********' Warning: and re-run configure if it does not.
22endif
Chris Lattnerc1e20ac2002-03-08 23:20:52 +000023
Misha Brukman6f222562004-09-08 20:30:26 +000024# 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
29
Chris Lattnerd11df3c2003-08-15 02:38:18 +000030include $(LEVEL)/Makefile.common
Chris Lattnerc1e20ac2002-03-08 23:20:52 +000031
Misha Brukman1757ae92004-08-09 20:07:44 +000032# Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs
Chris Lattnerc1e20ac2002-03-08 23:20:52 +000033#
34install::