From: Alex Wu <zhiwen...@linux.intel.com>

Since we already have wayland support in eglut, add a target for
es2geares_wayland.
---
 src/egl/opengles2/Makefile.am |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/egl/opengles2/Makefile.am b/src/egl/opengles2/Makefile.am
index c84d91d..41c1b80 100644
--- a/src/egl/opengles2/Makefile.am
+++ b/src/egl/opengles2/Makefile.am
@@ -40,6 +40,9 @@ bin_PROGRAMS = \
        es2gears_screen \
        es2gears_x11 \
        es2tri
+if HAVE_WAYLAND
+bin_PROGRAMS += es2gears_wayland
+endif
 endif
 endif
 
@@ -53,3 +56,6 @@ es2gears_x11_SOURCES = es2gears.c
 es2gears_screen_LDADD = ../eglut/libeglut_screen.la
 
 es2gears_x11_LDADD = ../eglut/libeglut_x11.la
+
+es2gears_wayland_SOURCES = es2gears.c
+es2gears_wayland_LDADD = ../eglut/libeglut_wayland.la
-- 
1.7.5.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to