GtkSharp/makefile
Rachel Hestilow d60309616b 2002-08-05 Rachel Hestilow <hestilow@ximian.com>
* makefile, */Makefile.in: Packaging fix from
	Robert McQueen (a.k.a. Robot101).

svn path=/trunk/gtk-sharp/; revision=6455
2002-08-06 02:07:10 +00:00

50 lines
927 B
Makefile

EXTRA_DIRS =
DIRS=generator glib pango atk gdk gtk 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; \