summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2010-12-20 20:12:29 +0000
committerDaniel Stone <daniel@fooishbar.org>2010-12-20 20:12:29 +0000
commit73484ebe124c0928645c3ec835afa33c0af019df (patch)
tree53067287186d0817f599bf1b5128aae8fb07a6bf
parenta2f4a6cab5fa27284daed515f2a594ac2602935a (diff)
Add xcb-ge for the GeneralEvents extensionge
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am8
3 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index ff9dea1..80ae863 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -73,6 +73,9 @@ endif
if BUILD_XVMC
pkgconfig_DATA += xcb-xvmc.pc
endif
+if BUILD_GE
+pkgconfig_DATA += xcb-ge.pc
+endif
EXTRA_DIST = \
diff --git a/configure.ac b/configure.ac
index 0851ec2..8bc6ce1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,6 +132,7 @@ XCB_EXTENSION(Composite, "yes")
XCB_EXTENSION(Damage, "yes")
XCB_EXTENSION(DPMS, "yes")
XCB_EXTENSION(DRI2, "yes")
+XCB_EXTENSION(GE, "yes")
XCB_EXTENSION(GLX, "yes")
XCB_EXTENSION(RandR, "yes")
XCB_EXTENSION(Record, "yes")
@@ -176,6 +177,7 @@ xcb-damage.pc
xcb-dpms.pc
xcb-dri2.pc
xcb-glx.pc
+xcb-ge.pc
xcb-randr.pc
xcb-record.pc
xcb-render.pc
diff --git a/src/Makefile.am b/src/Makefile.am
index f0bdeaa..a4b811e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -56,6 +56,14 @@ libxcb_dri2_la_LIBADD = $(XCB_LIBS)
nodist_libxcb_dri2_la_SOURCES = dri2.c dri2.h
endif
+EXTSOURCES += ge.c
+if BUILD_GE
+lib_LTLIBRARIES += libxcb-ge.la
+libxcb_ge_la_LDFLAGS = -version-info 0:0:0 -no-undefined
+libxcb_ge_la_LIBADD = $(XCB_LIBS)
+nodist_libxcb_ge_la_SOURCES = ge.c ge.h
+endif
+
EXTSOURCES += glx.c
if BUILD_GLX
lib_LTLIBRARIES += libxcb-glx.la