When determining a canonical insert position, don't climb deeper
[oota-llvm.git] / lib / Transforms / Makefile
index bf270831083b27b6492131d948ded89ee2c16e0f..648d10f7b0bf32aa12bd28f6c7a9a9212f3d8247 100644 (file)
@@ -8,12 +8,13 @@
 ##===----------------------------------------------------------------------===##
 
 LEVEL = ../..
-PARALLEL_DIRS = Utils Instrumentation Scalar IPO Hello
+PARALLEL_DIRS = Utils Instrumentation Scalar InstCombine IPO Hello
 
-# No support for plugins on windows targets
-ifeq ($(OS), $(filter $(OS), Cygwin MingW))
-  PARALLEL_DIRS = $(filter-out Hello, $(PARALLEL_DIRS))
+include $(LEVEL)/Makefile.config
+
+# Some targets don't support plugins
+ifdef $(TARGET_HAS_DYNAMIC_LIBS)
+  PARALLEL_DIRS := $(filter-out Hello, $(PARALLEL_DIRS))
 endif
 
 include $(LEVEL)/Makefile.common
-