summaryrefslogtreecommitdiff
path: root/lib/libxcb/src/Makefile
blob: 360fe0f1b2c862528b4fe5d18ab3d3105e956dd6 (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.7 2016/09/02 10:09:44 matthieu Exp $

DATADIR=	${X11BASE}/share
PYTHON=		python${PYTHON_VERSION}
PYTHONDIR=	${X11BASE}/lib/python${PYTHON_VERSION}/site-packages

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

SRCS= \
	bigreq.c \
	composite.c \
	damage.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 \
	xevie.c \
	xf86dri.c \
	xfixes.c \
	xinerama.c \
	xinput.c \
	xkb.c \
	xprint.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} -p ${PYTHONDIR} $<

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


.include <bsd.xorg.mk>

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