mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-02-02 17:40:59 +00:00
2005-01-13 Zac Bowling <zac@zacbowling.com>
* makefile.win32 : new "gac" target for automatic for gacutil calls, added copying of gtk-sharp.snk to each folder being built to fix fresh builds and after cleaning, added support for switching C# compilers, and added handling of spaces in filenames for mcs builds * gtkdotnet/makefile.win32 : add one more reference to fix mcs builds. svn path=/trunk/gtk-sharp/; revision=38893
This commit is contained in:
parent
248af5d510
commit
bcaa204500
|
@ -1,3 +1,11 @@
|
||||||
|
2005-01-13 Zac Bowling <zac@zacbowling.com>
|
||||||
|
|
||||||
|
* makefile.win32 : new "gac" target for automatic for gacutil calls,
|
||||||
|
added copying of gtk-sharp.snk to each folder being built to fix fresh
|
||||||
|
builds and after cleaning, added support for switching C#
|
||||||
|
compilers, and added handling of spaces in filenames for mcs builds
|
||||||
|
* gtkdotnet/makefile.win32 : add one more reference to fix mcs builds.
|
||||||
|
|
||||||
2005-01-13 Mike Kestner <mkestner@novell.com>
|
2005-01-13 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* configure.in : make vte check conditional on gnome.
|
* configure.in : make vte check conditional on gnome.
|
||||||
|
|
|
@ -3,7 +3,7 @@ ASSEMBLY=gtk-dotnet.dll
|
||||||
all: windows
|
all: windows
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
$(CSC) /unsafe /nowarn:0660,0661 /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /out:$(ASSEMBLY) /recurse:*.cs
|
$(CSC) /unsafe /nowarn:0660,0661 /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:System.Drawing.dll /out:$(ASSEMBLY) /recurse:*.cs
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(ASSEMBLY)
|
rm -f $(ASSEMBLY)
|
||||||
|
|
|
@ -1,20 +1,39 @@
|
||||||
DIRS=generator parser glib pango atk gdk gtk glade gtkdotnet
|
DIRS=generator parser glib pango atk gdk gtk glade gtkdotnet
|
||||||
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
||||||
|
#pesky spaces - blame zbowling if this fails
|
||||||
|
PROGFILES=`cygpath \`cygpath -m -s "$(PROGRAMFILES)"\``
|
||||||
|
|
||||||
|
## --- C# Compiler ---
|
||||||
|
## Mono v1.1.3
|
||||||
|
#CSC=$(PROGFILES)/Mono-1.1.3/bin/mcs.bat /d:WIN32
|
||||||
|
##.NET v1.1.4322
|
||||||
|
#CSC=$(ROOT)/microsoft.net/framework/v1.1.4322/csc.exe /d:WIN32
|
||||||
|
##.NET v1.0.3705
|
||||||
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe /d:WIN32
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe /d:WIN32
|
||||||
|
|
||||||
|
## --- GACUTIL ---
|
||||||
|
## .NET gacutil
|
||||||
|
#GACUTIL=gacutil.exe
|
||||||
|
## Mono gacutil
|
||||||
|
GACUTIL=gacutil.bat
|
||||||
|
|
||||||
|
|
||||||
all: windows
|
all: windows
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
for i in $(DIRS); do \
|
for i in $(DIRS); do \
|
||||||
(cd $$i; CSC="$(CSC)" make -f makefile.win32) || exit 1;\
|
(cp gtk-sharp.snk $$i; cd $$i; CSC="$(CSC)" make -f makefile.win32) || exit 1;\
|
||||||
done;
|
done;
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
for i in $(DIRS); do \
|
for i in $(DIRS); do \
|
||||||
(cd $$i; make -f makefile.win32 clean) || exit 1;\
|
(cd $$i; make -f makefile.win32 clean) || exit 1;\
|
||||||
done;
|
done;
|
||||||
|
`rm -r lib`
|
||||||
|
|
||||||
release: clean windows
|
release: clean windows
|
||||||
mkdir lib
|
`mkdir -p lib`
|
||||||
find $(DIRS) -iname "*.dll" -exec cp \{\} lib \;
|
find $(DIRS) -iname "*.dll" -exec cp \{\} lib \;
|
||||||
|
|
||||||
|
gac: release
|
||||||
|
find -iname "*-sharp.dll" -exec $(GACUTIL) /i \{\} \;
|
||||||
|
|
Loading…
Reference in a new issue