mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 15:45:40 +00:00
3fec7ca60a
* */Makefile.in: Don't allow the shell to do file globbing; makes --recurse work. * generator/ObjectGen.cs (GenProperty): We need to cast a GLib.Value to a GLib.Object and then to whatever it is, because explicit casts don't work to child classes. (GenSignal): Append "EventHandler" when generating signal handlers so we don't get symbol conflicts. svn path=/trunk/gtk-sharp/; revision=4414
19 lines
488 B
Makefile
Executable file
19 lines
488 B
Makefile
Executable file
MCS=mcs
|
|
|
|
all: linux
|
|
|
|
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: gtk-sharp.dll
|
|
|
|
gtk-sharp.dll: *.cs generated/*.cs
|
|
$(MCS) --unsafe --target library -L ../glib -L ../pango -L ../atk -L ../gdk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -o gtk-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
|
|
install: all
|
|
cp gtk-sharp.dll @prefix@/lib
|
|
|