Add support for building xcb (disabled for now).

This commit is contained in:
matthieu 2009-05-22 17:58:45 +00:00
parent 4f8f81d9a9
commit 0f92e39028
3 changed files with 15 additions and 4 deletions

View File

@ -1,8 +1,12 @@
# $OpenBSD: Makefile,v 1.13 2008/12/23 21:55:41 david Exp $
# $OpenBSD: Makefile,v 1.14 2009/05/22 17:58:45 matthieu Exp $
.include <bsd.xconf.mk>
SUBDIR= freetype fontconfig libxtrans libXau libXdmcp \
.if ${XENOCARA_BUILD_XCB:L} == "yes"
XCB_LIBS= libpthread-stubs libxcb
.endif
SUBDIR= freetype fontconfig libxtrans libXau libXdmcp ${XCB_LIBS}\
libX11 libXext libXrender libXft libdmx libfontenc \
libFS libICE liblbxutil libSM libXt \
libXmu libXpm libXp libXaw libXfixes libXcomposite \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2009/05/01 15:43:44 matthieu Exp $
# $OpenBSD: Makefile,v 1.8 2009/05/22 17:58:45 matthieu Exp $
.include <bsd.xconf.mk>
@ -14,6 +14,10 @@ SUBDIR= bigreqsproto compositeproto dmxproto damageproto evieproto \
SUBDIR+= xf86driproto dri2proto
.endif
.if ${XENOCARA_BUILD_XCB:L} == "yes"
SUBDIR+= xcb-proto
.endif
.include <bsd.subdir.mk>
build: _SUBDIRUSE

View File

@ -1,4 +1,4 @@
# $OpenBSD: bsd.xconf.mk,v 1.8 2008/11/02 15:20:26 matthieu Exp $
# $OpenBSD: bsd.xconf.mk,v 1.9 2009/05/22 17:58:45 matthieu Exp $
# Shared libs?
.if ${MACHINE} == "mvme88k" || ${MACHINE} == "vax"
@ -15,3 +15,6 @@ XENOCARA_BUILD_DRI?=no
XENOCARA_BUILD_GL?=yes
XENOCARA_BUILD_DRI?=yes
.endif
# Build XCB
XENOCARA_BUILD_XCB?=no