Author: danw
Date: 2005-04-11 10:56:29 -0400 (Mon, 11 Apr 2005)
New Revision: 42791
Modified:
trunk/gtk-sharp/ChangeLog
trunk/gtk-sharp/Makefile.include
trunk/gtk-sharp/art/
trunk/gtk-sharp/atk/
trunk/gtk-sharp/configure.in
trunk/gtk-sharp/gconf/GConf.PropertyEditors/
trunk/gtk-sharp/gconf/GConf.PropertyEditors/Makefile.am
trunk/gtk-sharp/gconf/GConf/
trunk/gtk-sharp/gconf/GConf/Makefile.am
trunk/gtk-sharp/gda/
trunk/gtk-sharp/gdk/
trunk/gtk-sharp/glade/
trunk/gtk-sharp/glib/
trunk/gtk-sharp/glib/Makefile.am
trunk/gtk-sharp/gnome/
trunk/gtk-sharp/gnomedb/
trunk/gtk-sharp/gnomevfs/
trunk/gtk-sharp/gtk/
trunk/gtk-sharp/gtkdotnet/
trunk/gtk-sharp/gtkdotnet/Makefile.am
trunk/gtk-sharp/gtkhtml/
trunk/gtk-sharp/pango/
trunk/gtk-sharp/rsvg/
trunk/gtk-sharp/vte/
Log:
* configure.in: Add an --enable-debug flag, to build .mdb files
for all of the assemblies
* Makefile.include:
* gconf/GConf/Makefile.am:
* gconf/GConf.PropertyEditors/Makefile.am:
* glib/Makefile.am:
* gtkdotnet/Makefile.am (CLEANFILES): add $(ASSEMBLY).mdb
$(ASSEMBLY): build with $(CSFLAGS). Always delete $(ASSEMBLY).mdb
before building $(ASSEMBLY), so that if you first build with
debugging enabled, then update, then rebuild without debugging
enabled, you don't end up with an out-of-date .mdb file.
Modified: trunk/gtk-sharp/ChangeLog
===================================================================
--- trunk/gtk-sharp/ChangeLog 2005-04-11 14:17:51 UTC (rev 42790)
+++ trunk/gtk-sharp/ChangeLog 2005-04-11 14:56:29 UTC (rev 42791)
@@ -1,3 +1,18 @@
+2005-04-08 Dan Winship <[EMAIL PROTECTED]>
+
+ * configure.in: Add an --enable-debug flag, to build .mdb files
+ for all of the assemblies
+
+ * Makefile.include:
+ * gconf/GConf/Makefile.am:
+ * gconf/GConf.PropertyEditors/Makefile.am:
+ * glib/Makefile.am:
+ * gtkdotnet/Makefile.am (CLEANFILES): add $(ASSEMBLY).mdb
+ $(ASSEMBLY): build with $(CSFLAGS). Always delete $(ASSEMBLY).mdb
+ before building $(ASSEMBLY), so that if you first build with
+ debugging enabled, then update, then rebuild without debugging
+ enabled, you don't end up with an out-of-date .mdb file.
+
2005-04-08 Alp Toker <[EMAIL PROTECTED]>
* atk/makefile.win32: gapi-cdecl-insert was called in the wrong place
Modified: trunk/gtk-sharp/Makefile.include
===================================================================
--- trunk/gtk-sharp/Makefile.include 2005-04-11 14:17:51 UTC (rev 42790)
+++ trunk/gtk-sharp/Makefile.include 2005-04-11 14:56:29 UTC (rev 42791)
@@ -10,7 +10,7 @@
TARGET_API = $(pkg:=-api.xml)
gapidir = $(datadir)/gapi-2.0
gapi_DATA = $(TARGET_API)
-CLEANFILES = $(ASSEMBLY) generated-stamp generated/*.cs $(API)
glue/generated.c $(SNK)
+CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb generated-stamp generated/*.cs $(API)
glue/generated.c $(SNK)
DISTCLEANFILES = $(ASSEMBLY).config
EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA)
$(customs) $(sources) $(add_dist)
@@ -43,7 +43,8 @@
build_references = $(addprefix /r:, $(references))
$(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references)
- $(CSC) -nowarn:0612 -unsafe -out:$(ASSEMBLY) -target:library
$(build_references) $(build_sources) $(GENERATED_SOURCES)
+ @rm -f $(ASSEMBLY).mdb
+ $(CSC) $(CSFLAGS) -nowarn:0612 -nowarn:0618 -unsafe -out:$(ASSEMBLY)
-target:library $(build_references) $(build_sources) $(GENERATED_SOURCES)
install-data-local:
@if test -n '$(pkg)'; then
\
Property changes on: trunk/gtk-sharp/art
___________________________________________________________________
Name: svn:ignore
- *.pc
AssemblyInfo.cs
*.dll
*.dll.config
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.pc
AssemblyInfo.cs
*.dll
*.dll.config
*.dll.mdb
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Property changes on: trunk/gtk-sharp/atk
___________________________________________________________________
Name: svn:ignore
- *.dll
*.dll.config
AssemblyInfo.cs
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.dll
*.dll.config
*.dll.mdb
AssemblyInfo.cs
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Modified: trunk/gtk-sharp/configure.in
===================================================================
--- trunk/gtk-sharp/configure.in 2005-04-11 14:17:51 UTC (rev 42790)
+++ trunk/gtk-sharp/configure.in 2005-04-11 14:56:29 UTC (rev 42791)
@@ -39,6 +39,11 @@
CFLAGS='-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow
-Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings'
+AC_ARG_ENABLE(debug, [ --enable-debug Build debugger (.mdb) files
for dlls],
+ CSFLAGS='-g'
+)
+AC_SUBST(CSFLAGS)
+
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$PKG_CONFIG" = "xno"; then
AC_MSG_ERROR([You need to install pkg-config])
@@ -300,7 +305,7 @@
echo "Configuration summary"
echo ""
echo " * Installation prefix = $prefix"
-echo " * $CS compiler: $CSC"
+echo " * $CS compiler: $CSC $CSFLAGS"
echo ""
echo " Optional assemblies included in the build:"
echo ""
Property changes on: trunk/gtk-sharp/gconf/GConf
___________________________________________________________________
Name: svn:ignore
- *.pc
AssemblyInfo.cs
Makefile
Makefile.in
*.dll
*.dll.config
gtk-sharp.snk
+ *.pc
AssemblyInfo.cs
Makefile
Makefile.in
*.dll
*.dll.config
*.dll.mdb
gtk-sharp.snk
Modified: trunk/gtk-sharp/gconf/GConf/Makefile.am
===================================================================
--- trunk/gtk-sharp/gconf/GConf/Makefile.am 2005-04-11 14:17:51 UTC (rev
42790)
+++ trunk/gtk-sharp/gconf/GConf/Makefile.am 2005-04-11 14:56:29 UTC (rev
42791)
@@ -6,7 +6,7 @@
TARGET =
endif
noinst_DATA = $(TARGET)
-CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
+CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk
DISTCLEANFILES = gconf-sharp-2.0.pc $(ASSEMBLY).config
ASSEMBLY = $(ASSEMBLY_NAME).dll
@@ -38,7 +38,8 @@
cp $(top_srcdir)/gtk-sharp.snk .
$(ASSEMBLY): $(build_sources) gtk-sharp.snk
- $(CSC) /out:$(ASSEMBLY) /target:library $(references) $(build_sources)
+ @rm -f $(ASSEMBLY).mdb
+ $(CSC) $(CSFLAGS) /out:$(ASSEMBLY) /target:library $(references)
$(build_sources)
install-data-local:
@if test -n '$(TARGET)'; then
\
Property changes on: trunk/gtk-sharp/gconf/GConf.PropertyEditors
___________________________________________________________________
Name: svn:ignore
- Makefile
Makefile.in
AssemblyInfo.cs
*.dll
gtk-sharp.snk
+ Makefile
Makefile.in
AssemblyInfo.cs
*.dll
*.dll.mdb
gtk-sharp.snk
Modified: trunk/gtk-sharp/gconf/GConf.PropertyEditors/Makefile.am
===================================================================
--- trunk/gtk-sharp/gconf/GConf.PropertyEditors/Makefile.am 2005-04-11
14:17:51 UTC (rev 42790)
+++ trunk/gtk-sharp/gconf/GConf.PropertyEditors/Makefile.am 2005-04-11
14:56:29 UTC (rev 42791)
@@ -7,7 +7,7 @@
ASSEMBLY = $(ASSEMBLY_NAME).dll
ASSEMBLY_NAME = gconf-sharp-peditors
noinst_DATA = $(TARGET)
-CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
+CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk
EXTRA_DIST = \
PropertyEditorColorPicker.cs \
@@ -34,7 +34,8 @@
cp $(top_srcdir)/gtk-sharp.snk .
$(ASSEMBLY): $(build_sources) gtk-sharp.snk
- $(CSC) /out:$(ASSEMBLY) /target:library $(references) $(build_sources)
+ @rm -f $(ASSEMBLY).mdb
+ $(CSC) $(CSFLAGS) /out:$(ASSEMBLY) /target:library $(references)
$(build_sources)
install-data-local:
@if test -n '$(TARGET)'; then
\
Property changes on: trunk/gtk-sharp/gda
___________________________________________________________________
Name: svn:ignore
- *.pc
AssemblyInfo.cs
*.dll
*.dll.config
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.pc
AssemblyInfo.cs
*.dll
*.dll.config
*.dll.mdb
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Property changes on: trunk/gtk-sharp/gdk
___________________________________________________________________
Name: svn:ignore
- *.dll
*.dll.config
AssemblyInfo.cs
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.dll
*.dll.config
*.dll.mdb
AssemblyInfo.cs
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Property changes on: trunk/gtk-sharp/glade
___________________________________________________________________
Name: svn:ignore
- *.pc
AssemblyInfo.cs
*.dll
*.dll.config
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.pc
AssemblyInfo.cs
*.dll
*.dll.config
*.dll.mdb
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Property changes on: trunk/gtk-sharp/glib
___________________________________________________________________
Name: svn:ignore
- *.dll
*.dll.config
AssemblyInfo.cs
*.exe
*.xml
generated
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.dll
*.dll.config
*.dll.mdb
AssemblyInfo.cs
*.exe
*.xml
generated
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Modified: trunk/gtk-sharp/glib/Makefile.am
===================================================================
--- trunk/gtk-sharp/glib/Makefile.am 2005-04-11 14:17:51 UTC (rev 42790)
+++ trunk/gtk-sharp/glib/Makefile.am 2005-04-11 14:56:29 UTC (rev 42791)
@@ -4,7 +4,7 @@
ASSEMBLY = $(ASSEMBLY_NAME).dll
ASSEMBLY_NAME = glib-sharp
noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config
-CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
+CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk
DISTCLEANFILES = $(ASSEMBLY).config
references =
@@ -65,7 +65,8 @@
cp $(top_srcdir)/gtk-sharp.snk .
$(ASSEMBLY): $(build_sources) gtk-sharp.snk
- $(CSC) /nowarn:0612 /out:$(ASSEMBLY) /target:library $(references)
$(build_sources)
+ @rm -f $(ASSEMBLY).mdb
+ $(CSC) $(CSFLAGS) /nowarn:0612 /out:$(ASSEMBLY) /target:library
$(references) $(build_sources)
install-data-local:
@if test -n '$(TARGET)'; then
\
Property changes on: trunk/gtk-sharp/gnome
___________________________________________________________________
Name: svn:ignore
- *.pc
AssemblyInfo.cs
*.dll
*.dll.config
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.pc
AssemblyInfo.cs
*.dll
*.dll.config
*.dll.mdb
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Property changes on: trunk/gtk-sharp/gnomedb
___________________________________________________________________
Name: svn:ignore
- *.pc
AssemblyInfo.cs
*.dll
*.dll.config
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.pc
AssemblyInfo.cs
*.dll
*.dll.config
*.dll.mdb
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Property changes on: trunk/gtk-sharp/gnomevfs
___________________________________________________________________
Name: svn:ignore
- *.dll
*.dll.config
AssemblyInfo.cs
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
*.pc
gtk-sharp.snk
+ *.dll
*.dll.config
*.dll.mdb
AssemblyInfo.cs
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
*.pc
gtk-sharp.snk
Property changes on: trunk/gtk-sharp/gtk
___________________________________________________________________
Name: svn:ignore
- *.dll
*.dll.config
*.pc
AssemblyInfo.cs
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.dll
*.dll.config
*.dll.mdb
*.pc
AssemblyInfo.cs
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Property changes on: trunk/gtk-sharp/gtkdotnet
___________________________________________________________________
Name: svn:ignore
- *.dll
*.pc
*.config
*.snk
Makefile
Makefile.in
+ *.dll
*.dll.config
*.dll.mdb
*.pc
*.snk
Makefile
Makefile.in
Modified: trunk/gtk-sharp/gtkdotnet/Makefile.am
===================================================================
--- trunk/gtk-sharp/gtkdotnet/Makefile.am 2005-04-11 14:17:51 UTC (rev
42790)
+++ trunk/gtk-sharp/gtkdotnet/Makefile.am 2005-04-11 14:56:29 UTC (rev
42791)
@@ -9,7 +9,7 @@
ASSEMBLY = $(ASSEMBLY_NAME).dll
ASSEMBLY_NAME = gtk-dotnet
noinst_DATA = $(TARGET)
-CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
+CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk
DISTCLEANFILES = $(ASSEMBLY).config
references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll
../gdk/gdk-sharp.dll
@@ -30,7 +30,8 @@
cp $(top_srcdir)/gtk-sharp.snk .
$(ASSEMBLY): $(build_sources) $(references) gtk-sharp.snk
- $(CSC) /nowarn:0612 /out:$(ASSEMBLY) /target:library
$(build_references) $(build_sources)
+ @rm -f $(ASSEMBLY).mdb
+ $(CSC) $(CSFLAGS) /nowarn:0612 /out:$(ASSEMBLY) /target:library
$(build_references) $(build_sources)
install-data-local:
@if test -n '$(TARGET)'; then
\
Property changes on: trunk/gtk-sharp/gtkhtml
___________________________________________________________________
Name: svn:ignore
- *.pc
AssemblyInfo.cs
*.dll
*.dll.config
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.pc
AssemblyInfo.cs
*.dll
*.dll.config
*.dll.mdb
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Property changes on: trunk/gtk-sharp/pango
___________________________________________________________________
Name: svn:ignore
- *.dll
*.dll.config
AssemblyInfo.cs
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.dll
*.dll.config
*.dll.mdb
AssemblyInfo.cs
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Property changes on: trunk/gtk-sharp/rsvg
___________________________________________________________________
Name: svn:ignore
- *.pc
AssemblyInfo.cs
*.dll
*.dll.config
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.pc
AssemblyInfo.cs
*.dll
*.dll.config
*.dll.mdb
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
Property changes on: trunk/gtk-sharp/vte
___________________________________________________________________
Name: svn:ignore
- *.pc
AssemblyInfo.cs
vte-sharp.dll
vte-sharp.dll.config
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
+ *.pc
AssemblyInfo.cs
*.dll
*.dll.config
*.dll.mdb
generated
generated-stamp
Makefile
Makefile.in
*-api.xml
gtk-sharp.snk
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches