2002-05-28 Mike Kestner <mkestner@speakeasy.net>

* makefile : add separate targets for native and platform
	  independent products per request from debian packager
	  Alp Toker <alp@atoker.com>

svn path=/trunk/gtk-sharp/; revision=4998
This commit is contained in:
Mike Kestner 2002-05-28 21:19:04 +00:00
parent c6304b4576
commit 177ce885ad
2 changed files with 20 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2002-05-28 Mike Kestner <mkestner@speakeasy.net>
* makefile : add separate targets for native and platform
independent products per request from debian packager
Alp Toker <alp@atoker.com>
2002-05-26 Mike Kestner <mkestner@speakeasy.net> 2002-05-26 Mike Kestner <mkestner@speakeasy.net>
* generator/Parser.cs : Implement Alias node parsing. * generator/Parser.cs : Implement Alias node parsing.

View file

@ -1,4 +1,4 @@
DIRS=glue generator glib pango atk gdk gtk sample DIRS=generator glib pango atk gdk gtk sample
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT))) ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
MCS=mcs MCS=mcs
@ -13,18 +13,29 @@ windows:
unix: unix:
@echo "'make unix' is broken for now." @echo "'make unix' is broken for now."
linux: linux: native binding
binding:
for i in $(DIRS); do \ for i in $(DIRS); do \
(cd $$i; MCS="$(MCS)" make) || exit 1;\ (cd $$i; MCS="$(MCS)" make) || exit 1;\
done; done;
native:
(cd glue; make) || exit 1;
clean: clean:
(cd glue; make clean) || exit 1;
for i in $(DIRS); do \ for i in $(DIRS); do \
(cd $$i; make clean) || exit 1; \ (cd $$i; make clean) || exit 1; \
done; done;
install: install: install-native install-binding
install-binding:
for i in $(DIRS); do \ for i in $(DIRS); do \
(cd $$i; make install) || exit 1; \ (cd $$i; make install) || exit 1; \
done; done;
install-native:
(cd glue; make install) || exit 1; \