Home | History | Annotate | Line # | Download | only in libxcb
      1 #	$NetBSD: Makefile,v 1.13 2024/07/04 07:52:28 mrg Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      5 LIB=	xcb
      6 .PATH:	${X11SRCDIR.${LIB}}/src
      7 .PATH:	${X11SRCDIR.${LIB}}/man
      8 .PATH:	${X11SRCDIR.${LIB}}
      9 .PATH:	${.CURDIR}/../files
     10 
     11 SHLIB_MAJOR=	2
     12 SHLIB_MINOR=	0
     13 
     14 SRCS=	xcb_auth.c \
     15 	xcb_conn.c \
     16 	xcb_ext.c \
     17 	xcb_in.c \
     18 	xcb_list.c \
     19 	xcb_out.c \
     20 	xcb_util.c \
     21 	xcb_xid.c
     22 
     23 SRCS+=	xproto.c \
     24 	bigreq.c \
     25 	xc_misc.c
     26 
     27 CPPFLAGS+=	-DHAVE_CONFIG_H
     28 CPPFLAGS+=	-I${X11SRCDIR.${LIB}}/../include
     29 #CPPFLAGS+=	-I${.CURDIR}/../files
     30 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/xcb
     31 
     32 # Mostly autogenerated code, the casts are used in pointer arithmetics as well
     33 # as for iovec.
     34 LINTFLAGS+=	-X 132	# conversion from '%s' to '%s' may lose accuracy
     35 LINTFLAGS+=	-X 135	# converting '%s' to '%s' may cause alignment problem
     36 LINTFLAGS+=	-X 247	# pointer cast from '%s' to '%s' may be troublesome
     37 LINTFLAGS+=	-X 275	# cast discards 'const' from type '%s'
     38 LINTFLAGS+=	-X 298	# conversion from '%s' to '%s' may lose accuracy, arg #%d
     39 
     40 LIBDPLIBS=\
     41 	Xau	${.CURDIR}/../../libXau \
     42 	Xdmcp	${.CURDIR}/../../libXdmcp
     43 
     44 NOMAN=	# defined
     45 
     46 PKGDIST= xcb
     47 
     48 INCSDIR=${X11INCDIR}/xcb
     49 INCS=	\
     50 	bigreq.h \
     51 	composite.h \
     52 	damage.h \
     53 	dbe.h \
     54 	dpms.h \
     55 	dri2.h \
     56 	dri3.h \
     57 	ge.h \
     58 	glx.h \
     59 	present.h \
     60 	randr.h \
     61 	record.h \
     62 	render.h \
     63 	res.h \
     64 	screensaver.h \
     65 	shape.h \
     66 	shm.h \
     67 	sync.h \
     68 	xc_misc.h \
     69 	xcb.h \
     70 	xcbext.h \
     71 	xf86dri.h \
     72 	xfixes.h \
     73 	xinerama.h \
     74 	xinput.h \
     75 	xkb.h \
     76 	xproto.h \
     77 	xselinux.h \
     78 	xtest.h \
     79 	xv.h \
     80 	xvmc.h
     81 
     82 .include <bsd.x11.mk>
     83 .include <bsd.lib.mk>
     84