2003-09-07 10:56:40 +00:00
|
|
|
DIRS=glue generator api glib pango atk gdk gtk glade
|
2002-05-02 21:57:41 +00:00
|
|
|
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
2002-10-27 02:30:51 +00:00
|
|
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe /d:WIN32
|
2002-05-02 21:57:41 +00:00
|
|
|
|
|
|
|
all: windows
|
|
|
|
|
|
|
|
windows:
|
|
|
|
for i in $(DIRS); do \
|
2002-10-27 02:30:51 +00:00
|
|
|
(cd $$i; CSC="$(CSC)" make -f makefile.win32) || exit 1;\
|
2002-05-02 21:57:41 +00:00
|
|
|
done;
|
|
|
|
|
2003-09-07 10:56:40 +00:00
|
|
|
clean:
|
|
|
|
rm -f api/generated-stamp
|
|
|
|
rm -rf lib
|
|
|
|
find -iname "*.exe" -exec rm -f \{\} \;
|
|
|
|
find -iname "*.dll" -exec rm -f \{\} \;
|
|
|
|
|
|
|
|
for i in $(DIRS); do \
|
|
|
|
rm -rf $$i/generated; \
|
|
|
|
done;
|
|
|
|
|
|
|
|
release: clean windows
|
|
|
|
mkdir lib
|
|
|
|
find $(DIRS) -iname "*.dll" -exec cp \{\} lib \;
|
|
|
|
|
2002-06-22 22:12:51 +00:00
|
|
|
docs:
|
|
|
|
for i in $(DIRS); do \
|
2002-10-27 02:30:51 +00:00
|
|
|
(cd $$i; CSC="$(CSC)" make -f makefile.win32 docs) || exit 1;\
|
2002-06-22 22:12:51 +00:00
|
|
|
done;
|
|
|
|
|