fa98aa165a
* autogen.sh : simple config for the glue build * configure.in : simple config for the glue build * makefile : add glue dir to build * glib/SList.cs : Fix some leakage. * glue/value.c : a helper function for heap alloc of GValues * glue/Makefile.am : build for libgtksharpglue svn path=/trunk/gtk-sharp/; revision=4042
23 lines
520 B
Makefile
23 lines
520 B
Makefile
DIRS=generator glib pango atk gdk gtk sample
|
|
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
|
|
MCS=mcs
|
|
|
|
all:
|
|
@echo "You must use 'make windows' or 'make linux'."
|
|
@echo "'make unix' is broken for now."
|
|
|
|
windows:
|
|
for i in $(DIRS); do \
|
|
(cd $$i; CSC=$(CSC) make windows) || exit 1;\
|
|
done;
|
|
|
|
unix:
|
|
@echo "'make unix' is broken for now."
|
|
|
|
linux:
|
|
(cd glue;make) || exit 1
|
|
for i in $(DIRS); do \
|
|
(cd $$i; MCS="$(MCS)" make linux) || exit 1;\
|
|
done;
|
|
|