2002-07-05 22:22:21 +02:00
|
|
|
EXTRA_DIRS =
|
|
|
|
|
2002-08-12 21:14:44 +02:00
|
|
|
DIRS=generator glib pango atk gdk gtk glade gnome sample
|
2001-12-01 15:32:35 +01:00
|
|
|
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
2002-03-24 18:04:25 +01:00
|
|
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
|
2002-04-18 23:46:56 +02:00
|
|
|
MCS=mcs
|
2001-09-27 19:17:33 +02:00
|
|
|
|
2002-05-02 23:57:41 +02:00
|
|
|
all: linux
|
2001-09-27 19:17:33 +02: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 13:04:46 +01:00
|
|
|
|
2002-05-28 23:19:04 +02:00
|
|
|
linux: native binding
|
|
|
|
|
|
|
|
binding:
|
2002-03-02 13:04:46 +01:00
|
|
|
for i in $(DIRS); do \
|
2002-05-02 23:57:41 +02:00
|
|
|
(cd $$i; MCS="$(MCS)" make) || exit 1;\
|
|
|
|
done;
|
|
|
|
|
2002-05-28 23:19:04 +02:00
|
|
|
native:
|
|
|
|
(cd glue; make) || exit 1;
|
|
|
|
|
2002-05-08 02:29:51 +02:00
|
|
|
clean:
|
2002-08-06 04:07:10 +02:00
|
|
|
for i in glue $(DIRS); do \
|
2002-05-08 02:29:51 +02:00
|
|
|
(cd $$i; make clean) || exit 1; \
|
|
|
|
done;
|
|
|
|
|
2002-08-06 04:07:10 +02:00
|
|
|
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
|
|
|
|
|
2002-05-28 23:19:04 +02:00
|
|
|
install: install-native install-binding
|
|
|
|
|
|
|
|
install-binding:
|
2002-05-02 23:57:41 +02:00
|
|
|
for i in $(DIRS); do \
|
|
|
|
(cd $$i; make install) || exit 1; \
|
2002-03-02 13:04:46 +01:00
|
|
|
done;
|
2002-04-25 11:17:54 +02:00
|
|
|
|
2002-05-28 23:19:04 +02:00
|
|
|
install-native:
|
|
|
|
(cd glue; make install) || exit 1; \
|
|
|
|
|