summaryrefslogtreecommitdiff
path: root/src/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 /src/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 'src/Makefile.win32.features')
-rw-r--r--src/Makefile.win32.features14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Makefile.win32.features b/src/Makefile.win32.features
index 94815d30..bed181fd 100644
--- a/src/Makefile.win32.features
+++ b/src/Makefile.win32.features
@@ -231,6 +231,20 @@ ifeq ($(CAIRO_HAS_FT_FONT),1)
enabled_cairo_pkgconf += cairo-ft.pc
endif
+supported_cairo_headers += $(cairo_fc_headers)
+all_cairo_headers += $(cairo_fc_headers)
+all_cairo_private += $(cairo_fc_private)
+all_cairo_sources += $(cairo_fc_sources)
+ifeq ($(CAIRO_HAS_FC_FONT),1)
+enabled_cairo_headers += $(cairo_fc_headers)
+enabled_cairo_private += $(cairo_fc_private)
+enabled_cairo_sources += $(cairo_fc_sources)
+endif
+all_cairo_pkgconf += cairo-fc.pc
+ifeq ($(CAIRO_HAS_FC_FONT),1)
+enabled_cairo_pkgconf += cairo-fc.pc
+endif
+
supported_cairo_headers += $(cairo_ps_headers)
all_cairo_headers += $(cairo_ps_headers)
all_cairo_private += $(cairo_ps_private)