2008-10-09 22:35:02 +00:00
|
|
|
ASSEMBLY_NAME = Mono.Cairo
|
|
|
|
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
2008-10-21 22:50:21 +00:00
|
|
|
POLICY_ASSEMBLY = policy.1.0.$(ASSEMBLY)
|
|
|
|
POLICY_CONFIG = policy.1.0.config
|
2008-10-09 22:35:02 +00:00
|
|
|
|
|
|
|
if ENABLE_MONO_CAIRO
|
2008-10-21 22:50:21 +00:00
|
|
|
TARGET=$(ASSEMBLY) $(POLICY_ASSEMBLY)
|
2008-10-09 22:35:02 +00:00
|
|
|
else
|
|
|
|
TARGET=
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_DATA = $(TARGET)
|
|
|
|
|
2009-01-08 20:05:24 +00:00
|
|
|
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLY) mono.snk
|
2008-10-09 22:35:02 +00:00
|
|
|
|
|
|
|
sources = \
|
2008-10-09 23:53:18 +00:00
|
|
|
Antialias.cs \
|
2009-01-08 20:05:24 +00:00
|
|
|
AssemblyInfo.cs \
|
2008-10-09 23:53:18 +00:00
|
|
|
Cairo.cs \
|
|
|
|
Content.cs \
|
|
|
|
Context.cs \
|
|
|
|
DirectFBSurface.cs \
|
|
|
|
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 \
|
|
|
|
PSSurface.cs \
|
|
|
|
RadialGradient.cs \
|
|
|
|
Rectangle.cs \
|
|
|
|
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
|
|
|
#
|
|
|
|
|
2009-01-08 20:05:24 +00:00
|
|
|
build_sources = $(addprefix $(srcdir)/, $(sources))
|
2008-10-09 22:35:02 +00:00
|
|
|
|
2009-01-08 20:05:24 +00:00
|
|
|
mono.snk: $(top_srcdir)/mono.snk
|
|
|
|
cp $(top_srcdir)/mono.snk .
|
2008-10-09 22:35:02 +00:00
|
|
|
|
2009-01-08 20:05:24 +00:00
|
|
|
$(ASSEMBLY): $(build_sources) mono.snk
|
2008-10-09 22:35:02 +00:00
|
|
|
@rm -f $(ASSEMBLY).mdb
|
|
|
|
$(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources)
|
2008-10-21 22:50:21 +00:00
|
|
|
|
2009-01-08 20:05:24 +00:00
|
|
|
$(POLICY_ASSEMBLY): $(srcdir)/$(POLICY_CONFIG) mono.snk
|
2008-10-21 22:50:21 +00:00
|
|
|
echo "Creating policy.1.0.$(ASSEMBLY)";
|
2009-01-08 20:05:24 +00:00
|
|
|
$(AL) -link:$(POLICY_CONFIG) -out:$@ -keyfile:mono.snk;
|
2008-10-09 22:35:02 +00:00
|
|
|
|
|
|
|
install-data-local:
|
|
|
|
@if test -n '$(TARGET)'; then \
|
|
|
|
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
|
|
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
2008-10-21 22:50:21 +00:00
|
|
|
echo "$(GACUTIL) /i $(POLICY_ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
|
|
$(GACUTIL) /i $(POLICY_ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
2008-10-09 22:35:02 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
@if test -n '$(TARGET)'; then \
|
|
|
|
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
|
|
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
2008-10-21 22:50:21 +00:00
|
|
|
echo "$(GACUTIL) /u policy.1.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
|
|
$(GACUTIL) /u policy.1.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
2008-10-09 22:35:02 +00:00
|
|
|
fi
|
|
|
|
|
2008-11-26 18:02:08 +00:00
|
|
|
EXTRA_DIST = $(sources) $(POLICY_CONFIG)
|
2008-10-21 22:50:21 +00:00
|
|
|
|