summaryrefslogtreecommitdiff
path: root/src/Makefile.win32.features
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-01-25 16:45:03 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-01-25 16:45:03 +0000
commit123bdb086ad9c5725a51791458d31309c69a3f41 (patch)
treec5ed0ea366d91292a9f35f14fcc3a6250eef0d99 /src/Makefile.win32.features
parente1b3330376c173633e146eb6cf578592d424e4d5 (diff)
downloadcairo-123bdb086ad9c5725a51791458d31309c69a3f41.tar.gz
xcb: Make shm optional
Trying to build xcb on a system without SHM wrapped by xcb. The right answer would be to build libxcb-shm. The quick answer is to compile out shm support.
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 357505793..daf88a783 100644
--- a/src/Makefile.win32.features
+++ b/src/Makefile.win32.features
@@ -77,6 +77,20 @@ ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)
enabled_cairo_pkgconf += cairo-xlib-xcb.pc
endif
+supported_cairo_headers += $(cairo_xcb_shm_headers)
+all_cairo_headers += $(cairo_xcb_shm_headers)
+all_cairo_private += $(cairo_xcb_shm_private)
+all_cairo_sources += $(cairo_xcb_shm_sources)
+ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)
+enabled_cairo_headers += $(cairo_xcb_shm_headers)
+enabled_cairo_private += $(cairo_xcb_shm_private)
+enabled_cairo_sources += $(cairo_xcb_shm_sources)
+endif
+all_cairo_pkgconf += cairo-xcb-shm.pc
+ifeq ($(CAIRO_HAS_XCB_SHM_FUNCTIONS),1)
+enabled_cairo_pkgconf += cairo-xcb-shm.pc
+endif
+
unsupported_cairo_headers += $(cairo_qt_headers)
all_cairo_headers += $(cairo_qt_headers)
all_cairo_private += $(cairo_qt_private)