When determining a canonical insert position, don't climb deeper
[oota-llvm.git] / lib / Transforms / Makefile
index c9965f3c03989176bd91f90332c8507c7fb631a5..648d10f7b0bf32aa12bd28f6c7a9a9212f3d8247 100644 (file)
@@ -1,7 +1,20 @@
+##===- lib/Transforms/Makefile -----------------------------*- Makefile -*-===##
+#
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
 LEVEL = ../..
-DIRS = Instrumentation IPO
+PARALLEL_DIRS = Utils Instrumentation Scalar InstCombine IPO Hello
 
-LIBRARYNAME = transforms
+include $(LEVEL)/Makefile.config
 
-include $(LEVEL)/Makefile.common
+# Some targets don't support plugins
+ifdef $(TARGET_HAS_DYNAMIC_LIBS)
+  PARALLEL_DIRS := $(filter-out Hello, $(PARALLEL_DIRS))
+endif
 
+include $(LEVEL)/Makefile.common