2002-05-02 21:57:41 +00:00
|
|
|
MCS=mcs
|
|
|
|
|
2002-07-05 20:22:21 +00:00
|
|
|
@ENABLE_GNOME_TRUE@ GNOME_PATH=-L ../gnome
|
|
|
|
@ENABLE_GNOME_TRUE@ GNOME_ASSEMBLY=-r gnome-sharp
|
|
|
|
@ENABLE_GNOME_TRUE@ GNOME_TARGETS=gnome-hello-world.exe
|
|
|
|
|
|
|
|
local_paths=-L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk $(GNOME_PATH)
|
|
|
|
all_assemblies=-r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp $(GNOME_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-07-05 20:22:21 +00:00
|
|
|
linux: gtk-hello-world.exe button.exe menu.exe $(GNOME_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-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-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
|
|
|
|