mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 17:05:38 +00:00
bd5af2ca78
* makefile.win32 : remove 1.0 csc, default to 1.1. * gtk/TreeEnumerator.cs : remove C# 2.0 usage. * gtk/glue/makefile.win32 : remove duplicated cellrenderer.o. * vte/glue/Makefile.am : use VTE_DEPENDENCIES_CFLAGS. * */makefile.win32 : add glue args to generation target. svn path=/trunk/gtk-sharp/; revision=44580
38 lines
887 B
Plaintext
Executable file
38 lines
887 B
Plaintext
Executable file
DIRS=generator parser glib pango atk gdk gtk glade gtkdotnet
|
|
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
|
|
|
|
## --- GACUTIL ---
|
|
## .NET gacutil
|
|
#GACUTIL=gacutil.exe
|
|
## Mono gacutil
|
|
GACUTIL=gacutil.bat
|
|
|
|
|
|
all: windows
|
|
|
|
windows:
|
|
for i in $(DIRS); do \
|
|
(cp gtk-sharp.snk $$i; cd $$i; CSC="$(CSC)" make -f makefile.win32) || exit 1;\
|
|
done;
|
|
|
|
clean:
|
|
for i in $(DIRS); do \
|
|
(cd $$i; make -f makefile.win32 clean) || exit 1;\
|
|
done;
|
|
`rm -r lib`
|
|
|
|
release: clean windows
|
|
`mkdir -p lib`
|
|
find $(DIRS) -iname "*.dll" -exec cp \{\} lib \;
|
|
|
|
gac: release
|
|
find -iname "*-sharp.dll" -exec $(GACUTIL) /i \{\} \;
|