summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/xcb-util/Makefile6
-rw-r--r--lib/xcb-util/Makefile.inc25
-rw-r--r--lib/xcb-util/atom/Makefile10
-rw-r--r--lib/xcb-util/atom/shlib_version2
-rw-r--r--lib/xcb-util/aux/Makefile10
-rw-r--r--lib/xcb-util/aux/shlib_version2
-rw-r--r--lib/xcb-util/event/Makefile10
-rw-r--r--lib/xcb-util/event/shlib_version2
-rw-r--r--lib/xcb-util/icccm/Makefile15
-rw-r--r--lib/xcb-util/icccm/shlib_version2
-rw-r--r--lib/xcb-util/image/Makefile12
-rw-r--r--lib/xcb-util/image/shlib_version2
-rw-r--r--lib/xcb-util/keysyms/Makefile10
-rw-r--r--lib/xcb-util/keysyms/shlib_version2
-rw-r--r--lib/xcb-util/property/Makefile14
-rw-r--r--lib/xcb-util/property/shlib_version2
-rw-r--r--lib/xcb-util/renderutil/Makefile14
-rw-r--r--lib/xcb-util/renderutil/shlib_version2
-rw-r--r--lib/xcb-util/reply/Makefile10
-rw-r--r--lib/xcb-util/reply/shlib_version2
20 files changed, 154 insertions, 0 deletions
diff --git a/lib/xcb-util/Makefile b/lib/xcb-util/Makefile
new file mode 100644
index 000000000..f081bdd76
--- /dev/null
+++ b/lib/xcb-util/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 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>
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
diff --git a/lib/xcb-util/atom/Makefile b/lib/xcb-util/atom/Makefile
new file mode 100644
index 000000000..a8ee2db61
--- /dev/null
+++ b/lib/xcb-util/atom/Makefile
@@ -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>
diff --git a/lib/xcb-util/atom/shlib_version b/lib/xcb-util/atom/shlib_version
new file mode 100644
index 000000000..1edea46de
--- /dev/null
+++ b/lib/xcb-util/atom/shlib_version
@@ -0,0 +1,2 @@
+major=1
+minor=0
diff --git a/lib/xcb-util/aux/Makefile b/lib/xcb-util/aux/Makefile
new file mode 100644
index 000000000..f42f9801a
--- /dev/null
+++ b/lib/xcb-util/aux/Makefile
@@ -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>
diff --git a/lib/xcb-util/aux/shlib_version b/lib/xcb-util/aux/shlib_version
new file mode 100644
index 000000000..97c9f92d6
--- /dev/null
+++ b/lib/xcb-util/aux/shlib_version
@@ -0,0 +1,2 @@
+major=0
+minor=0
diff --git a/lib/xcb-util/event/Makefile b/lib/xcb-util/event/Makefile
new file mode 100644
index 000000000..f7e75f0eb
--- /dev/null
+++ b/lib/xcb-util/event/Makefile
@@ -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>
diff --git a/lib/xcb-util/event/shlib_version b/lib/xcb-util/event/shlib_version
new file mode 100644
index 000000000..1edea46de
--- /dev/null
+++ b/lib/xcb-util/event/shlib_version
@@ -0,0 +1,2 @@
+major=1
+minor=0
diff --git a/lib/xcb-util/icccm/Makefile b/lib/xcb-util/icccm/Makefile
new file mode 100644
index 000000000..31e04122b
--- /dev/null
+++ b/lib/xcb-util/icccm/Makefile
@@ -0,0 +1,15 @@
+# $OpenBSD: Makefile,v 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>
+
diff --git a/lib/xcb-util/icccm/shlib_version b/lib/xcb-util/icccm/shlib_version
new file mode 100644
index 000000000..1edea46de
--- /dev/null
+++ b/lib/xcb-util/icccm/shlib_version
@@ -0,0 +1,2 @@
+major=1
+minor=0
diff --git a/lib/xcb-util/image/Makefile b/lib/xcb-util/image/Makefile
new file mode 100644
index 000000000..d50d6f464
--- /dev/null
+++ b/lib/xcb-util/image/Makefile
@@ -0,0 +1,12 @@
+# $OpenBSD: Makefile,v 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>
diff --git a/lib/xcb-util/image/shlib_version b/lib/xcb-util/image/shlib_version
new file mode 100644
index 000000000..97c9f92d6
--- /dev/null
+++ b/lib/xcb-util/image/shlib_version
@@ -0,0 +1,2 @@
+major=0
+minor=0
diff --git a/lib/xcb-util/keysyms/Makefile b/lib/xcb-util/keysyms/Makefile
new file mode 100644
index 000000000..7ab2eaede
--- /dev/null
+++ b/lib/xcb-util/keysyms/Makefile
@@ -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>
diff --git a/lib/xcb-util/keysyms/shlib_version b/lib/xcb-util/keysyms/shlib_version
new file mode 100644
index 000000000..1edea46de
--- /dev/null
+++ b/lib/xcb-util/keysyms/shlib_version
@@ -0,0 +1,2 @@
+major=1
+minor=0
diff --git a/lib/xcb-util/property/Makefile b/lib/xcb-util/property/Makefile
new file mode 100644
index 000000000..a385fffb3
--- /dev/null
+++ b/lib/xcb-util/property/Makefile
@@ -0,0 +1,14 @@
+# $OpenBSD: Makefile,v 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>
diff --git a/lib/xcb-util/property/shlib_version b/lib/xcb-util/property/shlib_version
new file mode 100644
index 000000000..1edea46de
--- /dev/null
+++ b/lib/xcb-util/property/shlib_version
@@ -0,0 +1,2 @@
+major=1
+minor=0
diff --git a/lib/xcb-util/renderutil/Makefile b/lib/xcb-util/renderutil/Makefile
new file mode 100644
index 000000000..9096ec34a
--- /dev/null
+++ b/lib/xcb-util/renderutil/Makefile
@@ -0,0 +1,14 @@
+# $OpenBSD: Makefile,v 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>
diff --git a/lib/xcb-util/renderutil/shlib_version b/lib/xcb-util/renderutil/shlib_version
new file mode 100644
index 000000000..97c9f92d6
--- /dev/null
+++ b/lib/xcb-util/renderutil/shlib_version
@@ -0,0 +1,2 @@
+major=0
+minor=0
diff --git a/lib/xcb-util/reply/Makefile b/lib/xcb-util/reply/Makefile
new file mode 100644
index 000000000..3de63297c
--- /dev/null
+++ b/lib/xcb-util/reply/Makefile
@@ -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>
diff --git a/lib/xcb-util/reply/shlib_version b/lib/xcb-util/reply/shlib_version
new file mode 100644
index 000000000..1edea46de
--- /dev/null
+++ b/lib/xcb-util/reply/shlib_version
@@ -0,0 +1,2 @@
+major=1
+minor=0