1 ##===- runtime/Makefile ------------------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
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.
8 ##===----------------------------------------------------------------------===##
11 include $(LEVEL)/Makefile.config
13 ifeq ($(LLVMGCC_MAJVERS),4)
16 $(Echo) "Warning: These runtime libraries only need to be built with"
17 $(Echo) "Warning: llvm-gcc version 3. They are automatically included"
18 $(Echo) "Warning: with llvm-gcc version 4 and beyond"
20 ifneq ($(wildcard $(LLVMGCC)),)
21 PARALLEL_DIRS := GCCLibraries libdummy libprofile GC
25 @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Check
26 @echo '********' Warning: llvm/Makefile.config to make sure it matches
27 @echo '********' Warning: the directory where the C front-end is
28 @echo '********' Warning: installed,and re-run configure if it does not.
31 # Disable libprofile: a faulty libtool is generated by autoconf which breaks the
34 PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
38 include $(LEVEL)/Makefile.common
40 # Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs