summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-04-17 23:53:35 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2019-04-19 21:26:31 +0200
commitda0e17fbb19958d838a9ea6093a05384aa6fc207 (patch)
tree8fa500bceb8954544bf46426e93a6ca3b2f8a4ce /tools/Makefile.am
parentc4c134d1a1745baa3491e6f6d999f8e6f1ef5239 (diff)
downloadmate-session-manager-da0e17fbb19958d838a9ea6093a05384aa6fc207.tar.bz2
mate-session-manager-da0e17fbb19958d838a9ea6093a05384aa6fc207.tar.xz
Add mate_session_check_accelerated helpers
tools/mate-session-check-accelerated.{c,h} tools/mate-session-check-accelerated-gles-helper.c tools/mate-session-check-accelerated-gl-helper.c based on https://github.com/GNOME/gnome-session/commit/3aafcf0f0129e28b5c52f32284f1164a93867ea3 configure.ac tools/Makefile.am based on: based on https://github.com/GNOME/gnome-session/tree/eeefdc8e1a436d0c58cea756e8a3ea63e59145b5
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am45
1 files changed, 45 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 5680214..01734e5 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,4 +1,8 @@
bin_PROGRAMS = mate-session-save mate-session-inhibit
+libexec_PROGRAMS = \
+ mate-session-check-accelerated \
+ mate-session-check-accelerated-gl-helper \
+ mate-session-check-accelerated-gles-helper
AM_CPPFLAGS = \
$(MATE_SESSION_CFLAGS) \
@@ -27,4 +31,45 @@ mate_session_inhibit_CPPFLAGS = \
mate_session_inhibit_LDADD = \
$(MATE_SESSION_LIBS)
+mate_session_check_accelerated_gles_helper_SOURCES = \
+ mate-session-check-accelerated-common.h \
+ mate-session-check-accelerated-gles-helper.c
+
+mate_session_check_accelerated_gles_helper_CPPFLAGS = \
+ -DPKGDATADIR=\""$(pkgdatadir)"\" \
+ $(GLES_TEST_CFLAGS) \
+ $(GTK3_CFLAGS)
+
+mate_session_check_accelerated_gles_helper_LDADD = \
+ $(GLES_TEST_LIBS) \
+ $(GTK3_LIBS) \
+ $(X11_LIBS)
+
+mate_session_check_accelerated_gl_helper_SOURCES = \
+ mate-session-check-accelerated-common.h \
+ mate-session-check-accelerated-gl-helper.c
+
+mate_session_check_accelerated_gl_helper_CPPFLAGS = \
+ -DPKGDATADIR=\""$(pkgdatadir)"\" \
+ $(GL_TEST_CFLAGS)
+
+mate_session_check_accelerated_gl_helper_LDADD = \
+ $(GL_TEST_LIBS) \
+ $(X11_LIBS)
+
+mate_session_check_accelerated_SOURCES = \
+ mate-session-check-accelerated-common.h \
+ mate-session-check-accelerated.c
+
+mate_session_check_accelerated_CPPFLAGS = \
+ -DLIBEXECDIR=\""$(libexecdir)"\" \
+ $(AM_CPPFLAGS) \
+ $(GTK3_CFLAGS) \
+ $(GL_TEST_CFLAGS)
+
+mate_session_check_accelerated_LDADD = \
+ $(GTK3_LIBS) \
+ $(X11_LIBS) \
+ $(GL_TEST_LIBS)
+
-include $(top_srcdir)/git.mk