GtkSharp/makefile
Rachel Hestilow 3bb3c5e4ff 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

41 lines
771 B
Makefile

DIRS=generator glib pango atk gdk gdk.imaging gtk sample
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
MCS=mcs
all: linux
windows:
for i in $(DIRS); do \
(cd $$i; CSC=$(CSC) make windows) || exit 1;\
done;
unix:
@echo "'make unix' is broken for now."
linux: native binding
binding:
for i in $(DIRS); do \
(cd $$i; MCS="$(MCS)" make) || exit 1;\
done;
native:
(cd glue; make) || exit 1;
clean:
(cd glue; make clean) || exit 1;
for i in $(DIRS); do \
(cd $$i; make clean) || exit 1; \
done;
install: install-native install-binding
install-binding:
for i in $(DIRS); do \
(cd $$i; make install) || exit 1; \
done;
install-native:
(cd glue; make install) || exit 1; \