2002-05-29 Mike Kestner <mkestner@speakeasy.net>

* generator/CallbackGen.cs : Fix build breaker from refactoring.
	* sample/Makefile.in : Build the menu sample on linux.

svn path=/trunk/gtk-sharp/; revision=5001
This commit is contained in:
Mike Kestner 2002-05-29 08:13:46 +00:00
parent 177ce885ad
commit c1be55f103
3 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2002-05-29 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : Fix build breaker from refactoring.
* sample/Makefile.in : Build the menu sample on linux.
2002-05-28 Mike Kestner <mkestner@speakeasy.net> 2002-05-28 Mike Kestner <mkestner@speakeasy.net>
* makefile : add separate targets for native and platform * makefile : add separate targets for native and platform

View file

@ -55,9 +55,9 @@ namespace GtkSharp.Generation {
} }
if ((parms != null) && !parms.Validate ()) { if ((parms != null) && !parms.Validate ()) {
Console.WriteLine(" in callback " + CName); Console.WriteLine(" in callback " + CName + " **** Stubbing it out ****");
Statistics.ThrottledCount++; Statistics.ThrottledCount++;
return; parms = null;
} }
StreamWriter sw = CreateWriter (); StreamWriter sw = CreateWriter ();

View file

@ -6,7 +6,7 @@ windows:
$(CSC) /unsafe /out:gtk-hello-world.exe /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll /r:../gdk/gdk-sharp.dll HelloWorld.cs $(CSC) /unsafe /out:gtk-hello-world.exe /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll /r:../gdk/gdk-sharp.dll HelloWorld.cs
$(CSC) /unsafe /out:button.exe /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll ButtonApp.cs $(CSC) /unsafe /out:button.exe /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll ButtonApp.cs
linux: gtk-hello-world.exe button.exe linux: gtk-hello-world.exe button.exe menu.exe
gtk-hello-world.exe: HelloWorld.cs gtk-hello-world.exe: HelloWorld.cs
$(MCS) --unsafe -o gtk-hello-world.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp HelloWorld.cs $(MCS) --unsafe -o gtk-hello-world.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp HelloWorld.cs
@ -14,6 +14,9 @@ gtk-hello-world.exe: HelloWorld.cs
button.exe: ButtonApp.cs button.exe: ButtonApp.cs
$(MCS) --unsafe -o button.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp -r System.Drawing ButtonApp.cs $(MCS) --unsafe -o button.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp -r System.Drawing ButtonApp.cs
menu.exe: Menu.cs
$(MCS) --unsafe -o menu.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp -r System.Drawing Menu.cs
clean: clean:
rm -f *.exe rm -f *.exe