# $NetBSD: Makefile,v 1.13 2024/07/04 07:52:28 mrg Exp $ .include LIB= xcb .PATH: ${X11SRCDIR.${LIB}}/src .PATH: ${X11SRCDIR.${LIB}}/man .PATH: ${X11SRCDIR.${LIB}} .PATH: ${.CURDIR}/../files SHLIB_MAJOR= 2 SHLIB_MINOR= 0 SRCS= xcb_auth.c \ xcb_conn.c \ xcb_ext.c \ xcb_in.c \ xcb_list.c \ xcb_out.c \ xcb_util.c \ xcb_xid.c SRCS+= xproto.c \ bigreq.c \ xc_misc.c CPPFLAGS+= -DHAVE_CONFIG_H CPPFLAGS+= -I${X11SRCDIR.${LIB}}/../include #CPPFLAGS+= -I${.CURDIR}/../files CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/xcb # Mostly autogenerated code, the casts are used in pointer arithmetics as well # as for iovec. LINTFLAGS+= -X 132 # conversion from '%s' to '%s' may lose accuracy LINTFLAGS+= -X 135 # converting '%s' to '%s' may cause alignment problem LINTFLAGS+= -X 247 # pointer cast from '%s' to '%s' may be troublesome LINTFLAGS+= -X 275 # cast discards 'const' from type '%s' LINTFLAGS+= -X 298 # conversion from '%s' to '%s' may lose accuracy, arg #%d LIBDPLIBS=\ Xau ${.CURDIR}/../../libXau \ Xdmcp ${.CURDIR}/../../libXdmcp NOMAN= # defined PKGDIST= xcb INCSDIR=${X11INCDIR}/xcb INCS= \ bigreq.h \ composite.h \ damage.h \ dbe.h \ dpms.h \ dri2.h \ dri3.h \ ge.h \ glx.h \ present.h \ randr.h \ record.h \ render.h \ res.h \ screensaver.h \ shape.h \ shm.h \ sync.h \ xc_misc.h \ xcb.h \ xcbext.h \ xf86dri.h \ xfixes.h \ xinerama.h \ xinput.h \ xkb.h \ xproto.h \ xselinux.h \ xtest.h \ xv.h \ xvmc.h .include .include .