mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 01:35:29 +00:00
1258d9b176
* rsvg/Makefile.in : some -L -r magic svn path=/trunk/gtk-sharp/; revision=12291
39 lines
664 B
Makefile
39 lines
664 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 ../pango \
|
|
-L ../atk \
|
|
-L ../gdk \
|
|
-L ../gtk \
|
|
-L ../art \
|
|
-r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp -r art-sharp \
|
|
-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
|
|
|