2002-08-20 20:35:42 +00:00
|
|
|
NATIVE_DIRS = glue parser
|
2002-07-05 20:22:21 +00:00
|
|
|
|
2003-01-09 22:54:37 +00:00
|
|
|
DIRS=generator api glib pango atk gdk gtk glade art gnome gda gnomedb gconf 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:
|
2002-08-23 21:22:16 +00:00
|
|
|
for i in $(DIRS); do \
|
2002-08-25 06:14:46 +00:00
|
|
|
CSC=$(CSC) $(MAKE) -C $$i windows || exit 1; \
|
2001-09-27 17:17:33 +00:00
|
|
|
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-08-25 06:14:46 +00:00
|
|
|
MCS="$(MCS)" $(MAKE) -C $$i || exit 1;\
|
2002-05-02 21:57:41 +00:00
|
|
|
done;
|
|
|
|
|
2002-05-28 21:19:04 +00:00
|
|
|
native:
|
2002-08-23 21:22:16 +00:00
|
|
|
for i in $(NATIVE_DIRS); do \
|
2002-08-25 06:14:46 +00:00
|
|
|
$(MAKE) -C $$i || exit 1; \
|
2002-08-20 20:35:42 +00:00
|
|
|
done
|
2002-05-28 21:19:04 +00:00
|
|
|
|
2002-05-08 00:29:51 +00:00
|
|
|
clean:
|
2002-08-23 21:22:16 +00:00
|
|
|
for i in $(NATIVE_DIRS) $(DIRS); do \
|
2002-08-25 06:14:46 +00:00
|
|
|
$(MAKE) -C $$i clean || exit 1; \
|
2002-05-08 00:29:51 +00:00
|
|
|
done;
|
|
|
|
|
2002-08-06 02:07:10 +00:00
|
|
|
distclean: clean
|
2002-08-23 21:22:16 +00:00
|
|
|
for i in $(NATIVE_DIRS); do \
|
2002-08-25 06:14:46 +00:00
|
|
|
$(MAKE) -C $$i distclean || exit 1; \
|
2002-08-20 20:35:42 +00:00
|
|
|
done
|
2002-08-06 02:07:10 +00:00
|
|
|
for i in $(DIRS); do \
|
2002-12-22 05:08:52 +00:00
|
|
|
$(MAKE) -C $$i distclean || true; \
|
2002-08-06 02:07:10 +00:00
|
|
|
rm -f $$i/Makefile; \
|
|
|
|
done
|
|
|
|
rm -f config.cache config.h config.log config.status libtool
|
|
|
|
|
2002-08-23 21:22:16 +00:00
|
|
|
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
|
|
|
|
|
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 \
|
2002-08-25 06:14:46 +00:00
|
|
|
$(MAKE) -C $$i install || exit 1; \
|
2002-08-23 21:22:16 +00:00
|
|
|
done
|
2002-04-25 09:17:54 +00:00
|
|
|
|
2002-05-28 21:19:04 +00:00
|
|
|
install-native:
|
2002-08-23 21:22:16 +00:00
|
|
|
for i in $(NATIVE_DIRS); do \
|
2002-08-25 06:14:46 +00:00
|
|
|
$(MAKE) -C $$i install || exit 1; \
|
2002-08-20 20:35:42 +00:00
|
|
|
done
|