414a14d93e
* glib/UnwrappedObject.cs: New class which holds an IntPtr. This is used in Value so that we can retrieve the IntPtr itself for an object property. * glib/Value.cs: Add UnwrappedObject cast operator. * glib/Property.cs: If the retrieved value is an object, and there is no wrapper object, create a new one. svn path=/trunk/gtk-sharp/; revision=5440
41 lines
765 B
Makefile
41 lines
765 B
Makefile
DIRS=generator glib pango atk gdk gtk gnome 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; \
|
|
|