mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 19:05:43 +00:00
732cdf7729
* */Makefile.in : rework the prefix handling for duncan's packaging. svn path=/trunk/gtk-sharp/; revision=18778
40 lines
713 B
Makefile
40 lines
713 B
Makefile
COMPILER=mcs
|
|
OUTPUT=rsvg-sharp.dll
|
|
prefix=@prefix@
|
|
|
|
@ENABLE_RSVG_TRUE@ all: linux
|
|
@ENABLE_RSVG_FALSE@ all:
|
|
|
|
linux: $(OUTPUT)
|
|
|
|
$(OUTPUT): *.cs generated/*.cs
|
|
$(COMPILER) \
|
|
--unsafe\
|
|
-nowarn:0660,0661 \
|
|
--target library \
|
|
-r ../glib/glib-sharp.dll \
|
|
-r ../pango/pango-sharp.dll \
|
|
-r ../atk/atk-sharp.dll \
|
|
-r ../gdk/gdk-sharp.dll \
|
|
-r ../gtk/gtk-sharp.dll \
|
|
-r ../art/art-sharp.dll \
|
|
-o $(OUTPUT) \
|
|
--recurse '*.cs'
|
|
|
|
|
|
|
|
clean: clean-dll clean-generated
|
|
|
|
clean-dll:
|
|
rm -f *.dll
|
|
|
|
clean-generated:
|
|
rm -rf generated
|
|
|
|
|
|
|
|
install: all
|
|
@ENABLE_RSVG_TRUE@ ../mkinstalldirs $(DESTDIR)$(prefix)/lib && \
|
|
@ENABLE_RSVG_TRUE@ cp $(OUTPUT) $(DESTDIR)$(prefix)/lib
|
|
|