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:
parent
d5d3baa601
commit
7c31e5f7cb
4 changed files with 19 additions and 4 deletions
|
@ -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>
|
2002-02-19 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
* generator/BoxedGen.cs : Add ctor and method generation.
|
* generator/BoxedGen.cs : Add ctor and method generation.
|
||||||
|
|
|
@ -8,3 +8,4 @@ windows:
|
||||||
|
|
||||||
unix:
|
unix:
|
||||||
@echo "'make unix' is broken for now."
|
@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
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
|
|
||||||
all:
|
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."
|
@echo "'make unix' is broken for now."
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
$(CSC) /unsafe /out:codegen.exe /recurse:*.cs
|
$(CSC) /unsafe /out:codegen.exe /recurse:*.cs
|
||||||
./codegen gtkapi.xml
|
./codegen gtkapi.xml
|
||||||
|
|
||||||
|
linux:
|
||||||
|
mcs --unsafe -o codegen.exe -r System.Xml.dll *.cs
|
||||||
|
mono ./codegen.exe gtkapi.xml
|
||||||
|
|
||||||
unix:
|
unix:
|
||||||
@echo "'make unix' is broken for now."
|
@echo "'make unix' is broken for now."
|
||||||
|
|
||||||
|
|
9
makefile
9
makefile
|
@ -1,15 +1,20 @@
|
||||||
DIRS=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.2914/csc.exe
|
|
||||||
|
|
||||||
all:
|
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."
|
@echo "'make unix' is broken for now."
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.2914/csc.exe
|
||||||
for i in $(DIRS); do \
|
for i in $(DIRS); do \
|
||||||
(cd $$i; CSC=$(CSC) make windows) || exit 1;\
|
(cd $$i; CSC=$(CSC) make windows) || exit 1;\
|
||||||
done;
|
done;
|
||||||
|
|
||||||
unix:
|
unix:
|
||||||
@echo "'make unix' is broken for now."
|
@echo "'make unix' is broken for now."
|
||||||
|
|
||||||
|
linux:
|
||||||
|
for i in $(DIRS); do \
|
||||||
|
(cd $$i; make linux) || exit 1;\
|
||||||
|
done;
|
||||||
|
|
Loading…
Reference in a new issue