GtkSharp/makefile
Rachel Hestilow 0f652408ed 2002-08-23 Rachel Hestilow <hestilow@ximian.com>
* Applied patch from Robot101 for maintainer-clean, etc.
	Needed for packaging.

svn path=/trunk/gtk-sharp/; revision=6977
2002-08-23 21:22:16 +00:00

60 lines
1.2 KiB
Makefile

NATIVE_DIRS = glue parser
DIRS=generator api glib pango atk gdk art gtk glade 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 \
CSC=$(CSC) make -C $$i windows || exit 1; \
done;
unix:
@echo "'make unix' is broken for now."
linux: native binding
binding:
for i in $(DIRS); do \
MCS="$(MCS)" make -C $$i || exit 1;\
done;
native:
for i in $(NATIVE_DIRS); do \
make -C $$i || exit 1; \
done
clean:
for i in $(NATIVE_DIRS) $(DIRS); do \
make -C $$i clean || exit 1; \
done;
distclean: clean
for i in $(NATIVE_DIRS); do \
make -C $$i distclean || exit 1; \
done
for i in $(DIRS); do \
rm -f $$i/Makefile; \
done
rm -f config.cache config.h config.log config.status libtool
maintainer-clean: distclean
rm -f aclocal.m4 config.guess config.h.in config.sub
rm -f configure install-sh ltmain.sh missing
rm -f mkinstalldirs stamp-h glue/Makefile.in
install: install-native install-binding
install-binding:
for i in $(DIRS); do \
make -C $$i install || exit 1; \
done
install-native:
for i in $(NATIVE_DIRS); do \
make -C $$i install || exit 1; \
done