mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 02:05:32 +00:00
d5ec2ba7cb
* configure.in : Added support for Rsvg.NET -- librsvg .NET bindings. (Made a check for the library. And made it so "rsvg/Makefile" would be generated. Also made it so it will display if rsvg-sharp.dll will be generated or not.) * makefile : Added support for Rsvg.NET -- librsvg .NET bindings. (Added an entry for Rsvg.NET.) * sources/gtk-sharp.sources : Added an entry for Rsvg.NET -- librsvg .NET bindings. * rsvg/ : Created "rsvg/" directory. (To hold stuff for Rsvg.NET.) * rsvg/Tool.cs : Created Rsvg.Tool class to hold various procedures (which were not automatically wrapped). * rsvg/Makefile.in : Created "rsvg/Makefile.in". * api/Makefile.in : Added and entry for Rsvg.NET. svn path=/trunk/gtk-sharp/; revision=12020
37 lines
616 B
Makefile
37 lines
616 B
Makefile
COMPILER=mcs
|
|
OUTPUT=rsvg-sharp.dll
|
|
|
|
@ENABLE_RSVG_TRUE@ all: linux
|
|
@ENABLE_RSVG_FALSE@ all:
|
|
|
|
linux: $(OUTPUT)
|
|
|
|
$(OUTPUT): *.cs generated/*.cs
|
|
$(COMPILER) \
|
|
--unsafe\
|
|
--target library \
|
|
-L ../glib \
|
|
-L ../gdk \
|
|
-L ../gtk \
|
|
-L ../art \
|
|
-r glib-sharp.dll -r gdk-sharp.dll -r gtk-sharp.dll -r 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
|
|
|