Disable plugins / shared stuff generation on windows targets.
This fixes fallout from recent PIC/delibtoolize changes and unbreaks
build on cygming.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66686 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Makefile b/lib/Transforms/Makefile
index bfdb2bf..32ac9fc 100644
--- a/lib/Transforms/Makefile
+++ b/lib/Transforms/Makefile
@@ -10,5 +10,10 @@
 LEVEL = ../..
 PARALLEL_DIRS = Utils Instrumentation Scalar IPO Hello
 
+# No support for plugins on windows targets
+ifeq ($(OS), $(filter $(OS), Cygwin MingW))
+  PARALLEL_DIRS := $(filter-out Hello, $(DIRS))
+endif
+
 include $(LEVEL)/Makefile.common
 
diff --git a/tools/Makefile b/tools/Makefile
index 237da53..756d7d5 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -31,4 +31,9 @@
   endif
 endif
 
+# No support for lto / gold on windows targets
+ifeq ($(OS), $(filter $(OS), Cygwin MingW))
+  DIRS := $(filter-out lto gold, $(DIRS))
+endif
+
 include $(LEVEL)/Makefile.common