2002-05-28 21:19:04 +00:00
|
|
|
DIRS=generator glib pango atk gdk 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; \
|
|
|
|
|