mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 03:25:36 +00:00
732cdf7729
* */Makefile.in : rework the prefix handling for duncan's packaging. svn path=/trunk/gtk-sharp/; revision=18778
23 lines
516 B
Makefile
23 lines
516 B
Makefile
MCS=mcs
|
|
DESTDIR=
|
|
prefix=@prefix@
|
|
|
|
all: linux
|
|
|
|
windows:
|
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /out:atk-sharp.dll /recurse:*.cs
|
|
|
|
linux: atk-sharp.dll
|
|
|
|
atk-sharp.dll: generated/*.cs
|
|
$(MCS) --unsafe -nowarn:0660,0661 --target library -L ../glib -L ../pango -r glib-sharp.dll -r pango-sharp.dll -o atk-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
../mkinstalldirs $(DESTDIR)$(prefix)/lib && \
|
|
cp atk-sharp.dll $(DESTDIR)$(prefix)/lib
|
|
|