summaryrefslogtreecommitdiff
path: root/lib/libxcb/src
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-22 20:27:22 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-22 20:27:22 +0000
commit800a551306f8f5a498cfec16a6ca3afd918d1120 (patch)
treec2755da7266d08861797f9d7fb4fddbc6459c58b /lib/libxcb/src
parentc59c71d515e8a6b7ed76201f8ea2297f723f6378 (diff)
Add a Makefile that rebuilds sources from xml.
Diffstat (limited to 'lib/libxcb/src')
-rw-r--r--lib/libxcb/src/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/lib/libxcb/src/Makefile b/lib/libxcb/src/Makefile
new file mode 100644
index 000000000..69a480e71
--- /dev/null
+++ b/lib/libxcb/src/Makefile
@@ -0,0 +1,50 @@
+# $OpenBSD: Makefile,v 1.1 2009/05/22 20:27:21 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 \
+ 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>