[PATCH demos 2/2] opengles2: Add es2gears_wayland target
zhiwen.wu at linux.intel.com
zhiwen.wu at linux.intel.com
Tue May 1 23:52:05 PDT 2012
From: Alex Wu <zhiwen.wu at 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
More information about the wayland-devel
mailing list