2004-08-09 20:07:44 +00:00
|
|
|
##===- runtime/Makefile ------------------------------------*- Makefile -*-===##
|
2003-10-20 22:29:16 +00: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-23 19:57:59 +00:00
|
|
|
|
2003-08-15 02:38:18 +00:00
|
|
|
LEVEL = ..
|
2003-11-16 06:51:53 +00:00
|
|
|
include $(LEVEL)/Makefile.config
|
2003-12-08 20:12:46 +00:00
|
|
|
|
2003-11-16 06:51:53 +00:00
|
|
|
ifneq ($(wildcard $(LLVMGCCDIR)),)
|
2004-05-23 21:26:29 +00:00
|
|
|
PARALLEL_DIRS := GCCLibraries libdummy libprofile libtrace GC
|
2003-11-16 06:51:53 +00:00
|
|
|
else
|
|
|
|
PARALLEL_DIRS :=
|
2003-12-08 20:12:46 +00:00
|
|
|
install all ::
|
2003-11-16 06:51:53 +00:00
|
|
|
@echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Double-check
|
|
|
|
@echo '********' Warning: llvm/Makefile.config to make sure it matches
|
|
|
|
@echo '********' Warning: the directory where the C front-end is installed,
|
|
|
|
@echo '********' Warning: and re-run configure if it does not.
|
|
|
|
endif
|
2002-03-08 23:20:52 +00:00
|
|
|
|
2004-09-08 20:30:26 +00: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
|
|
|
|
|
2003-08-15 02:38:18 +00:00
|
|
|
include $(LEVEL)/Makefile.common
|
2002-03-08 23:20:52 +00:00
|
|
|
|
2004-08-09 20:07:44 +00:00
|
|
|
# Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs
|
2002-03-08 23:20:52 +00:00
|
|
|
#
|
|
|
|
install::
|