mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Rachel Hestilow](/assets/img/avatar_default.png)
[ Patch from Ricardo Fernandez Pascual <rfp1@ono.com> for libglade support (slightly modified) ] * configure.in: Conditionally compile glade support. * makefile: Add glade directory. * glade/: Added. * sample/makefile.in: Add (conditional) glade example. * sample/GladeViewer.cs: Added. * glue/gladexml.c: Added. * glue/Makefile.am: Updated. * parser/build.pl: Parse libglade-2.0.0. * parser/README: Update requirements. 2002-08-12 Rachel Hestilow <hestilow@ximian.com> * parser/gapi_pp.pl: Handle "typedef struct {...}" construct. * glue/canvaspoints.c: Added. * glue/Makefile.am: Updated. * gnome/CanvasPoints.custom: Added. (Doesn't seem to work right yet, looking into this.) svn path=/trunk/gtk-sharp/; revision=6601
50 lines
933 B
Makefile
50 lines
933 B
Makefile
EXTRA_DIRS =
|
|
|
|
DIRS=generator glib pango atk gdk gtk glade 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:
|
|
for i in glue $(DIRS); do \
|
|
(cd $$i; make clean) || exit 1; \
|
|
done;
|
|
|
|
distclean: clean
|
|
(cd glue; make distclean) || exit 1;
|
|
for i in $(DIRS); do \
|
|
rm -f $$i/Makefile; \
|
|
done
|
|
rm -f config.cache config.h config.log config.status libtool
|
|
|
|
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; \
|
|
|