X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=runtime%2FMakefile;h=d0e85d58264f6c9fb034565ac58bb7e781e8f030;hb=571c0e95fa74c570f1c42f15b63ba8c68cba86b1;hp=9937c11e3bc3b0905c948c8efb329009822f3fe7;hpb=6da385e07fbb4c555c5db0022f8d7c2cad0e9f17;p=oota-llvm.git diff --git a/runtime/Makefile b/runtime/Makefile index 9937c11e3bc..d0e85d58264 100644 --- a/runtime/Makefile +++ b/runtime/Makefile @@ -10,16 +10,9 @@ LEVEL = .. include $(LEVEL)/Makefile.config -ifneq ($(wildcard $(LLVMGCC)),) +ifndef NO_RUNTIME_LIBS + PARALLEL_DIRS := libprofile -else -PARALLEL_DIRS := -install all :: - @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 - @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 @@ -27,9 +20,12 @@ 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 target for libraries: Copy into $LLVMGCCDIR/bytecode-libs -# install:: -