If the user did not check out LLVM and request it to be built, it should be a build...
[llvm-complete.git] / runtime / Makefile
blob99a5e0cb93963e0a50737fdd3e29b0e8bca63f0f
1 ##===- runtime/Makefile ------------------------------------*- Makefile -*-===##
2 #
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.
7 #
8 ##===----------------------------------------------------------------------===##
10 LEVEL = ..
11 include $(LEVEL)/Makefile.config
13 ifneq ($(wildcard $(LLVMGCC)),)
14 PARALLEL_DIRS := libprofile GC
15 else
16 PARALLEL_DIRS :=
17 install all ::
18 @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Check
19 @echo '********' Warning: llvm/Makefile.config to make sure it matches
20 @echo '********' Warning: the directory where the C front-end is
21 @echo '********' Warning: installed,and re-run configure if it does not.
22 endif
24 # Disable libprofile: a faulty libtool is generated by autoconf which breaks the
25 # build on Sparc
26 ifeq ($(ARCH), Sparc)
27 PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
28 endif
30 include $(LEVEL)/Makefile.common
32 # Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs
34 install::