etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / lib / libxcb / files / Makefile
blobb5d6e20b8b072e59e19ab6caedc34f26fd8c7eda
1 # $NetBSD: Makefile,v 1.2 2014/03/17 07:25:34 mrg Exp $
3 # This makefile is used to generate the libxcb xml/python generated files.
4 # For now it is broken, and these files were copied from a normal libxcb
5 # build.
7 .include <bsd.own.mk>
8 .include "Makefile.xmlsrcs"
10 PYTHON?= /usr/pkg/bin/python2.7
11 PYTHONLIB?= /usr/pkg/lib/python2.7
12 C_CLIENT?= ${X11SRCDIR.xcb}/src/c_client.py
14 .SUFFIXES: .c .xml
16 # this doesn't work; needs to run in the xcb tree for some reason?
17 .xml.c:
18 ${PYTHON} ${C_CLIENT} -p ${PYTHONLIB}/site-packages ${.IMPSRC}
20 generate_from_xml: ${XMLSRCS}
22 all: generate_from_xml
24 .include <bsd.subdir.mk>
26 .PATH: ${X11SRCDIR.xcb-proto}/src