summaryrefslogtreecommitdiff
path: root/src/sna/Makefile.am
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-05-08 16:25:32 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-02 08:32:11 +0100
commitd8eb87f84f88ad2df42c6fed1d93df76589a14e3 (patch)
treee24b21ab5aa0fcdda05428595844c232cbfac778 /src/sna/Makefile.am
parent0fbe8995d51b4643f1cf06c07da8b4b5ac5ae7c3 (diff)
sna: Add support for DRI3
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/Makefile.am')
-rw-r--r--src/sna/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sna/Makefile.am b/src/sna/Makefile.am
index a3349825..aa3f6a58 100644
--- a/src/sna/Makefile.am
+++ b/src/sna/Makefile.am
@@ -109,11 +109,17 @@ libsna_la_SOURCES = \
$(NULL)
if DRI2
-AM_CFLAGS += @DRI2_CFLAGS@
+AM_CFLAGS += $(DRI2_CFLAGS)
libsna_la_SOURCES += sna_dri2.c
libsna_la_LIBADD += $(DRI2_LIBS) @CLOCK_GETTIME_LIBS@
endif
+if DRI3
+AM_CFLAGS += $(DRI3_CFLAGS)
+libsna_la_SOURCES += sna_dri3.c
+libsna_la_LIBADD += $(DRI3_LIBS)
+endif
+
if XVMC
libsna_la_SOURCES += \
sna_video_hwmc.h \