blob: bdbdc40d1f7b584d45b686e50e78e24b7ab23238 [file] [log] [blame]
John Criswelle2fab732003-10-20 22:29:16 +00001##===- runtime/Makefile ------------------------------*- Makefile -*-===##
2#
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 Lattnerd11df3c2003-08-15 02:38:18 +00009# llvm/runtime Makefile: Build all subdirectories automatically
Chris Lattner7aeed262002-01-23 19:57:59 +000010
Chris Lattnerd11df3c2003-08-15 02:38:18 +000011LEVEL = ..
Brian Gaekee9dd3f12003-11-16 06:51:53 +000012include $(LEVEL)/Makefile.config
Chris Lattnerb5da7462003-12-08 20:12:46 +000013
Brian Gaekee9dd3f12003-11-16 06:51:53 +000014ifneq ($(wildcard $(LLVMGCCDIR)),)
Chris Lattner8ad864a2004-05-23 21:26:29 +000015PARALLEL_DIRS := GCCLibraries libdummy libprofile libtrace GC
Brian Gaekee9dd3f12003-11-16 06:51:53 +000016else
17PARALLEL_DIRS :=
Chris Lattnerb5da7462003-12-08 20:12:46 +000018install all ::
Brian Gaekee9dd3f12003-11-16 06:51:53 +000019 @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Double-check
20 @echo '********' Warning: llvm/Makefile.config to make sure it matches
21 @echo '********' Warning: the directory where the C front-end is installed,
22 @echo '********' Warning: and re-run configure if it does not.
23endif
Chris Lattnerc1e20ac2002-03-08 23:20:52 +000024
Chris Lattnerd11df3c2003-08-15 02:38:18 +000025include $(LEVEL)/Makefile.common
Chris Lattnerc1e20ac2002-03-08 23:20:52 +000026
Brian Gaeke9715fcd2004-01-16 21:13:10 +000027# Install target for libraries: Copy into the 'bytecode-libs' subdirectory
28# of LLVMGCCDIR. (On the UIUC machines, this is in Chris's home directory.)
Chris Lattnerc1e20ac2002-03-08 23:20:52 +000029#
30install::
Chris Lattner03051412002-02-26 21:48:24 +000031
32clean::
Brian Gaeke3b9f4452004-02-04 21:40:49 +000033 rm -f $(DESTLIBBYTECODE)/*
34