diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-05-23 14:43:13 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-05-23 14:43:13 +0000 |
commit | cc22a05bcd24e9b6e8c5b339eadeae2e7b9cdb6e (patch) | |
tree | f162807dc34167aecde77ba866a3fa26c041d3db /lib/xcb-util/Makefile.inc | |
parent | 86bb951017acff65627eb198fe1fa4c73b46aad4 (diff) |
build system for xcb-util
Diffstat (limited to 'lib/xcb-util/Makefile.inc')
-rw-r--r-- | lib/xcb-util/Makefile.inc | 25 |
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 |