summaryrefslogtreecommitdiff
path: root/boilerplate/Makefile.win32.features
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-03-17 00:53:30 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-03-17 00:58:40 -0400
commit3ec94f9b5917b8f71304c982bd153e5a810f3b12 (patch)
treec112c1b6926b1e6b5846e41d82ac98124fcc8d2e /boilerplate/Makefile.win32.features
parent0e7bcb5e3793771d50f7d391d7b1e538ef220a80 (diff)
Support compiling without fontconfig
Adds a new, fake, fontconfig font backend. Fontconfig can be disabled using --disable-fc, in which case the toy text API wont find fonts and the internal font will always be used. Also defines the feature macro CAIRO_HAS_FC_FONT. The two fontconfig-specific functions in cairo-ft.h depend on that macro now.
Diffstat (limited to 'boilerplate/Makefile.win32.features')
-rw-r--r--boilerplate/Makefile.win32.features10
1 files changed, 10 insertions, 0 deletions
diff --git a/boilerplate/Makefile.win32.features b/boilerplate/Makefile.win32.features
index f5ee452f..d6d50650 100644
--- a/boilerplate/Makefile.win32.features
+++ b/boilerplate/Makefile.win32.features
@@ -169,6 +169,16 @@ enabled_cairo_boilerplate_private += $(cairo_boilerplate_ft_private)
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_ft_sources)
endif
+supported_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)
+all_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)
+all_cairo_boilerplate_private += $(cairo_boilerplate_fc_private)
+all_cairo_boilerplate_sources += $(cairo_boilerplate_fc_sources)
+ifeq ($(CAIRO_HAS_FC_FONT),1)
+enabled_cairo_boilerplate_headers += $(cairo_boilerplate_fc_headers)
+enabled_cairo_boilerplate_private += $(cairo_boilerplate_fc_private)
+enabled_cairo_boilerplate_sources += $(cairo_boilerplate_fc_sources)
+endif
+
supported_cairo_boilerplate_headers += $(cairo_boilerplate_ps_headers)
all_cairo_boilerplate_headers += $(cairo_boilerplate_ps_headers)
all_cairo_boilerplate_private += $(cairo_boilerplate_ps_private)