summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 4e3ba0f..a7c42c0 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,4 +1,4 @@
-bin_PROGRAMS = mate-session-save
+bin_PROGRAMS = mate-session-save mate-session-inhibit
AM_CPPFLAGS = \
$(MATE_SESSION_CFLAGS) \
@@ -19,4 +19,16 @@ mate_session_save_LDADD = \
$(DBUS_GLIB_LIBS) \
$(MATECONF_LIBS)
+mate_session_inhibit_SOURCES = \
+ mate-session-inhibit.c
+
+mate_session_inhibit_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ $(MATE_SESSION_CFLAGS) \
+ -DLOCALE_DIR=\""$(datadir)/locale"\" \
+ $(DISABLE_DEPRECATED_CFLAGS)
+
+mate_session_inhibit_LDADD = \
+ $(MATE_SESSION_LIBS)
+
-include $(top_srcdir)/git.mk