2002-04-18 Joe Shaw <joe@assbarn.com>
* */makefile: Allow a different MCS to be passed in on the make command line. svn path=/trunk/gtk-sharp/; revision=3902
This commit is contained in:
parent
87bc26395a
commit
e966ffb7f7
8 changed files with 20 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-04-18 Joe Shaw <joe@assbarn.com>
|
||||||
|
|
||||||
|
* */makefile: Allow a different MCS to be passed in on the make
|
||||||
|
command line.
|
||||||
|
|
||||||
2002-04-09 Mike Kestner <mkestner@speakeasy.net>
|
2002-04-09 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
* tagging for gtk-sharp-0.1
|
* tagging for gtk-sharp-0.1
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
MCS=mcs
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo "You must use 'make windows' or 'make unix'."
|
@echo "You must use 'make windows' or 'make unix'."
|
||||||
|
@ -7,7 +8,7 @@ windows:
|
||||||
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /out:atk-sharp.dll /recurse:*.cs
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /out:atk-sharp.dll /recurse:*.cs
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
mcs --unsafe --target library -r ../glib/glib-sharp.dll -r ../pango/pango-sharp.dll -o atk-sharp.dll --recurse *.cs
|
$(MCS) --unsafe --target library -r ../glib/glib-sharp.dll -r ../pango/pango-sharp.dll -o atk-sharp.dll --recurse *.cs
|
||||||
|
|
||||||
unix:
|
unix:
|
||||||
@echo "'make unix' is broken for now."
|
@echo "'make unix' is broken for now."
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
MCS=mcs
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo "You must use 'make windows' or 'make unix'."
|
@echo "You must use 'make windows' or 'make unix'."
|
||||||
|
@ -7,7 +8,7 @@ windows:
|
||||||
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /out:gdk-sharp.dll /recurse:*.cs
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /out:gdk-sharp.dll /recurse:*.cs
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
mcs --unsafe --target library -r ../glib/glib-sharp.dll -r ../pango/pango-sharp.dll -r ../atk/atk-sharp.dll -o gdk-sharp.dll --recurse *.cs
|
$(MCS) --unsafe --target library -r ../glib/glib-sharp.dll -r ../pango/pango-sharp.dll -r ../atk/atk-sharp.dll -o gdk-sharp.dll --recurse *.cs
|
||||||
|
|
||||||
unix:
|
unix:
|
||||||
@echo "'make unix' is broken for now."
|
@echo "'make unix' is broken for now."
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
MCS=mcs
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo "You must use 'make windows' or 'make linux'."
|
@echo "You must use 'make windows' or 'make linux'."
|
||||||
|
@ -8,7 +9,7 @@ windows:
|
||||||
./codegen gtkapi.xml
|
./codegen gtkapi.xml
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
mcs --unsafe -o codegen.exe -r System.Xml.dll *.cs
|
$(MCS) --unsafe -o codegen.exe -r System.Xml.dll *.cs
|
||||||
mono ./codegen.exe gtkapi.xml
|
mono ./codegen.exe gtkapi.xml
|
||||||
|
|
||||||
unix:
|
unix:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
MCS=mcs
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo "You must use 'make windows' or 'make unix'."
|
@echo "You must use 'make windows' or 'make unix'."
|
||||||
|
@ -7,7 +8,7 @@ windows:
|
||||||
$(CSC) /unsafe /target:library /out:glib-sharp.dll /recurse:*.cs
|
$(CSC) /unsafe /target:library /out:glib-sharp.dll /recurse:*.cs
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
mcs --unsafe --target library -o glib-sharp.dll --recurse *.cs
|
$(MCS) --unsafe --target library -o glib-sharp.dll --recurse *.cs
|
||||||
|
|
||||||
unix:
|
unix:
|
||||||
@echo "'make unix' is broken for now."
|
@echo "'make unix' is broken for now."
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
MCS=mcs
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo "You must use 'make windows' or 'make unix'."
|
@echo "You must use 'make windows' or 'make unix'."
|
||||||
@echo "'make unix' is broken for now."
|
@echo "'make unix' is broken for now."
|
||||||
|
@ -6,7 +8,7 @@ windows:
|
||||||
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /out:gtk-sharp.dll /recurse:*.cs
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /out:gtk-sharp.dll /recurse:*.cs
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
mcs --unsafe --target library -r ../glib/glib-sharp.dll -r ../pango/pango-sharp.dll -r ../atk/atk-sharp.dll -r ../gdk/gdk-sharp.dll -o gtk-sharp.dll --recurse *.cs
|
$(MCS) --unsafe --target library -r ../glib/glib-sharp.dll -r ../pango/pango-sharp.dll -r ../atk/atk-sharp.dll -r ../gdk/gdk-sharp.dll -o gtk-sharp.dll --recurse *.cs
|
||||||
|
|
||||||
unix:
|
unix:
|
||||||
@echo "'make unix' is broken for now."
|
@echo "'make unix' is broken for now."
|
||||||
|
|
3
makefile
3
makefile
|
@ -1,6 +1,7 @@
|
||||||
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.3705/csc.exe
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
|
||||||
|
MCS=mcs
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo "You must use 'make windows' or 'make linux'."
|
@echo "You must use 'make windows' or 'make linux'."
|
||||||
|
@ -16,5 +17,5 @@ unix:
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
for i in $(DIRS); do \
|
for i in $(DIRS); do \
|
||||||
(cd $$i; make linux) || exit 1;\
|
(cd $$i; MCS="$(MCS)" make linux) || exit 1;\
|
||||||
done;
|
done;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
MCS=mcs
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo "You must use 'make windows' or 'make unix'."
|
@echo "You must use 'make windows' or 'make unix'."
|
||||||
|
@ -7,7 +8,7 @@ windows:
|
||||||
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /out:pango-sharp.dll /recurse:*.cs
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /out:pango-sharp.dll /recurse:*.cs
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
mcs --unsafe --target library -r ../glib/glib-sharp.dll -o pango-sharp.dll --recurse *.cs
|
$(MCS) --unsafe --target library -r ../glib/glib-sharp.dll -o pango-sharp.dll --recurse *.cs
|
||||||
|
|
||||||
unix:
|
unix:
|
||||||
@echo "'make unix' is broken for now."
|
@echo "'make unix' is broken for now."
|
||||||
|
|
Loading…
Reference in a new issue