summaryrefslogtreecommitdiff
path: root/lib/libxcb/src/Makefile
blob: a1c4e33e96da3ce575ea6cc36a7cdf7f058789f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#	$OpenBSD: Makefile,v 1.14 2024/07/11 08:05:32 matthieu Exp $

# This Makefile is used to generate the sources files with xcbgen
# The x11/py-xcbgen package needs to be installed

DATADIR=	${X11BASE}/share
PYTHON=		python${PYTHON_VERSION}

MANOPTIONS=	-c 'libxcb 1.17.0' -l 'X Version 11' -s 3

SRCS= \
	bigreq.c \
	composite.c \
	damage.c \
	dbe.c \
	dpms.c \
	dri2.c \
	dri3.c \
	glx.c \
	present.c \
	randr.c \
	record.c \
	render.c \
	res.c \
	screensaver.c \
	shape.c \
	shm.c \
	sync.c \
	xc_misc.c \
	xf86dri.c \
	xfixes.c \
	xinerama.c \
	xinput.c \
	xkb.c \
	xproto.c \
	xselinux.c \
	xtest.c \
	xv.c \
	xvmc.c

HDRS= ${SRCS:.c=.h}


all: ${SRCS} ${HDRS}

clean:

force-clean:
	rm -f ${SRCS} ${HDRS}

.SUFFIXES: .xml .c .h

.xml.c:
	${PYTHON} ${LIBXCB}/src/c_client.py ${MANOPTIONS}  $<

.xml.h:
	${PYTHON} ${LIBXCB}/src/c_client.py ${MANOPTIONS} $<

.include <bsd.xorg.mk>

${SRCS} ${HDRS}: ${LIBXCB}/src/c_client.py