Author: kornelpal
Date: 2005-09-27 13:13:05 -0400 (Tue, 27 Sep 2005)
New Revision: 50877

Modified:
   trunk/mcs/build/ChangeLog
   trunk/mcs/build/config-default.make
   trunk/mcs/build/rules.make
   trunk/mcs/class/ByteFX.Data/ChangeLog
   trunk/mcs/class/ByteFX.Data/Makefile
   trunk/mcs/class/Managed.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/Makefile
   trunk/mcs/class/Microsoft.VisualBasic/ChangeLog
   trunk/mcs/class/Microsoft.VisualBasic/Makefile
   trunk/mcs/class/System.Drawing/ChangeLog
   trunk/mcs/class/System.Drawing/Makefile
Log:
Added CODEPAGE Makefile variable that specifies the encoding used by compilers.

Modified: trunk/mcs/build/ChangeLog
===================================================================
--- trunk/mcs/build/ChangeLog   2005-09-27 16:43:19 UTC (rev 50876)
+++ trunk/mcs/build/ChangeLog   2005-09-27 17:13:05 UTC (rev 50877)
@@ -1,3 +1,9 @@
+2005-09-27  Kornél Pál  <[EMAIL PROTECTED]>
+
+       * config-default.make: Added CODEPAGE that is the default encoding used 
by
+         compilers.
+       * rules.make (USE_MCS_FLAGS, USE_MBAS_FLAGS): Added /codepage.
+
 2005-09-22  Raja R Harinath  <[EMAIL PROTECTED]>
 
        * Makefile (BUILT_FILES): New.

Modified: trunk/mcs/build/config-default.make
===================================================================
--- trunk/mcs/build/config-default.make 2005-09-27 16:43:19 UTC (rev 50876)
+++ trunk/mcs/build/config-default.make 2005-09-27 17:13:05 UTC (rev 50877)
@@ -6,6 +6,9 @@
 # DO NOT EDIT THIS FILE! Create config.make and override settings
 # there.
 
+# Use ISO-28591 as the default encoding for compilers
+CODEPAGE = 28591
+
 RUNTIME_FLAGS = 
 TEST_HARNESS = $(topdir)/class/lib/$(PROFILE)/nunit-console.exe
 MCS_FLAGS = $(PLATFORM_DEBUG_FLAGS)

Modified: trunk/mcs/build/rules.make
===================================================================
--- trunk/mcs/build/rules.make  2005-09-27 16:43:19 UTC (rev 50876)
+++ trunk/mcs/build/rules.make  2005-09-27 17:13:05 UTC (rev 50877)
@@ -15,8 +15,8 @@
 
 VERSION = 0.93
 
-USE_MCS_FLAGS = $(LOCAL_MCS_FLAGS) $(PLATFORM_MCS_FLAGS) $(PROFILE_MCS_FLAGS) 
$(MCS_FLAGS)
-USE_MBAS_FLAGS = $(LOCAL_MBAS_FLAGS) $(PLATFORM_MBAS_FLAGS) 
$(PROFILE_MBAS_FLAGS) $(MBAS_FLAGS)
+USE_MCS_FLAGS = /codepage:$(CODEPAGE) $(LOCAL_MCS_FLAGS) $(PLATFORM_MCS_FLAGS) 
$(PROFILE_MCS_FLAGS) $(MCS_FLAGS)
+USE_MBAS_FLAGS = /codepage:$(CODEPAGE) $(LOCAL_MBAS_FLAGS) 
$(PLATFORM_MBAS_FLAGS) $(PROFILE_MBAS_FLAGS) $(MBAS_FLAGS)
 USE_CFLAGS = $(LOCAL_CFLAGS) $(CFLAGS)
 CSCOMPILE = $(MCS) $(USE_MCS_FLAGS)
 BASCOMPILE = $(MBAS) $(USE_MBAS_FLAGS)

Modified: trunk/mcs/class/ByteFX.Data/ChangeLog
===================================================================
--- trunk/mcs/class/ByteFX.Data/ChangeLog       2005-09-27 16:43:19 UTC (rev 
50876)
+++ trunk/mcs/class/ByteFX.Data/ChangeLog       2005-09-27 17:13:05 UTC (rev 
50877)
@@ -1,3 +1,7 @@
+2005-09-27  Korn�l P�l  <[EMAIL PROTECTED]>
+
+       * Makefile: Removed /codepage:28591 as it is the default.
+
 2005-08-25  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * Makefile : /codepage:28591 (otherwise the build is broken on utf8

Modified: trunk/mcs/class/ByteFX.Data/Makefile
===================================================================
--- trunk/mcs/class/ByteFX.Data/Makefile        2005-09-27 16:43:19 UTC (rev 
50876)
+++ trunk/mcs/class/ByteFX.Data/Makefile        2005-09-27 17:13:05 UTC (rev 
50877)
@@ -12,7 +12,6 @@
        /r:System.Data.dll /r:ICSharpCode.SharpZipLib.dll \
        /r:System.Design.dll /r:System.Drawing.dll /r:System.Windows.Forms.dll \
        /r:Mono.Posix.dll \
-       /codepage:28591 \
        $(OTHER_RES:%=/res:%)
 
 NO_TEST = yes

Modified: trunk/mcs/class/Managed.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/ChangeLog     2005-09-27 16:43:19 UTC 
(rev 50876)
+++ trunk/mcs/class/Managed.Windows.Forms/ChangeLog     2005-09-27 17:13:05 UTC 
(rev 50877)
@@ -1,3 +1,7 @@
+2005-09-27  Kornél Pál  <[EMAIL PROTECTED]>
+
+       * Makefile: Replaced /codepage with CODEPAGE.
+
 2005-09-20  Ritvik Mayank  <[EMAIL PROTECTED]>
 
         * System.Windows.Forms_test.dll.sources : Added pictureBoxTest.cs

Modified: trunk/mcs/class/Managed.Windows.Forms/Makefile
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/Makefile      2005-09-27 16:43:19 UTC 
(rev 50876)
+++ trunk/mcs/class/Managed.Windows.Forms/Makefile      2005-09-27 17:13:05 UTC 
(rev 50877)
@@ -2,7 +2,11 @@
 include ../../build/rules.make
 
 LIBRARY = System.Windows.Forms.dll
-LIB_MCS_FLAGS = /unsafe /codepage:65001 \
+
+# UTF-8
+CODEPAGE = 65001
+
+LIB_MCS_FLAGS = /unsafe \
        /r:$(corlib) /r:System.dll /r:System.Xml.dll \
        /r:System.Drawing.dll /r:Accessibility.dll \
        /r:System.Data.dll /r:Mono.Posix.dll \

Modified: trunk/mcs/class/Microsoft.VisualBasic/ChangeLog
===================================================================
--- trunk/mcs/class/Microsoft.VisualBasic/ChangeLog     2005-09-27 16:43:19 UTC 
(rev 50876)
+++ trunk/mcs/class/Microsoft.VisualBasic/ChangeLog     2005-09-27 17:13:05 UTC 
(rev 50877)
@@ -1,3 +1,7 @@
+2005-09-27  Korn�l P�l  <[EMAIL PROTECTED]>
+
+       * Makefile: Replaced /codepage with CODEPAGE.
+
 2005-08-06  Ankit Jain  <[EMAIL PROTECTED]>
 
        * Makefile ($(the_il)): Add /dll switch.

Modified: trunk/mcs/class/Microsoft.VisualBasic/Makefile
===================================================================
--- trunk/mcs/class/Microsoft.VisualBasic/Makefile      2005-09-27 16:43:19 UTC 
(rev 50876)
+++ trunk/mcs/class/Microsoft.VisualBasic/Makefile      2005-09-27 17:13:05 UTC 
(rev 50877)
@@ -7,9 +7,12 @@
 LIBRARY = Microsoft.VisualBasic.dll
 LIBRARY_NEEDS_POSTPROCESSING = yes
 
-LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Windows.Forms.dll 
@Microsoft.VisualBasic.dll.resources -codepage:65001
-TEST_MCS_FLAGS = -codepage:65001 -nowarn:0618 -nowarn:219 -nowarn:169
+# UTF-8
+CODEPAGE = 65001
 
+LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Windows.Forms.dll 
@Microsoft.VisualBasic.dll.resources
+TEST_MCS_FLAGS = -nowarn:0618 -nowarn:219 -nowarn:169
+
 LIB_MCS_FLAGS_RESOURCES = $(LIB_MCS_FLAGS) 
 
 TXT_RES = Microsoft.VisualBasic.VBUtils.resources

Modified: trunk/mcs/class/System.Drawing/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/ChangeLog    2005-09-27 16:43:19 UTC (rev 
50876)
+++ trunk/mcs/class/System.Drawing/ChangeLog    2005-09-27 17:13:05 UTC (rev 
50877)
@@ -1,3 +1,7 @@
+2005-09-27  Kornél Pál  <[EMAIL PROTECTED]>
+
+       * Makefile: Removed /codepage:28591 as it is the default.
+
 2005-09-19  Miguel de Icaza  <[EMAIL PROTECTED]>
 
        * Makefile (EXTRA_DISTFILES): Distribute indexed.png, add resource
@@ -256,7 +260,7 @@
 2003-02-07 Alexandre Pigolkine <[EMAIL PROTECTED]>
        * list.unix             changed
 
-2002-12-1  Alejandro S�nchez Acosta  <[EMAIL PROTECTED]>
+2002-12-1  Alejandro Sánchez Acosta  <[EMAIL PROTECTED]>
 
        * list.unix: Changed
 

Modified: trunk/mcs/class/System.Drawing/Makefile
===================================================================
--- trunk/mcs/class/System.Drawing/Makefile     2005-09-27 16:43:19 UTC (rev 
50876)
+++ trunk/mcs/class/System.Drawing/Makefile     2005-09-27 17:13:05 UTC (rev 
50877)
@@ -4,7 +4,7 @@
 
 LIBRARY = System.Drawing.dll
 
-LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll /nowarn:649 /nowarn:169 
/codepage:28591
+LIB_MCS_FLAGS = /unsafe /r:$(corlib) /r:System.dll /nowarn:649 /nowarn:169
 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) 
-resource:Test/resources/indexed.png,indexed.png \
         /r:System.Drawing.dll -nowarn:0618 -nowarn:219 -nowarn:169 -nowarn:1595

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

Reply via email to