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