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:
Joe Shaw 2002-04-18 21:46:56 +00:00
parent 87bc26395a
commit e966ffb7f7
8 changed files with 20 additions and 7 deletions

View file

@ -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>
* tagging for gtk-sharp-0.1

View file

@ -1,3 +1,4 @@
MCS=mcs
all:
@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
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:
@echo "'make unix' is broken for now."

View file

@ -1,3 +1,4 @@
MCS=mcs
all:
@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
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:
@echo "'make unix' is broken for now."

View file

@ -1,3 +1,4 @@
MCS=mcs
all:
@echo "You must use 'make windows' or 'make linux'."
@ -8,7 +9,7 @@ windows:
./codegen gtkapi.xml
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
unix:

View file

@ -1,3 +1,4 @@
MCS=mcs
all:
@echo "You must use 'make windows' or 'make unix'."
@ -7,7 +8,7 @@ windows:
$(CSC) /unsafe /target:library /out:glib-sharp.dll /recurse:*.cs
linux:
mcs --unsafe --target library -o glib-sharp.dll --recurse *.cs
$(MCS) --unsafe --target library -o glib-sharp.dll --recurse *.cs
unix:
@echo "'make unix' is broken for now."

View file

@ -1,3 +1,5 @@
MCS=mcs
all:
@echo "You must use 'make windows' or 'make unix'."
@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
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:
@echo "'make unix' is broken for now."

View file

@ -1,6 +1,7 @@
DIRS=generator glib pango atk gdk gtk sample
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
MCS=mcs
all:
@echo "You must use 'make windows' or 'make linux'."
@ -16,5 +17,5 @@ unix:
linux:
for i in $(DIRS); do \
(cd $$i; make linux) || exit 1;\
(cd $$i; MCS="$(MCS)" make linux) || exit 1;\
done;

View file

@ -1,3 +1,4 @@
MCS=mcs
all:
@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
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:
@echo "'make unix' is broken for now."