Small code cleanup. No functionality change.
[oota-llvm.git] / runtime / Makefile
index 6e259678b287c2575d7ef1adc16dea660c1323c5..d0e85d58264f6c9fb034565ac58bb7e781e8f030 100644 (file)
@@ -7,11 +7,11 @@
 # 
 ##===----------------------------------------------------------------------===##
 
-ifndef NO_RUNTIME_LIBS
-
 LEVEL = ..
 include $(LEVEL)/Makefile.config
 
+ifndef NO_RUNTIME_LIBS
+
 PARALLEL_DIRS  := libprofile
 
 # Disable libprofile: a faulty libtool is generated by autoconf which breaks the
@@ -20,8 +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::
-
-endif