Author: atsushi
Date: 2007-10-09 12:41:51 -0400 (Tue, 09 Oct 2007)
New Revision: 87194

Modified:
   trunk/mcs/class/ChangeLog
   trunk/mcs/class/Makefile
   trunk/mcs/class/System.Design/ChangeLog
   trunk/mcs/class/System.Design/Makefile
Log:
2007-10-09  Atsushi Enomoto  <[EMAIL PROTECTED]>

In 2.0 System.Design.dll has cyclic dep on System.Drawing.Design.dll.



Modified: trunk/mcs/class/ChangeLog
===================================================================
--- trunk/mcs/class/ChangeLog   2007-10-09 16:32:30 UTC (rev 87193)
+++ trunk/mcs/class/ChangeLog   2007-10-09 16:41:51 UTC (rev 87194)
@@ -1,3 +1,8 @@
+2007-10-09  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * Makefile: In 2.0 System.Design.dll has cyclic dep on
+         System.Drawing.Design.dll.
+
 2007-09-11  Marek Habersack  <[EMAIL PROTECTED]>
 
        * Makefile (net_2_0_dirs): added the System.Web.Extensions.Design

Modified: trunk/mcs/class/Makefile
===================================================================
--- trunk/mcs/class/Makefile    2007-10-09 16:32:30 UTC (rev 87193)
+++ trunk/mcs/class/Makefile    2007-10-09 16:41:51 UTC (rev 87194)
@@ -83,6 +83,7 @@
        System.Messaging                \
        System.ServiceProcess           \
        System.Drawing.Design           \
+       System.Design                   \
        Mono.Http                       \
        Microsoft.Vsa                   \
        Mono.Cairo                      \

Modified: trunk/mcs/class/System.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Design/ChangeLog     2007-10-09 16:32:30 UTC (rev 
87193)
+++ trunk/mcs/class/System.Design/ChangeLog     2007-10-09 16:41:51 UTC (rev 
87194)
@@ -1,5 +1,9 @@
 2007-10-09  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
+       * Makefile: in 2.0 there is cyclic dep with Sys.Drawing.Design.dll.
+
+2007-10-09  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
        * System.Design.dll.sources : more .NET 2.0 types.
        * System.Design_test.dll.sources :
          added Test/Sys.Win.Forms.Design/MenuCommandsTest.cs

Modified: trunk/mcs/class/System.Design/Makefile
===================================================================
--- trunk/mcs/class/System.Design/Makefile      2007-10-09 16:32:30 UTC (rev 
87193)
+++ trunk/mcs/class/System.Design/Makefile      2007-10-09 16:41:51 UTC (rev 
87194)
@@ -3,6 +3,19 @@
 include ../../build/rules.make
 
 LIBRARY = System.Design.dll
+
+ifeq (net_2_0, $(PROFILE))
+
+LIBRARY_USE_INTERMEDIATE_FILE = yes
+
+
+DRAWING_DESIGN_DEP := System.Drawing.Design.dll
+DRAWING_DESIGN_DEP_FILE := $(wildcard ../lib/$(PROFILE)/$(DRAWING_DESIGN_DEP))
+CYCLIC_DEPS := $(DRAWING_DESIGN_DEP)
+CYCLIC_DEP_FILES := $(DRAWING_DESIGN_DEP_FILE)
+endif
+
+
 LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Xml.dll -r:System.Web.dll 
\
        -r:System.Windows.Forms.dll -r:System.Drawing.dll \
        -r:Accessibility.dll -r:System.Data.dll
@@ -11,4 +24,23 @@
 LIB_MCS_FLAGS += -r:System.Configuration.dll
 endif
 
+ifneq ($(CYCLIC_DEPS:%=../lib/$(PROFILE)/%), $(CYCLIC_DEP_FILES))
+NO_SIGN_ASSEMBLY = yes
+NO_INSTALL = yes
+all-local: echo-warning
+.PHONY: echo-warning
+
+ifeq   (, $(strip $(CYCLIC_DEP_FILES)))
+echo-warning:
+       @echo "** Warning: System.Web.dll built without parts that depend on: 
$(CYCLIC_DEPS)"
+endif
+endif
+
+
 include ../../build/library.make
+
+
+ifdef DRAWING_DESIGN_DEP_FILE
+LIB_MCS_FLAGS += -define:DRAWING_DESIGN_DEP -r:$(DRAWING_DESIGN_DEP)
+$(the_lib): $(DRAWING_DESIGN_DEP_FILE)
+endif

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to