2004-08-10 04:07:44 +08:00
|
|
|
##===- runtime/Makefile ------------------------------------*- Makefile -*-===##
|
2003-10-21 06:29:16 +08:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file was developed by the LLVM research group and is distributed under
|
|
|
|
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2002-01-24 03:57:59 +08:00
|
|
|
|
2003-08-15 10:38:18 +08:00
|
|
|
LEVEL = ..
|
2003-11-16 14:51:53 +08:00
|
|
|
include $(LEVEL)/Makefile.config
|
2003-12-09 04:12:46 +08:00
|
|
|
|
2006-04-08 05:45:23 +08:00
|
|
|
ifeq ($(LLVMGCC_MAJVERS),4)
|
2006-04-07 06:15:51 +08:00
|
|
|
PARALLEL_DIRS :=
|
|
|
|
install all::
|
2006-04-08 02:41:16 +08:00
|
|
|
$(Echo) "Warning: These runtime libraries only need to be built with"
|
2006-04-07 06:15:51 +08:00
|
|
|
$(Echo) "Warning: llvm-gcc version 3. They are automatically included"
|
|
|
|
$(Echo) "Warning: with llvm-gcc version 4 and beyond"
|
|
|
|
else
|
2006-04-02 22:34:26 +08:00
|
|
|
ifneq ($(wildcard $(LLVMGCC)),)
|
2005-01-14 00:51:19 +08:00
|
|
|
PARALLEL_DIRS := GCCLibraries libdummy libprofile libtrace GC
|
2003-11-16 14:51:53 +08:00
|
|
|
else
|
|
|
|
PARALLEL_DIRS :=
|
2003-12-09 04:12:46 +08:00
|
|
|
install all ::
|
2006-04-02 22:34:26 +08:00
|
|
|
@echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Check
|
2003-11-16 14:51:53 +08:00
|
|
|
@echo '********' Warning: llvm/Makefile.config to make sure it matches
|
2006-04-02 22:34:26 +08:00
|
|
|
@echo '********' Warning: the directory where the C front-end is
|
|
|
|
@echo '********' Warning: installed,and re-run configure if it does not.
|
2003-11-16 14:51:53 +08:00
|
|
|
endif
|
2002-03-09 07:20:52 +08:00
|
|
|
|
2004-09-09 04:30:26 +08:00
|
|
|
# Disable libprofile: a faulty libtool is generated by autoconf which breaks the
|
|
|
|
# build on Sparc
|
|
|
|
ifeq ($(ARCH), Sparc)
|
|
|
|
PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
|
|
|
|
endif
|
2006-04-07 06:15:51 +08:00
|
|
|
endif
|
2004-09-09 04:30:26 +08:00
|
|
|
|
2003-08-15 10:38:18 +08:00
|
|
|
include $(LEVEL)/Makefile.common
|
2002-03-09 07:20:52 +08:00
|
|
|
|
2004-08-10 04:07:44 +08:00
|
|
|
# Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs
|
2002-03-09 07:20:52 +08:00
|
|
|
#
|
|
|
|
install::
|
2006-04-08 02:41:16 +08:00
|
|
|
|