Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ##===- 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 | ##===----------------------------------------------------------------------===## |
| 9 | |
| 10 | LEVEL = .. |
| 11 | include $(LEVEL)/Makefile.config |
| 12 | |
| 13 | ifeq ($(LLVMGCC_MAJVERS),4) |
| 14 | PARALLEL_DIRS := |
| 15 | install all:: |
| 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" |
| 19 | else |
| 20 | ifneq ($(wildcard $(LLVMGCC)),) |
| 21 | PARALLEL_DIRS := GCCLibraries libdummy libprofile GC |
| 22 | else |
| 23 | PARALLEL_DIRS := |
| 24 | install all :: |
| 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. |
| 29 | endif |
| 30 | |
| 31 | # Disable libprofile: a faulty libtool is generated by autoconf which breaks the |
| 32 | # build on Sparc |
| 33 | ifeq ($(ARCH), Sparc) |
| 34 | PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS)) |
| 35 | endif |
| 36 | endif |
| 37 | |
| 38 | include $(LEVEL)/Makefile.common |
| 39 | |
| 40 | # Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs |
| 41 | # |
| 42 | install:: |
| 43 | |