When determining a canonical insert position, don't climb deeper
[oota-llvm.git] / lib / Transforms / Makefile
index bfdb2bf81d9808f32e98caa2761514d5a6906a75..648d10f7b0bf32aa12bd28f6c7a9a9212f3d8247 100644 (file)
@@ -8,7 +8,13 @@
 ##===----------------------------------------------------------------------===##
 
 LEVEL = ../..
-PARALLEL_DIRS = Utils Instrumentation Scalar IPO Hello
+PARALLEL_DIRS = Utils Instrumentation Scalar InstCombine IPO Hello
 
-include $(LEVEL)/Makefile.common
+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