2002-06-14 Rachel Hestilow <hestilow@ximian.com>
* glib/GException.cs: Added.
* generator/Ctor.cs, Method.cs: Tag function as unsafe if it throws
an exception. Call parms.HandleException.
* generator/Paramaters.cs: Add property ThrowsException (based
on a trailing GError**). If ThrowsException, mask GError in the
signature, initialize a GError in Initialize, and add new method
HandleException to throw an exception if error != null.
* generator/SymbolTable.cs: Add gdk-pixbuf DLL, and GError type.
* gdk.imaging, gdk.imaging/Makefile.in, gdk.imaging/makefile.win32:
Added.
* configure.in, Makefile, makefile.win32: Build gdk.imaging.
* gtk/Makefile.in, gtk/makefile.win32: Link against gdk.imaging.
* parser/gapi2xml.pl: Support namespace renaming.
* parser/build.pl: Build gdk-pixbuf as gdk.imaging.
svn path=/trunk/gtk-sharp/; revision=5281
2002-06-14 20:27:04 +02:00
|
|
|
DIRS=generator glib pango atk gdk gdk.imaging gtk sample
|
2001-12-01 15:32:35 +01:00
|
|
|
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
2002-03-24 18:04:25 +01:00
|
|
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
|
2002-04-18 23:46:56 +02:00
|
|
|
MCS=mcs
|
2001-09-27 19:17:33 +02:00
|
|
|
|
2002-05-02 23:57:41 +02:00
|
|
|
all: linux
|
2001-09-27 19:17:33 +02:00
|
|
|
|
|
|
|
windows:
|
|
|
|
for i in $(DIRS); do \
|
|
|
|
(cd $$i; CSC=$(CSC) make windows) || exit 1;\
|
|
|
|
done;
|
|
|
|
|
|
|
|
unix:
|
|
|
|
@echo "'make unix' is broken for now."
|
2002-03-02 13:04:46 +01:00
|
|
|
|
2002-05-28 23:19:04 +02:00
|
|
|
linux: native binding
|
|
|
|
|
|
|
|
binding:
|
2002-03-02 13:04:46 +01:00
|
|
|
for i in $(DIRS); do \
|
2002-05-02 23:57:41 +02:00
|
|
|
(cd $$i; MCS="$(MCS)" make) || exit 1;\
|
|
|
|
done;
|
|
|
|
|
2002-05-28 23:19:04 +02:00
|
|
|
native:
|
|
|
|
(cd glue; make) || exit 1;
|
|
|
|
|
2002-05-08 02:29:51 +02:00
|
|
|
clean:
|
2002-05-28 23:19:04 +02:00
|
|
|
(cd glue; make clean) || exit 1;
|
2002-05-08 02:29:51 +02:00
|
|
|
for i in $(DIRS); do \
|
|
|
|
(cd $$i; make clean) || exit 1; \
|
|
|
|
done;
|
|
|
|
|
2002-05-28 23:19:04 +02:00
|
|
|
install: install-native install-binding
|
|
|
|
|
|
|
|
install-binding:
|
2002-05-02 23:57:41 +02:00
|
|
|
for i in $(DIRS); do \
|
|
|
|
(cd $$i; make install) || exit 1; \
|
2002-03-02 13:04:46 +01:00
|
|
|
done;
|
2002-04-25 11:17:54 +02:00
|
|
|
|
2002-05-28 23:19:04 +02:00
|
|
|
install-native:
|
|
|
|
(cd glue; make install) || exit 1; \
|
|
|
|
|