2011-01-30 23:00:03 +00:00
|
|
|
ASSEMBLY_NAME = cairo-sharp
|
2012-07-02 17:56:06 +00:00
|
|
|
ASSEMBLY_NAME_VERSION = $(ASSEMBLY_NAME),Version=$(CAIRO_API_VERSION)
|
2008-10-09 22:35:02 +00:00
|
|
|
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
2011-01-08 04:15:04 +00:00
|
|
|
SNK = $(srcdir)/mono.snk
|
2008-10-09 22:35:02 +00:00
|
|
|
|
2009-07-02 20:18:10 +00:00
|
|
|
TARGET=$(ASSEMBLY)
|
2008-10-09 22:35:02 +00:00
|
|
|
|
|
|
|
noinst_DATA = $(TARGET)
|
2014-11-05 13:43:53 +00:00
|
|
|
gapidir = $(datadir)/gapi-3.0
|
|
|
|
gapi_DATA = cairo-api.xml
|
2008-10-09 22:35:02 +00:00
|
|
|
|
2011-01-08 04:15:04 +00:00
|
|
|
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
|
2008-10-09 22:35:02 +00:00
|
|
|
|
|
|
|
sources = \
|
2008-10-09 23:53:18 +00:00
|
|
|
Antialias.cs \
|
|
|
|
Cairo.cs \
|
2013-03-06 00:49:35 +00:00
|
|
|
CairoDebug.cs \
|
|
|
|
Color.cs \
|
2008-10-09 23:53:18 +00:00
|
|
|
Content.cs \
|
|
|
|
Context.cs \
|
2011-02-18 05:00:12 +00:00
|
|
|
Device.cs \
|
2008-10-09 23:53:18 +00:00
|
|
|
DirectFBSurface.cs \
|
2013-03-06 00:49:35 +00:00
|
|
|
Distance.cs \
|
2008-10-09 23:53:18 +00:00
|
|
|
Extend.cs \
|
|
|
|
FillRule.cs \
|
|
|
|
Filter.cs \
|
|
|
|
FontExtents.cs \
|
|
|
|
FontFace.cs \
|
|
|
|
FontOptions.cs \
|
|
|
|
FontSlant.cs \
|
|
|
|
FontType.cs \
|
|
|
|
FontWeight.cs \
|
|
|
|
Format.cs \
|
|
|
|
GlitzSurface.cs \
|
|
|
|
Glyph.cs \
|
|
|
|
Gradient.cs \
|
|
|
|
HintMetrics.cs \
|
|
|
|
HintStyle.cs \
|
|
|
|
ImageSurface.cs \
|
|
|
|
LinearGradient.cs \
|
|
|
|
LineCap.cs \
|
|
|
|
LineJoin.cs \
|
|
|
|
Matrix.cs \
|
|
|
|
NativeMethods.cs \
|
|
|
|
Operator.cs \
|
|
|
|
Path.cs \
|
|
|
|
Pattern.cs \
|
|
|
|
PatternType.cs \
|
|
|
|
PdfSurface.cs \
|
2013-03-06 00:49:35 +00:00
|
|
|
Point.cs \
|
|
|
|
PointD.cs \
|
2008-10-09 23:53:18 +00:00
|
|
|
PSSurface.cs \
|
|
|
|
RadialGradient.cs \
|
|
|
|
Rectangle.cs \
|
2011-01-30 23:00:03 +00:00
|
|
|
Region.cs \
|
2008-10-09 23:53:18 +00:00
|
|
|
ScaledFont.cs \
|
|
|
|
SolidPattern.cs \
|
|
|
|
Status.cs \
|
|
|
|
SubpixelOrder.cs \
|
|
|
|
Surface.cs \
|
|
|
|
SurfacePattern.cs \
|
|
|
|
SurfaceType.cs \
|
|
|
|
SvgSurface.cs \
|
|
|
|
SvgVersion.cs \
|
|
|
|
TextExtents.cs \
|
|
|
|
Win32Surface.cs \
|
|
|
|
XcbSurface.cs \
|
|
|
|
XlibSurface.cs \
|
2008-10-09 22:35:02 +00:00
|
|
|
#
|
|
|
|
|
2012-07-02 17:56:06 +00:00
|
|
|
build_sources = $(addprefix $(srcdir)/, $(sources)) $(builddir)/AssemblyInfo.cs
|
2008-10-09 22:35:02 +00:00
|
|
|
|
2011-01-08 04:15:04 +00:00
|
|
|
$(ASSEMBLY): $(build_sources) $(SNK)
|
2008-10-09 22:35:02 +00:00
|
|
|
@rm -f $(ASSEMBLY).mdb
|
2013-07-26 23:41:40 +00:00
|
|
|
$(CSC) $(CSFLAGS) -keyfile:$(SNK) -out:$(ASSEMBLY) -target:library $(references) $(build_sources)
|
2008-10-21 22:50:21 +00:00
|
|
|
|
2008-10-09 22:35:02 +00:00
|
|
|
install-data-local:
|
|
|
|
@if test -n '$(TARGET)'; then \
|
2009-11-30 20:40:34 +00:00
|
|
|
echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \
|
2014-02-23 16:07:10 +00:00
|
|
|
"$(GACUTIL)" -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \
|
2008-10-09 22:35:02 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
@if test -n '$(TARGET)'; then \
|
2011-08-11 16:41:13 +00:00
|
|
|
echo "$(GACUTIL) -u $(ASSEMBLY_NAME_VERSION) $(GACUTIL_FLAGS)"; \
|
2014-02-23 16:07:10 +00:00
|
|
|
"$(GACUTIL)" -u $(ASSEMBLY_NAME_VERSION) $(GACUTIL_FLAGS) || exit 1; \
|
2008-10-09 22:35:02 +00:00
|
|
|
fi
|
|
|
|
|
2011-07-03 14:10:47 +00:00
|
|
|
EXTRA_DIST = $(sources) cairo-api.xml mono.snk
|
2008-10-21 22:50:21 +00:00
|
|
|
|