suck the propagating "has dynamic libs" check into a single makefile
[oota-llvm.git] / lib / Transforms / Makefile
index e527be25decb1f32cfa7b089eca8d1ceb06ef536..648d10f7b0bf32aa12bd28f6c7a9a9212f3d8247 100644 (file)
@@ -12,8 +12,8 @@ PARALLEL_DIRS = Utils Instrumentation Scalar InstCombine IPO Hello
 
 include $(LEVEL)/Makefile.config
 
-# No support for plugins on windows targets
-ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW Minix))
+# Some targets don't support plugins
+ifdef $(TARGET_HAS_DYNAMIC_LIBS)
   PARALLEL_DIRS := $(filter-out Hello, $(PARALLEL_DIRS))
 endif