summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-07-11 16:01:02 -0700
committerKeith Packard <keithp@keithp.com>2013-11-07 14:02:37 -0800
commitcca607409068ad0948e7283fb8d0465cabc51686 (patch)
treeb6701071bef16e34806352d656bd3b7ff1f63205 /src
parent7a9373078e69b2cb2753570f91e5c31062ba25f8 (diff)
Add Present extension
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-By: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src')
-rw-r--r--src/.gitignore1
-rw-r--r--src/Makefile.am8
2 files changed, 9 insertions, 0 deletions
diff --git a/src/.gitignore b/src/.gitignore
index 71a7341..a2a9010 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -5,6 +5,7 @@ dpms.*
dri2.*
dri3.*
glx.*
+present.*
randr.*
record.*
render.*
diff --git a/src/Makefile.am b/src/Makefile.am
index 9d6d246..346ee03 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -64,6 +64,14 @@ libxcb_dri3_la_LIBADD = $(XCB_LIBS)
nodist_libxcb_dri3_la_SOURCES = dri3.c dri3.h
endif
+EXTSOURCES += present.c
+if BUILD_PRESENT
+lib_LTLIBRARIES += libxcb-present.la
+libxcb_present_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+libxcb_present_la_LIBADD = $(XCB_LIBS)
+nodist_libxcb_present_la_SOURCES = present.c present.h
+endif
+
EXTSOURCES += glx.c
if BUILD_GLX
lib_LTLIBRARIES += libxcb-glx.la