X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=runtime%2FMakefile;h=99a5e0cb93963e0a50737fdd3e29b0e8bca63f0f;hb=c455ebeb0c8f58397578918702d5f79f434ac245;hp=c84ada158a657ad71831a30a75450e0d28d194c7;hpb=265c87a6ef6d2e296ad5bca88edb4985ec0139ba;p=oota-llvm.git diff --git a/runtime/Makefile b/runtime/Makefile index c84ada158a6..99a5e0cb939 100644 --- a/runtime/Makefile +++ b/runtime/Makefile @@ -1,4 +1,4 @@ -##===- runtime/Makefile ------------------------------*- Makefile -*-===## +##===- runtime/Makefile ------------------------------------*- Makefile -*-===## # # The LLVM Compiler Infrastructure # @@ -6,29 +6,30 @@ # the University of Illinois Open Source License. See LICENSE.TXT for details. # ##===----------------------------------------------------------------------===## -# llvm/runtime Makefile: Build all subdirectories automatically LEVEL = .. include $(LEVEL)/Makefile.config -ifneq ($(wildcard $(LLVMGCCDIR)),) -PARALLEL_DIRS := GCCLibraries libdummy libprofile libtrace +ifneq ($(wildcard $(LLVMGCC)),) +PARALLEL_DIRS := libprofile GC else PARALLEL_DIRS := install all :: - @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Double-check + @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Check @echo '********' Warning: llvm/Makefile.config to make sure it matches - @echo '********' Warning: the directory where the C front-end is installed, - @echo '********' Warning: and re-run configure if it does not. + @echo '********' Warning: the directory where the C front-end is + @echo '********' Warning: installed,and re-run configure if it does not. +endif + +# Disable libprofile: a faulty libtool is generated by autoconf which breaks the +# build on Sparc +ifeq ($(ARCH), Sparc) +PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS)) endif include $(LEVEL)/Makefile.common -# Install target for libraries: Copy into the 'bytecode-libs' subdirectory -# of LLVMGCCDIR. (On the UIUC machines, this is in Chris's home directory.) +# Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs # install:: -clean:: - rm -f $(DESTLIBBYTECODE)/* -