X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=runtime%2FMakefile;h=d0e85d58264f6c9fb034565ac58bb7e781e8f030;hb=867fe8570f299a058f155f98646d85cabc27155b;hp=33386d7b3cf35243859e63dfe522d58c02f98f71;hpb=7aeed26bc44c3d8bc02ee3328627eb2d80222041;p=oota-llvm.git diff --git a/runtime/Makefile b/runtime/Makefile index 33386d7b3cf..d0e85d58264 100644 --- a/runtime/Makefile +++ b/runtime/Makefile @@ -1,2 +1,31 @@ +##===- runtime/Makefile ------------------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## -all:: +LEVEL = .. +include $(LEVEL)/Makefile.config + +ifndef NO_RUNTIME_LIBS + +PARALLEL_DIRS := libprofile + +# 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 + +ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix)) +PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS)) +endif + +endif + +include $(LEVEL)/Makefile.common + +install::