summaryrefslogtreecommitdiff
path: root/overlay/Makefile.am
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-18 21:10:26 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-18 21:10:26 +0100
commit34e4780c8e9c429a835c8be9c512cfe239241298 (patch)
tree07b548c700173cdcd0e90d0659c09a6f3d86c4ae /overlay/Makefile.am
parent1c1a2798063df03633dc7dfbd215a37b71dbecd6 (diff)
overlay: Add a X11 window backend
Useful for remote hosts. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/Makefile.am')
-rw-r--r--overlay/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/overlay/Makefile.am b/overlay/Makefile.am
index ee34fb31..09f273c0 100644
--- a/overlay/Makefile.am
+++ b/overlay/Makefile.am
@@ -23,11 +23,26 @@ intel_gpu_overlay_SOURCES = \
gpu-freq.c \
igfx.h \
igfx.c \
+ $(NULL)
+
+if BUILD_OVERLAY_XLIB
+AM_CFLAGS += $(OVERLAY_XLIB_CFLAGS)
+LDADD += $(OVERLAY_XLIB_LIBS)
+intel_gpu_overlay_SOURCES += \
+ x11/x11-window.c \
+ $(NULL)
+endif
+
+if BUILD_OVERLAY_XVLIB
+AM_CFLAGS += $(OVERLAY_XVLIB_CFLAGS)
+LDADD += $(OVERLAY_XVLIB_LIBS)
+intel_gpu_overlay_SOURCES += \
x11/dri2.c \
x11/dri2.h \
x11/rgb2yuv.c \
x11/rgb2yuv.h \
x11/x11-overlay.c \
$(NULL)
+endif
EXTRA_DIST=README