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