blob: 3ddf2bdf43b04c4e19abd1941016222f0c3e31ef [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 Lattner8ad864a2004-05-23 21:26:29 +000014PARALLEL_DIRS := GCCLibraries libdummy libprofile 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
Chris Lattnerd11df3c2003-08-15 02:38:18 +000024include $(LEVEL)/Makefile.common
Chris Lattnerc1e20ac2002-03-08 23:20:52 +000025
Misha Brukman1757ae92004-08-09 20:07:44 +000026# Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs
Chris Lattnerc1e20ac2002-03-08 23:20:52 +000027#
28install::
Chris Lattner03051412002-02-26 21:48:24 +000029
30clean::
Reid Spencer40b062f2004-09-03 23:19:53 +000031 $(VERB) rm -f $(DESTLIBBYTECODE)/*
Brian Gaeke3b9f4452004-02-04 21:40:49 +000032