build system for xcb-util

This commit is contained in:
matthieu 2009-05-23 14:43:12 +00:00
parent f4c2f8c818
commit 96974b0e5b
20 changed files with 154 additions and 0 deletions

6
lib/xcb-util/Makefile Normal file
View File

@ -0,0 +1,6 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/23 14:43:12 matthieu Exp $
SUBDIR= atom aux event property icccm image keysymsrenderutil reply
.include <bsd.subdir.mk>
.include <bsd.xorg.mk>

25
lib/xcb-util/Makefile.inc Normal file
View File

@ -0,0 +1,25 @@
# $OpenBSD: Makefile.inc,v 1.1.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

View File

@ -0,0 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/23 14:43:12 matthieu Exp $
SUBLIB= atom
SRCS= atoms.c
HEADERS= xcb_atom.h
.include <bsd.lib.mk>
.include <bsd.xorg.mk>

View File

@ -0,0 +1,2 @@
major=1
minor=0

10
lib/xcb-util/aux/Makefile Normal file
View File

@ -0,0 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/23 14:43:12 matthieu Exp $
SUBLIB= aux
SRCS= xcb_aux.c
HEADERS= xcb_aux.h xcb_bitops.h
.include <bsd.lib.mk>
.include <bsd.xorg.mk>

View File

@ -0,0 +1,2 @@
major=0
minor=0

View File

@ -0,0 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/23 14:43:12 matthieu Exp $
SUBLIB= event
SRCS= event.c
HEADERS= xcb_event.h
.include <bsd.lib.mk>
.include <bsd.xorg.mk>

View File

@ -0,0 +1,2 @@
major=1
minor=0

View File

@ -0,0 +1,15 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/23 14:43:12 matthieu Exp $
SUBLIB= icccm
SRCS= icccm.c
CPPFLAGS= -I${XCBUTIL}/property -I${XCBUTIL}/event -I${XCBUTIL}/atom
HEADERS= xcb_icccm.h
LDADD!= pkg-config --libs xcb-atom xcb-event xcb-property
.include <bsd.lib.mk>
.include <bsd.xorg.mk>

View File

@ -0,0 +1,2 @@
major=1
minor=0

View File

@ -0,0 +1,12 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/23 14:43:12 matthieu Exp $
SUBLIB= image
SRCS= xcb_image.c
HEADERS= xcb_image.h xcb_pixel.h
LDADD!= pkg-config --libs xcb xcb-shm xcb-aux
.include <bsd.lib.mk>
.include <bsd.xorg.mk>

View File

@ -0,0 +1,2 @@
major=0
minor=0

View File

@ -0,0 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/23 14:43:12 matthieu Exp $
SUBLIB= keysyms
SRCS= keysyms.c
HEADERS= xcb_keysyms.h
.include <bsd.lib.mk>
.include <bsd.xorg.mk>

View File

@ -0,0 +1,2 @@
major=1
minor=0

View File

@ -0,0 +1,14 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/23 14:43:12 matthieu Exp $
SUBLIB= property
SRCS= property.c
CPPFLAGS= -I${XCBUTIL}/event
HEADERS= xcb_property.h
LDADD!= pkg-config --libs xcb xcb-event
.include <bsd.lib.mk>
.include <bsd.xorg.mk>

View File

@ -0,0 +1,2 @@
major=1
minor=0

View File

@ -0,0 +1,14 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/23 14:43:12 matthieu Exp $
LIB= xcb-render-util
SUBLIB= renderutil
SRCS= cache.c glyph.c util.c
HEADERS= xcb_renderutil.h
LDADD!= pkg-config --libs xcb xcb-render
.include <bsd.lib.mk>
.include <bsd.xorg.mk>

View File

@ -0,0 +1,2 @@
major=0
minor=0

View File

@ -0,0 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/23 14:43:12 matthieu Exp $
SUBLIB= reply
SRCS= reply.c
HEADERS= xcb_reply.h
.include <bsd.lib.mk>
.include <bsd.xorg.mk>

View File

@ -0,0 +1,2 @@
major=1
minor=0