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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
# vi:set ts=8 sw=8 noet ai nocindent:
#-
# Copyright (c) 2009 Jannis Pohlmann <jannis@xfce.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
libexec_PROGRAMS = \
tumblerd
tumblerd_built_sources = \
tumbler-cache-service-dbus-bindings.h \
tumbler-manager-dbus-bindings.h \
tumbler-service-dbus-bindings.h
tumblerd_SOURCES = \
main.c \
tumbler-cache-service.c \
tumbler-cache-service.h \
tumbler-manager.c \
tumbler-manager.h \
tumbler-naive-scheduler.c \
tumbler-naive-scheduler.h \
tumbler-registry.c \
tumbler-registry.h \
tumbler-scheduler.c \
tumbler-scheduler.h \
tumbler-service.c \
tumbler-service.h \
tumbler-specialized-thumbnailer.c \
tumbler-specialized-thumbnailer.h \
tumbler-threshold-scheduler.c \
tumbler-threshold-scheduler.h \
tumbler-utils.h \
$(tumbler_built_sources)
tumblerd_CFLAGS = \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
-DG_LOG_DOMAIN=\"tumblerd\" \
-I$(top_srcdir) \
$(DBUS_CFLAGS) \
$(DBUS_GLIB_CFLAGS) \
$(GDK_PIXBUF_CFLAGS) \
$(GIO_CFLAGS) \
$(GLIB_CFLAGS) \
$(GTHREAD_CFLAGS)
tumblerd_LDFLAGS = \
-no-undefined
tumblerd_DEPENDENCIES = \
$(top_builddir)/tumbler/libtumbler-$(TUMBLER_VERSION_API).la
tumblerd_LDADD = \
$(DBUS_LIBS) \
$(DBUS_GLIB_LIBS) \
$(GDK_PIXBUF_LIBS) \
$(GIO_LIBS) \
$(GLIB_LIBS) \
$(GTHREAD_LIBS) \
$(top_builddir)/tumbler/libtumbler-$(TUMBLER_VERSION_API).la
servicedir = $(datadir)/dbus-1/services
service_in_files = org.xfce.Tumbler.service.in
service_DATA = $(service_in_files:.service.in=.service)
%.service: %.service.in
sed -e "s,\@libexecdir\@,$(libexecdir),g" < $< > $@
CLEANFILES = \
$(service_DATA)
EXTRA_DIST = \
$(service_in_files) \
tumbler-cache-service-dbus.xml \
tumbler-manager-dbus.xml \
tumbler-service-dbus.xml
if MAINTAINER_MODE
DISTCLEANFILES = \
$(tumblerd_built_sources)
BUILT_SOURCES = \
$(tumblerd_built_sources)
tumbler-cache-service-dbus-bindings.h: tumbler-cache-service-dbus.xml Makefile
dbus-binding-tool --mode=glib-server --prefix=tumbler_cache_service $< > $@
tumbler-manager-dbus-bindings.h: tumbler-manager-dbus.xml Makefile
dbus-binding-tool --mode=glib-server --prefix=tumbler_manager $< > $@
tumbler-service-dbus-bindings.h: tumbler-service-dbus.xml Makefile
dbus-binding-tool --mode=glib-server --prefix=tumbler_service $< > $@
endif
|