Signed-off-by: Daniel Stone <dani...@collabora.com> --- src/egl/opengl/.gitignore | 4 ++++ src/egl/opengl/Makefile.am | 18 +++++++++++++++++- src/egl/opengles2/.gitignore | 2 ++ 3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/src/egl/opengl/.gitignore b/src/egl/opengl/.gitignore index 930504c0..c0819d3e 100644 --- a/src/egl/opengl/.gitignore +++ b/src/egl/opengl/.gitignore @@ -1,6 +1,10 @@ +eglgears_screen +eglgears_wayland eglgears_x11 eglinfo eglkms +egltri_screen +egltri_wayland egltri_x11 peglgears xeglbindtex diff --git a/src/egl/opengl/Makefile.am b/src/egl/opengl/Makefile.am index fe7faa95..b745573a 100644 --- a/src/egl/opengl/Makefile.am +++ b/src/egl/opengl/Makefile.am @@ -42,6 +42,12 @@ EGL_X11_DEMOS = \ xeglthreads endif +if HAVE_WAYLAND +EGL_WL_DEMOS = \ + eglgears_wayland \ + egltri_wayland +endif + if HAVE_DRM if HAVE_GBM EGL_DRM_DEMOS = \ @@ -54,7 +60,8 @@ noinst_PROGRAMS = \ eglinfo \ peglgears \ $(EGL_DRM_DEMOS) \ - $(EGL_X11_DEMOS) + $(EGL_X11_DEMOS) \ + $(EGL_WL_DEMOS) endif egltri_x11_SOURCES = egltri.c @@ -68,6 +75,15 @@ xeglthreads_LDFLAGS = $(AM_LDFLAGS) $(X11_LIBS) -pthread eglgears_x11_LDADD = ../eglut/libeglut_x11.la egltri_x11_LDADD = ../eglut/libeglut_x11.la +egltri_wayland_SOURCES = egltri.c +eglgears_wayland_SOURCES = eglgears.c + +eglgears_x11_LDFLAGS = $(AM_LDFLAGS) $(X11_LIBS) +egltri_x11_LDFLAGS = $(AM_LDFLAGS) $(X11_LIBS) + +eglgears_wayland_LDADD = ../eglut/libeglut_wayland.la +egltri_wayland_LDADD = ../eglut/libeglut_wayland.la + eglkms_SOURCES = eglkms.c eglkms_CFLAGS = $(AM_CFLAGS) $(DRM_CFLAGS) $(GBM_CFLAGS) eglkms_LDADD = $(AM_LDFLAGS) $(DRM_LIBS) $(GBM_LIBS) diff --git a/src/egl/opengles2/.gitignore b/src/egl/opengles2/.gitignore index 4d0268d1..68384608 100644 --- a/src/egl/opengles2/.gitignore +++ b/src/egl/opengles2/.gitignore @@ -1,4 +1,6 @@ es2gears +es2gears_screen +es2gears_wayland es2gears_x11 es2_info es2tri -- 2.13.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev