2002-05-02 21:57:41 +00:00
|
|
|
MCS=mcs
|
|
|
|
|
2002-08-16 05:00:31 +00:00
|
|
|
@ENABLE_GNOME_TRUE@ GNOME_PATH=-L ../art -L ../gnome
|
|
|
|
@ENABLE_GNOME_TRUE@ GNOME_ASSEMBLY=-r art-sharp.dll -r gnome-sharp.dll
|
2002-08-06 21:56:57 +00:00
|
|
|
@ENABLE_GNOME_TRUE@ GNOME_TARGETS=gnome-hello-world.exe canvas-example.exe fifteen.exe
|
2002-07-05 20:22:21 +00:00
|
|
|
|
2002-08-12 19:14:44 +00:00
|
|
|
@ENABLE_GLADE_TRUE@ GLADE_PATH=-L ../glade
|
|
|
|
@ENABLE_GLADE_TRUE@ GLADE_ASSEMBLY=-r glade-sharp.dll
|
2002-09-13 11:38:36 +00:00
|
|
|
@ENABLE_GLADE_TRUE@ GLADE_TARGETS=glade-viewer.exe glade-test.exe
|
2002-08-12 19:14:44 +00:00
|
|
|
|
|
|
|
local_paths=-L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk $(GNOME_PATH) $(GLADE_PATH)
|
|
|
|
all_assemblies=-r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r gdk-sharp.dll -r gtk-sharp.dll $(GNOME_ASSEMBLY) $(GLADE_ASSEMBLY) -r System.Drawing
|
2002-06-21 20:58:07 +00:00
|
|
|
|
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
all: linux
|
|
|
|
|
|
|
|
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:button.exe /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll ButtonApp.cs
|
|
|
|
|
2002-08-12 19:14:44 +00:00
|
|
|
linux: gtk-hello-world.exe button.exe menu.exe size.exe scribble.exe treeviewdemo.exe $(GNOME_TARGETS) $(GLADE_TARGETS)
|
2002-05-02 21:57:41 +00:00
|
|
|
|
|
|
|
gtk-hello-world.exe: HelloWorld.cs
|
2002-06-21 20:58:07 +00:00
|
|
|
$(MCS) --unsafe -o gtk-hello-world.exe $(local_paths) $(all_assemblies) HelloWorld.cs
|
2002-05-02 21:57:41 +00:00
|
|
|
|
2002-06-26 Rachel Hestilow <hestilow@ximian.com>
* configure.in, makefile, makefile.win32: add gnome.
* doc/index.html, netdoc.xsl: Add gnome.
* gdk/Event.cs: New manual wrap for GdkEvent.
* generator/ClassBase.cs: Add methods GetProperty,
GetPropertyRecursively, GetMethodRecursively.
Move Parent property here from ObjectGen.cs. Pass this pointer
into Property.
* generator/Ctor.cs: Generate docs.
* generator/Method.cs, Property.cs: Tag method as "new" if a
Method/Property with the same name is found in the class hierarchy.
* generator/SignalHandler.cs: Correctly wrap complex signal argument
types. Add gnome directory.
* generator/SymbolTable.cs: Add manually wrapped types hash
(contains GLib.GSList and Gdk.Event). Add method IsManuallyWrapped.
* glib/SList.cs: Add constructor from IntPtr.
* glue/slist.c, glue/event.c: Added (field accessor glue).
* glue/Makefile.am: Update.
* parser/Gtk.metadata: Add new signal renames for new signals
exposed by GdkEvent changes.
* parser/README, parser/build.pl: Add libgnome, libgnomecanvas,
libgnomeui.
* parser/gapi2xml.pl: Handle literal-length array parameters,
and NULL property doc strings.
* sample/: Add new test GnomeHelloWorld.cs.
* gnome/: Added.
* parser/Gnome.metadata: Added.
svn path=/trunk/gtk-sharp/; revision=5461
2002-06-26 08:36:05 +00:00
|
|
|
gnome-hello-world.exe: GnomeHelloWorld.cs
|
|
|
|
$(MCS) --unsafe -o gnome-hello-world.exe $(local_paths) $(all_assemblies) GnomeHelloWorld.cs
|
|
|
|
|
2002-08-06 00:15:18 +00:00
|
|
|
canvas-example.exe: CanvasExample.cs
|
|
|
|
$(MCS) --unsafe -o canvas-example.exe $(local_paths) $(all_assemblies) CanvasExample.cs
|
|
|
|
|
2002-08-06 21:56:57 +00:00
|
|
|
fifteen.exe: Fifteen.cs
|
|
|
|
$(MCS) --unsafe -o fifteen.exe $(local_paths) $(all_assemblies) Fifteen.cs
|
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
button.exe: ButtonApp.cs
|
2002-06-21 20:58:07 +00:00
|
|
|
$(MCS) --unsafe -o button.exe $(local_paths) $(all_assemblies) ButtonApp.cs
|
2002-05-02 21:57:41 +00:00
|
|
|
|
2002-05-29 08:13:46 +00:00
|
|
|
menu.exe: Menu.cs
|
2002-06-21 20:58:07 +00:00
|
|
|
$(MCS) --unsafe -o menu.exe $(local_paths) $(all_assemblies) Menu.cs
|
2002-05-29 08:13:46 +00:00
|
|
|
|
2002-08-03 22:24:37 +00:00
|
|
|
size.exe: Size.cs
|
|
|
|
$(MCS) --unsafe -o size.exe $(local_paths) $(all_assemblies) Size.cs
|
|
|
|
|
|
|
|
scribble.exe: Scribble.cs
|
|
|
|
$(MCS) --unsafe -o scribble.exe $(local_paths) $(all_assemblies) Scribble.cs
|
|
|
|
|
2002-08-10 19:15:58 +00:00
|
|
|
treeviewdemo.exe: TreeViewDemo.cs
|
|
|
|
$(MCS) --unsafe -o treeviewdemo.exe $(local_paths) $(all_assemblies) TreeViewDemo.cs
|
|
|
|
|
2002-08-12 19:14:44 +00:00
|
|
|
glade-viewer.exe: GladeViewer.cs
|
|
|
|
$(MCS) --unsafe -o glade-viewer.exe $(local_paths) $(all_assemblies) GladeViewer.cs
|
|
|
|
|
2002-09-15 19:40:46 +00:00
|
|
|
glade-test.exe: GladeTest.cs test.glade
|
|
|
|
$(MCS) --unsafe -resource:test.glade -o glade-test.exe $(local_paths) $(all_assemblies) GladeTest.cs
|
2002-09-13 11:38:36 +00:00
|
|
|
|
2002-05-08 00:29:51 +00:00
|
|
|
clean:
|
|
|
|
rm -f *.exe
|
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
unix:
|
|
|
|
@echo "'make unix' is broken for now."
|
|
|
|
|
2002-06-21 20:25:43 +00:00
|
|
|
install: linux
|
|
|
|
@echo "Nothing to install."
|
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
|