summaryrefslogtreecommitdiff
path: root/src/Makefile.am
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/Makefile.am
parent7a9373078e69b2cb2753570f91e5c31062ba25f8 (diff)
Add Present extension
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-By: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 8 insertions, 0 deletions
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