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 18:27:04 +00:00
|
|
|
DIRS=generator glib pango atk gdk gdk.imaging gtk sample
|
2001-12-01 14:32:35 +00:00
|
|
|
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
2002-03-24 17:04:25 +00:00
|
|
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
|
2002-04-18 21:46:56 +00:00
|
|
|
MCS=mcs
|
2001-09-27 17:17:33 +00:00
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
all: linux
|
2001-09-27 17:17:33 +00: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 12:04:46 +00:00
|
|
|
|
2002-05-28 21:19:04 +00:00
|
|
|
linux: native binding
|
|
|
|
|
|
|
|
binding:
|
2002-03-02 12:04:46 +00:00
|
|
|
for i in $(DIRS); do \
|
2002-05-02 21:57:41 +00:00
|
|
|
(cd $$i; MCS="$(MCS)" make) || exit 1;\
|
|
|
|
done;
|
|
|
|
|
2002-05-28 21:19:04 +00:00
|
|
|
native:
|
|
|
|
(cd glue; make) || exit 1;
|
|
|
|
|
2002-05-08 00:29:51 +00:00
|
|
|
clean:
|
2002-05-28 21:19:04 +00:00
|
|
|
(cd glue; make clean) || exit 1;
|
2002-05-08 00:29:51 +00:00
|
|
|
for i in $(DIRS); do \
|
|
|
|
(cd $$i; make clean) || exit 1; \
|
|
|
|
done;
|
|
|
|
|
2002-05-28 21:19:04 +00:00
|
|
|
install: install-native install-binding
|
|
|
|
|
|
|
|
install-binding:
|
2002-05-02 21:57:41 +00:00
|
|
|
for i in $(DIRS); do \
|
|
|
|
(cd $$i; make install) || exit 1; \
|
2002-03-02 12:04:46 +00:00
|
|
|
done;
|
2002-04-25 09:17:54 +00:00
|
|
|
|
2002-05-28 21:19:04 +00:00
|
|
|
install-native:
|
|
|
|
(cd glue; make install) || exit 1; \
|
|
|
|
|