summaryrefslogtreecommitdiff
path: root/lib/xcb-util/Makefile.inc
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-23 14:43:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-23 14:43:13 +0000
commitcc22a05bcd24e9b6e8c5b339eadeae2e7b9cdb6e (patch)
treef162807dc34167aecde77ba866a3fa26c041d3db /lib/xcb-util/Makefile.inc
parent86bb951017acff65627eb198fe1fa4c73b46aad4 (diff)
build system for xcb-util
Diffstat (limited to 'lib/xcb-util/Makefile.inc')
-rw-r--r--lib/xcb-util/Makefile.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/xcb-util/Makefile.inc b/lib/xcb-util/Makefile.inc
new file mode 100644
index 000000000..069b95a45
--- /dev/null
+++ b/lib/xcb-util/Makefile.inc
@@ -0,0 +1,25 @@
+# $OpenBSD: Makefile.inc,v 1.1 2009/05/23 14:43:12 matthieu Exp $
+
+XCBUTIL= ${.CURDIR}/../../../dist/xcb-util
+
+CPPFLAGS+= -I${X11BASE}/include
+
+.SUFFIXES: .in
+
+obj: _xenocara_obj
+
+HEADERS_SUBDIR= xcb/
+
+EXTRA_PKGCONFIG_SUBST= '-e s,@LIBS@,,g'
+
+LIB?= xcb-${SUBLIB}
+_SRCDIR?= ${XCBUTIL}/${SUBLIB}
+PKGCONFIG?= xcb-${SUBLIB}.pc
+
+LIBADD!= pkg-config --libs xcb
+
+LDADD?= ${LIBADD}
+
+.PATH: ${XCBUTIL}/${SUBLIB}
+
+PACKAGE_VERSION!=m4 ${XSRCDIR}/share/mk/package_version.m4 ${XCBUTIL}/configure.ac