summaryrefslogtreecommitdiff
path: root/src/egl
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2022-04-29 12:31:55 +0200
committerErik Faye-Lund <erik.faye-lund@collabora.com>2022-08-01 17:30:44 +0200
commitabfead37587f1f2e124bdfcde755b6e90421b538 (patch)
treead0d05a94bef8f663b746249d7c0c4de6e8c3bfe /src/egl
parent49c89ab7a96a2ef5e3200e56d3043372e736e4c9 (diff)
downloadmesa-demos-abfead37587f1f2e124bdfcde755b6e90421b538.tar.gz
remove cmake and autotools support
These build systems were deprecated in Mesa-Demos 8.5.0, which was released at the end of May. It's about time to remove them, so people don't have to keep maintaining three build systems. Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Eric Engestrom <eric@igalia.com>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/CMakeLists.txt12
-rw-r--r--src/egl/Makefile.am32
-rw-r--r--src/egl/eglut/CMakeLists.txt29
-rw-r--r--src/egl/eglut/Makefile.am76
-rw-r--r--src/egl/opengl/.gitignore10
-rw-r--r--src/egl/opengl/CMakeLists.txt47
-rw-r--r--src/egl/opengl/Makefile.am91
-rw-r--r--src/egl/opengles1/.gitignore13
-rw-r--r--src/egl/opengles1/CMakeLists.txt58
-rw-r--r--src/egl/opengles1/Makefile.am81
-rw-r--r--src/egl/opengles2/.gitignore5
-rw-r--r--src/egl/opengles2/CMakeLists.txt42
-rw-r--r--src/egl/opengles2/Makefile.am62
13 files changed, 0 insertions, 558 deletions
diff --git a/src/egl/CMakeLists.txt b/src/egl/CMakeLists.txt
deleted file mode 100644
index 4c56602d..00000000
--- a/src/egl/CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-
-add_subdirectory(eglut)
-
-add_subdirectory(opengl)
-
-if (GLESV1_FOUND)
- add_subdirectory(opengles1)
-endif ()
-
-if (GLESV2_FOUND)
- add_subdirectory(opengles2)
-endif ()
diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am
deleted file mode 100644
index f0527b81..00000000
--- a/src/egl/Makefile.am
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright © 2009 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-#
-# Authors:
-# Eric Anholt <eric@anholt.net>
-
-SUBDIRS = \
- eglut \
- opengl \
- opengles1 \
- opengles2
-
-EXTRA_DIST = \
- meson.build
diff --git a/src/egl/eglut/CMakeLists.txt b/src/egl/eglut/CMakeLists.txt
deleted file mode 100644
index 4dcadaf8..00000000
--- a/src/egl/eglut/CMakeLists.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-include_directories (
- ${EGL_INCLUDE_DIRS}
-)
-
-if (X11_FOUND)
- add_library (eglut_x11 eglut.h eglut.c eglutint.h eglut_x11.c)
- target_link_libraries (eglut_x11 ${EGL_LIBRARIES} ${X11_X11_LIB})
- if (BUILD_SHARED_LIBS)
- install (TARGETS eglut_x11 DESTINATION ${LIBDIR})
- endif (BUILD_SHARED_LIBS)
-endif (X11_FOUND)
-
-if (BUILD_WAYLAND)
- ecm_add_wayland_client_protocol (eglut_wayland_proto_SOURCES
- PROTOCOL "${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml"
- BASENAME xdg-shell)
-
- add_library (eglut_wayland
- eglut.h eglut.c
- eglutint.h eglut_wayland.c
- ${eglut_wayland_proto_SOURCES})
- target_compile_options (eglut_wayland PRIVATE ${Wayland_DEFINITIONS})
- target_include_directories (eglut_wayland PRIVATE
- ${Wayland_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR})
- target_link_libraries (eglut_wayland ${EGL_LIBRARIES} ${Wayland_LIBRARIES})
- if (BUILD_SHARED_LIBS)
- install (TARGETS eglut_wayland DESTINATION ${LIBDIR})
- endif (BUILD_SHARED_LIBS)
-endif (BUILD_WAYLAND)
diff --git a/src/egl/eglut/Makefile.am b/src/egl/eglut/Makefile.am
deleted file mode 100644
index 9cdc5edd..00000000
--- a/src/egl/eglut/Makefile.am
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright © 2009 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-#
-# Authors:
-# Eric Anholt <eric@anholt.net>
-
-AM_CFLAGS = $(EGL_CFLAGS)
-AM_LDFLAGS = $(EGL_LIBS)
-
-if HAVE_EGL
-if HAVE_X11
-eglut_x11 = libeglut_x11.la
-endif
-if HAVE_WAYLAND
-eglut_wayland = libeglut_wayland.la
-endif
-
-noinst_LTLIBRARIES = $(eglut_x11) $(eglut_wayland)
-endif
-
-libeglut_x11_la_SOURCES = \
- eglut.c \
- eglut.h \
- eglutint.h \
- eglut_x11.c
-libeglut_x11_la_CFLAGS = $(X11_CFLAGS) $(EGL_CFLAGS)
-libeglut_x11_la_LIBADD = $(X11_LIBS) $(EGL_LIBS)
-
-XDG_SHELL_XML = $(WAYLAND_PROTOCOLS_DATADIR)/stable/xdg-shell/xdg-shell.xml
-
-wayland-xdg-shell-protocol.c: $(XDG_SHELL_XML)
- $(MKDIR_GEN)
- $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
-
-wayland-xdg-shell-client-protocol.h: $(XDG_SHELL_XML)
- $(MKDIR_GEN)
- $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
-
-if HAVE_WAYLAND
-BUILT_SOURCES = \
- wayland-xdg-shell-protocol.c \
- wayland-xdg-shell-client-protocol.h
-endif
-
-libeglut_wayland_la_SOURCES = \
- eglut.c \
- eglut.h \
- eglutint.h \
- eglut_wayland.c
-nodist_libeglut_wayland_la_SOURCES = \
- wayland-xdg-shell-protocol.c \
- wayland-xdg-shell-client-protocol.h
-
-libeglut_wayland_la_CFLAGS = $(WAYLAND_CFLAGS) $(EGL_CFLAGS)
-libeglut_wayland_la_LIBADD = $(WAYLAND_LIBS) $(EGL_LIBS)
-
-EXTRA_DIST = \
- meson.build
diff --git a/src/egl/opengl/.gitignore b/src/egl/opengl/.gitignore
deleted file mode 100644
index 0fd5bc9b..00000000
--- a/src/egl/opengl/.gitignore
+++ /dev/null
@@ -1,10 +0,0 @@
-eglgears_wayland
-eglgears_x11
-eglinfo
-eglkms
-egltri_wayland
-egltri_x11
-peglgears
-xeglbindtex
-xeglgears
-xeglthreads
diff --git a/src/egl/opengl/CMakeLists.txt b/src/egl/opengl/CMakeLists.txt
deleted file mode 100644
index ba46b060..00000000
--- a/src/egl/opengl/CMakeLists.txt
+++ /dev/null
@@ -1,47 +0,0 @@
-include_directories(
- ${CMAKE_SOURCE_DIR}/src/egl/eglut
- ${CMAKE_SOURCE_DIR}/src/util
- ${EGL_INCLUDE_DIRS}
- ${OPENGL_INCLUDE_PATH}
-)
-
-link_libraries (
- ${EGL_LIBRARIES}
- ${OPENGL_gl_LIBRARY}
-)
-
-set (subdir egl)
-
-add_executable (eglinfo eglinfo.c)
-add_executable (peglgears peglgears.c)
-
-# Targets that can be built both for fullscreen EGL and X11
-
-set (targets
- egltri
- eglgears
-)
-
-foreach (target ${targets})
- if (X11_FOUND)
- add_executable (${target}_x11 ${target}.c)
- target_link_libraries (${target}_x11 eglut_x11)
- install (TARGETS ${target}_x11 DESTINATION ${subdir})
- endif ()
-
- if (BUILD_WAYLAND)
- add_executable (${target}_wayland ${target}.c)
- target_link_libraries (${target}_wayland eglut_wayland)
- install (TARGETS ${target}_wayland DESTINATION ${subdir})
- endif (BUILD_WAYLAND)
-endforeach (target)
-
-
-if (X11_FOUND)
- add_executable (xeglgears xeglgears.c)
- target_link_libraries (xeglgears ${X11_X11_LIB})
-
- add_executable (xeglthreads xeglthreads.c)
- target_link_libraries (xeglthreads ${X11_X11_LIB})
-endif (X11_FOUND)
-
diff --git a/src/egl/opengl/Makefile.am b/src/egl/opengl/Makefile.am
deleted file mode 100644
index fb4fe9cc..00000000
--- a/src/egl/opengl/Makefile.am
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright © 2010 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-#
-# Authors:
-# Eric Anholt <eric@anholt.net>
-
-# These programs aren't intended to be included with the normal distro.
-# They're not too interesting but they're good for testing.
-
-AM_CFLAGS = \
- $(DEMO_CFLAGS) \
- $(EGL_CFLAGS) \
- -I$(top_srcdir)/src/egl/eglut \
- -I$(top_srcdir)/src/util
-AM_LDFLAGS = \
- $(DEMO_LIBS) \
- $(EGL_LIBS)
-
-if HAVE_X11
-EGL_X11_DEMOS = \
- eglgears_x11 \
- egltri_x11 \
- xeglgears \
- xeglthreads
-endif
-
-if HAVE_WAYLAND
-EGL_WL_DEMOS = \
- eglgears_wayland \
- egltri_wayland
-endif
-
-if HAVE_DRM
-if HAVE_GBM
-EGL_DRM_DEMOS = \
- eglkms
-endif
-endif
-
-if HAVE_EGL
-bin_PROGRAMS = \
- eglinfo
-noinst_PROGRAMS = \
- peglgears \
- $(EGL_DRM_DEMOS) \
- $(EGL_X11_DEMOS) \
- $(EGL_WL_DEMOS)
-endif
-
-egltri_x11_SOURCES = egltri.c
-eglgears_x11_SOURCES = eglgears.c
-
-xeglgears_LDFLAGS = $(AM_LDFLAGS) $(X11_LIBS)
-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)
-
-EXTRA_DIST = \
- meson.build
diff --git a/src/egl/opengles1/.gitignore b/src/egl/opengles1/.gitignore
deleted file mode 100644
index 9269f908..00000000
--- a/src/egl/opengles1/.gitignore
+++ /dev/null
@@ -1,13 +0,0 @@
-bindtex
-clear
-drawtex_x11
-eglfbdev
-es1_info
-gears_x11
-msaa
-pbuffer
-render_tex
-texture_from_pixmap
-torus_x11
-tri_x11
-two_win
diff --git a/src/egl/opengles1/CMakeLists.txt b/src/egl/opengles1/CMakeLists.txt
deleted file mode 100644
index 980656e6..00000000
--- a/src/egl/opengles1/CMakeLists.txt
+++ /dev/null
@@ -1,58 +0,0 @@
-include_directories(
- ${CMAKE_SOURCE_DIR}/src/egl/eglut
- ${CMAKE_SOURCE_DIR}/src/util
- ${EGL_INCLUDE_DIRS}
- ${GLESV1_INCLUDE_DIRS}
-)
-
-set (subdir egl/opengles1)
-
-set (targets
- bindtex
- es1_info
- msaa
- pbuffer
- render_tex
- texture_from_pixmap
- two_win
-)
-
-if (X11_FOUND)
- foreach (target ${targets})
- add_executable (${target} ${target}.c)
- target_link_libraries (${target} ${EGL_LIBRARIES} ${GLESV1_LIBRARIES} ${X11_X11_LIB})
- install (TARGETS ${target} DESTINATION ${subdir})
- endforeach (target)
-endif ()
-
-
-# Targets that can be built both for fullscreen EGL and X11
-
-
-set (targets
- drawtex
- gears
- torus
- tri
-)
-
-foreach (target ${targets})
- if (X11_FOUND)
- add_executable (${target}_x11 ${target}.c)
- target_link_libraries (${target}_x11 eglut_x11 ${GLESV1_LIBRARIES})
- install (TARGETS ${target}_x11 DESTINATION ${subdir})
- endif ()
-endforeach (target)
-
-if (X11_FOUND)
- # intentionally not link to GLESV1_LIBS
- add_executable (clear clear.c)
- target_link_libraries (clear eglut_x11)
- install (TARGETS clear DESTINATION ${subdir})
-endif ()
-
-if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
- add_executable (eglfbdev eglfbdev.c)
- target_link_libraries (eglfbdev ${EGL_LIBRARIES} ${GLESV1_LIBRARIES})
- install (TARGETS eglfbdev DESTINATION ${subdir})
-endif ()
diff --git a/src/egl/opengles1/Makefile.am b/src/egl/opengles1/Makefile.am
deleted file mode 100644
index 6e5f8b5f..00000000
--- a/src/egl/opengles1/Makefile.am
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright © 2010 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-#
-# Authors:
-# Eric Anholt <eric@anholt.net>
-
-# These programs aren't intended to be included with the normal distro.
-# They're not too interesting but they're good for testing.
-
-AM_CFLAGS = \
- $(GLESV1_CFLAGS) \
- $(EGL_CFLAGS) \
- $(X11_CFLAGS) \
- -I$(top_srcdir)/src/egl/eglut
-
-AM_LDFLAGS = \
- $(GLESV1_LIBS) \
- $(EGL_LIBS) \
- -lm
-
-if HAVE_EGL
-if HAVE_GLESV1
-noinst_PROGRAMS = \
- bindtex \
- clear \
- drawtex_x11 \
- eglfbdev \
- es1_info \
- gears_x11 \
- msaa \
- pbuffer\
- render_tex \
- texture_from_pixmap \
- torus_x11 \
- tri_x11 \
- two_win
-endif
-endif
-
-bindtex_LDADD = $(X11_LIBS)
-es1_info_LDADD = $(X11_LIBS)
-msaa_LDADD = $(X11_LIBS)
-pbuffer_LDADD = $(X11_LIBS)
-render_tex_LDADD = $(X11_LIBS)
-texture_from_pixmap_LDADD = $(X11_LIBS)
-two_win_LDADD = $(X11_LIBS)
-
-# intentionally not link to GLESV1_LIBS
-clear_LDADD = ../eglut/libeglut_x11.la $(EGL_LIBS) $(X11_LIBS)
-clear_LDFLAGS =
-
-drawtex_x11_SOURCES = drawtex.c
-gears_x11_SOURCES = gears.c
-torus_x11_SOURCES = torus.c
-tri_x11_SOURCES = tri.c
-
-drawtex_x11_LDADD = ../eglut/libeglut_x11.la
-gears_x11_LDADD = ../eglut/libeglut_x11.la
-torus_x11_LDADD = ../eglut/libeglut_x11.la
-tri_x11_LDADD = ../eglut/libeglut_x11.la
-
-EXTRA_DIST = \
- meson.build
diff --git a/src/egl/opengles2/.gitignore b/src/egl/opengles2/.gitignore
deleted file mode 100644
index e2dc6f99..00000000
--- a/src/egl/opengles2/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-es2gears
-es2gears_wayland
-es2gears_x11
-es2_info
-es2tri
diff --git a/src/egl/opengles2/CMakeLists.txt b/src/egl/opengles2/CMakeLists.txt
deleted file mode 100644
index d1efeac8..00000000
--- a/src/egl/opengles2/CMakeLists.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-include_directories(
- ${CMAKE_SOURCE_DIR}/src/egl/eglut
- ${CMAKE_SOURCE_DIR}/src/util
- ${EGL_INCLUDE_DIRS}
- ${GLESV2_INCLUDE_DIRS}
-)
-
-set (subdir egl/opengles2)
-
-set (targets
- es2_info
- es2tri
-)
-
-if (X11_FOUND)
- foreach (target ${targets})
- add_executable (${target} ${target}.c)
- target_link_libraries (${target} ${EGL_LIBRARIES} ${GLESV2_LIBRARIES} ${X11_X11_LIB})
- install (TARGETS ${target} DESTINATION ${subdir})
- endforeach (target)
-endif ()
-
-
-# Targets that can be built both for fullscreen EGL and X11
-
-set (targets
- es2gears
-)
-
-foreach (target ${targets})
- if (X11_FOUND)
- add_executable (${target}_x11 ${target}.c)
- target_link_libraries (${target}_x11 eglut_x11 ${GLESV2_LIBRARIES})
- install (TARGETS ${target}_x11 DESTINATION ${subdir})
- endif ()
-
- if (BUILD_WAYLAND)
- add_executable (${target}_wayland ${target}.c)
- target_link_libraries (${target}_wayland eglut_wayland ${GLESV2_LIBRARIES})
- install (TARGETS ${target}_wayland DESTINATION ${subdir})
- endif (BUILD_WAYLAND)
-endforeach (target)
diff --git a/src/egl/opengles2/Makefile.am b/src/egl/opengles2/Makefile.am
deleted file mode 100644
index 53b6042a..00000000
--- a/src/egl/opengles2/Makefile.am
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright © 2009 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-#
-# Authors:
-# Eric Anholt <eric@anholt.net>
-
-AM_CFLAGS = \
- $(GLESV2_CFLAGS) \
- $(EGL_CFLAGS) \
- $(X11_CFLAGS) \
- -I$(top_srcdir)/src/egl/eglut
-
-AM_LDFLAGS = \
- $(GLESV2_LIBS) \
- $(EGL_LIBS) \
- -lm
-
-if HAVE_EGL
-if HAVE_GLESV2
-bin_PROGRAMS =
-if HAVE_X11
-bin_PROGRAMS += \
- es2_info \
- es2gears_x11 \
- es2tri
-endif
-if HAVE_WAYLAND
-bin_PROGRAMS += es2gears_wayland
-endif
-endif
-endif
-
-es2_info_LDADD = $(X11_LIBS)
-es2tri_LDADD = $(X11_LIBS)
-
-es2gears_x11_SOURCES = es2gears.c
-
-es2gears_x11_LDADD = ../eglut/libeglut_x11.la
-
-es2gears_wayland_SOURCES = es2gears.c
-es2gears_wayland_LDADD = ../eglut/libeglut_wayland.la
-
-EXTRA_DIST = \
- meson.build