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
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
16 # this doesn't work; needs to run in the xcb tree for some reason?
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