2003-10-21 00:29:16 +02:00
|
|
|
##===- runtime/Makefile ------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2003-08-15 04:38:18 +02:00
|
|
|
# llvm/runtime Makefile: Build all subdirectories automatically
|
2002-01-23 20:57:59 +01:00
|
|
|
|
2003-08-15 04:38:18 +02:00
|
|
|
LEVEL = ..
|
2003-11-16 07:51:53 +01:00
|
|
|
include $(LEVEL)/Makefile.config
|
2003-12-08 21:12:46 +01:00
|
|
|
|
2003-11-16 07:51:53 +01:00
|
|
|
ifneq ($(wildcard $(LLVMGCCDIR)),)
|
2004-05-23 23:26:29 +02:00
|
|
|
PARALLEL_DIRS := GCCLibraries libdummy libprofile libtrace GC
|
2003-11-16 07:51:53 +01:00
|
|
|
else
|
|
|
|
PARALLEL_DIRS :=
|
2003-12-08 21:12:46 +01:00
|
|
|
install all ::
|
2003-11-16 07:51:53 +01: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-09 00:20:52 +01:00
|
|
|
|
2003-08-15 04:38:18 +02:00
|
|
|
include $(LEVEL)/Makefile.common
|
2002-03-09 00:20:52 +01:00
|
|
|
|
2004-01-16 22:13:10 +01:00
|
|
|
# Install target for libraries: Copy into the 'bytecode-libs' subdirectory
|
|
|
|
# of LLVMGCCDIR. (On the UIUC machines, this is in Chris's home directory.)
|
2002-03-09 00:20:52 +01:00
|
|
|
#
|
|
|
|
install::
|
2002-02-26 22:48:24 +01:00
|
|
|
|
|
|
|
clean::
|
2004-02-04 22:40:49 +01:00
|
|
|
rm -f $(DESTLIBBYTECODE)/*
|
|
|
|
|