2003-02-27 05:16:47 +00:00
|
|
|
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 \
|
2003-05-05 15:41:41 +00:00
|
|
|
-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 \
|
2003-02-27 05:16:47 +00:00
|
|
|
-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
|
|
|
|
|