mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 08:05:36 +00:00
732cdf7729
* */Makefile.in : rework the prefix handling for duncan's packaging. svn path=/trunk/gtk-sharp/; revision=18778
23 lines
668 B
Makefile
Executable file
23 lines
668 B
Makefile
Executable file
MCS=mcs
|
|
DESTDIR=
|
|
prefix=@prefix@
|
|
|
|
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:art-sharp.dll /recurse:*.cs
|
|
|
|
linux: art-sharp.dll
|
|
|
|
art-sharp.dll: generated/*.cs
|
|
$(MCS) --unsafe -nowarn:0660,0661 --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 art-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
../mkinstalldirs $(DESTDIR)$(prefix)/lib && \
|
|
cp art-sharp.dll $(DESTDIR)$(prefix)/lib
|
|
|