summaryrefslogtreecommitdiff
path: root/lib/libxcb/src/Makefile
blob: b34c1cfc2d1f947725e773c3e22c5cc17b40ea88 (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
#	$OpenBSD: Makefile,v 1.2 2010/04/18 19:58:53 matthieu Exp $

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

SRCS= \
	bigreq.c \
	composite.c \
	damage.c \
	dpms.c \
	dri2.c \
	glx.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 \
	xprint.c \
	xproto.c \
	xselinux.c \
	xtest.c \
	xv.c \
	xvmc.c

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


all: ${SRCS} ${HDRS}

test:
	@echo ${SRCS}

.SUFFIXES: .xml .c .h

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

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

.include <bsd.xorg.mk>