2002-03-02 Mike Kestner <mkestner@speakeasy.net>

* makefile : add linux build.
	* generator/makefile : add linux build.

svn path=/trunk/gtk-sharp/; revision=2839
This commit is contained in:
Mike Kestner 2002-03-02 12:04:46 +00:00
parent d5d3baa601
commit 7c31e5f7cb
4 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2002-03-02 Mike Kestner <mkestner@speakeasy.net>
* makefile : add linux build.
* generator/makefile : add linux build.
2002-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/BoxedGen.cs : Add ctor and method generation.

View File

@ -8,3 +8,4 @@ windows:
unix:
@echo "'make unix' is broken for now."
$(CSC) --unsafe --target=library --r=../glib/glib-sharp.dll --r=../pango/pango-sharp.dll --out=atk-sharp.dll --recurse=*.cs

View File

@ -1,11 +1,15 @@
all:
@echo "You must use 'make windows' or 'make unix'."
@echo "You must use 'make windows' or 'make linux'."
@echo "'make unix' is broken for now."
windows:
$(CSC) /unsafe /out:codegen.exe /recurse:*.cs
./codegen gtkapi.xml
linux:
mcs --unsafe -o codegen.exe -r System.Xml.dll *.cs
mono ./codegen.exe gtkapi.xml
unix:
@echo "'make unix' is broken for now."

View File

@ -1,15 +1,20 @@
DIRS=generator glib pango atk gdk gtk sample
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
CSC=$(ROOT)/microsoft.net/framework/v1.0.2914/csc.exe
all:
@echo "You must use 'make windows' or 'make unix'."
@echo "You must use 'make windows' or 'make linux'."
@echo "'make unix' is broken for now."
windows:
CSC=$(ROOT)/microsoft.net/framework/v1.0.2914/csc.exe
for i in $(DIRS); do \
(cd $$i; CSC=$(CSC) make windows) || exit 1;\
done;
unix:
@echo "'make unix' is broken for now."
linux:
for i in $(DIRS); do \
(cd $$i; make linux) || exit 1;\
done;