diff options
author | Perberos <[email protected]> | 2011-12-01 21:51:44 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 21:51:44 -0300 |
commit | 0b0e6bc987da4fd88a7854ebb12bde705e92c428 (patch) | |
tree | 47d329edd31c67eaa36b2147780e37e197e901b5 /typing-break/Makefile.am | |
download | mate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.bz2 mate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.xz |
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'typing-break/Makefile.am')
-rw-r--r-- | typing-break/Makefile.am | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/typing-break/Makefile.am b/typing-break/Makefile.am new file mode 100644 index 00000000..1e1ad00d --- /dev/null +++ b/typing-break/Makefile.am @@ -0,0 +1,58 @@ +bin_PROGRAMS = mate-typing-monitor + +mate_typing_monitor_SOURCES = \ + main.c \ + drwright.c \ + drwright.h \ + drw-break-window.c \ + drw-break-window.h \ + drw-monitor.c \ + drw-monitor.h \ + drw-utils.c \ + drw-utils.h \ + drw-selection.c \ + drw-selection.h \ + drw-timer.c \ + drw-timer.h + +mate_typing_monitor_CPPFLAGS = \ + -DMATELOCALEDIR="\"$(datadir)/locale\"" \ + -DIMAGEDIR=\"$(pkgdatadir)/pixmaps\" \ + $(AM_CPPFLAGS) +mate_typing_monitor_CFLAGS = \ + @TYPING_CFLAGS@ \ + $(AM_CFLAGS) + +mate_typing_monitor_LDADD = @TYPING_LIBS@ @SCREENSAVER_LIBS@ + +if HAVE_LIBCANBERRA_GTK + mate_typing_monitor_CFLAGS += -DHAVE_CANBERRA_GTK @LIBCANBERRA_GTK_CFLAGS@ + mate_typing_monitor_LDADD += @LIBCANBERRA_GTK_LIBS@ +endif + +if HAVE_APP_INDICATOR + mate_typing_monitor_CFLAGS += -DHAVE_APP_INDICATOR @APP_INDICATOR_CFLAGS@ + mate_typing_monitor_LDADD += @APP_INDICATOR_LIBS@ +endif + +imagedir = $(pkgdatadir)/pixmaps +dist_image_DATA = bar.png bar-red.png bar-green.png bar-disabled.png ocean-stripes.png + +# Themeable application icon +icondir = $(datadir)/icons/hicolor/48x48/apps +dist_icon_DATA = typing-monitor.png +svgicondir = $(datadir)/icons/hicolor/scalable/apps +dist_svgicon_DATA = typing-monitor.svg +gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor +install-data-hook: update-icon-cache +uninstall-hook: update-icon-cache +update-icon-cache: + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + $(gtk_update_icon_cache); \ + else \ + echo "*** Icon cache not updated. After (un)install, run this:"; \ + echo "*** $(gtk_update_icon_cache)"; \ + fi + +-include $(top_srcdir)/git.mk |