mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 04:55:36 +00:00
0f652408ed
* Applied patch from Robot101 for maintainer-clean, etc. Needed for packaging. svn path=/trunk/gtk-sharp/; revision=6977
21 lines
591 B
Makefile
Executable file
21 lines
591 B
Makefile
Executable file
MCS=mcs
|
|
DESTDIR=
|
|
|
|
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 /r:../gdk/gdk-imaging-sharp.dll /out:gtk-sharp.dll /recurse:*.cs
|
|
|
|
linux: gtk-sharp.dll
|
|
|
|
gtk-sharp.dll: *.cs generated/*.cs
|
|
$(MCS) --unsafe --target library -r System.Drawing -L ../glib -L ../pango -L ../atk -L ../gdk -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r gdk-sharp.dll -o gtk-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
cp gtk-sharp.dll $(DESTDIR)@prefix@/lib
|
|
|