2003-06-26 11:40:10 +00:00
|
|
|
bin_PROGRAMS = gnome-typing-monitor
|
|
|
|
|
|
|
|
gnome_typing_monitor_SOURCES = \
|
|
|
|
main.c \
|
|
|
|
drwright.c \
|
|
|
|
drwright.h \
|
|
|
|
drw-break-window.c \
|
|
|
|
drw-break-window.h \
|
|
|
|
drw-monitor.c \
|
|
|
|
drw-monitor.h \
|
2003-08-24 16:29:20 +00:00
|
|
|
drw-utils.c \
|
|
|
|
drw-utils.h \
|
|
|
|
drw-selection.c \
|
2006-07-25 19:33:48 +00:00
|
|
|
drw-selection.h
|
2003-06-26 11:40:10 +00:00
|
|
|
|
2007-01-31 21:09:43 +00:00
|
|
|
gnome_typing_monitor_CPPFLAGS = \
|
|
|
|
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
|
2007-02-02 18:12:40 +00:00
|
|
|
-DIMAGEDIR=\"$(pkgdatadir)/pixmaps\" \
|
2007-01-31 21:09:43 +00:00
|
|
|
$(AM_CPPFLAGS)
|
|
|
|
gnome_typing_monitor_CFLAGS = \
|
2007-06-05 15:44:40 +00:00
|
|
|
@TYPING_CFLAGS@ \
|
2007-01-31 21:09:43 +00:00
|
|
|
$(AM_CFLAGS)
|
|
|
|
|
2007-06-05 15:44:40 +00:00
|
|
|
gnome_typing_monitor_LDADD = @TYPING_LIBS@ @SCREENSAVER_LIBS@
|
2003-06-26 11:40:10 +00:00
|
|
|
|
2007-02-02 18:12:40 +00:00
|
|
|
imagedir = $(pkgdatadir)/pixmaps
|
2007-06-05 15:44:40 +00:00
|
|
|
dist_image_DATA = stop.png bar.png bar-red.png bar-green.png bar-disabled.png ocean-stripes.png
|
2003-06-26 11:40:10 +00:00
|
|
|
|
2007-01-09 19:13:39 +00:00
|
|
|
# Themeable application icon
|
|
|
|
icondir = $(datadir)/icons/hicolor/48x48/apps
|
2007-06-05 15:44:40 +00:00
|
|
|
dist_icon_DATA = typing-monitor.png
|
2007-01-09 19:13:39 +00:00
|
|
|
svgicondir = $(datadir)/icons/hicolor/scalable/apps
|
2007-06-05 15:44:40 +00:00
|
|
|
dist_svgicon_DATA = typing-monitor.svg
|
2007-01-09 19:13:39 +00:00
|
|
|
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
|
2007-06-26 23:29:58 +00:00
|
|
|
install-data-hook: update-icon-cache
|
|
|
|
uninstall-hook: update-icon-cache
|
|
|
|
update-icon-cache:
|
2007-01-09 19:13:39 +00:00
|
|
|
@-if test -z "$(DESTDIR)"; then \
|
|
|
|
echo "Updating Gtk icon cache."; \
|
|
|
|
$(gtk_update_icon_cache); \
|
|
|
|
else \
|
2007-06-26 23:29:58 +00:00
|
|
|
echo "*** Icon cache not updated. After (un)install, run this:"; \
|
2007-01-09 19:13:39 +00:00
|
|
|
echo "*** $(gtk_update_icon_cache)"; \
|
|
|
|
fi
|