diff --git a/ChangeLog b/ChangeLog index 1045e8f72..402dafd7b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-03-02 Mike Kestner + + * makefile : add linux build. + * generator/makefile : add linux build. + 2002-02-19 Mike Kestner * generator/BoxedGen.cs : Add ctor and method generation. diff --git a/atk/makefile b/atk/makefile index a5ba1a04a..19602122d 100644 --- a/atk/makefile +++ b/atk/makefile @@ -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 diff --git a/generator/makefile b/generator/makefile index d5bf272ea..31ecc0d8e 100644 --- a/generator/makefile +++ b/generator/makefile @@ -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." - diff --git a/makefile b/makefile index c79645fad..f21b10930 100644 --- a/makefile +++ b/makefile @@ -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;