blob: 18bb61af31fcc9e87057f6888f7946fb6ab0dc7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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 = mate-typing-monitor.png
svgicondir = $(datadir)/icons/hicolor/scalable/apps
dist_svgicon_DATA = mate-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
|