blob: a92010005ade0c37db181912306ec7f7e566eb4e (
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
59
60
61
62
|
dbus_servicesdir = $(datadir)/dbus-1/system-services
dbus_confdir = $(DBUS_SYS_DIR)
polkitdir = $(datadir)/polkit-1/actions
dbus_services_in_files = org.mate.SettingsDaemon.DateTimeMechanism.service.in
polkit_in_files = org.mate.settingsdaemon.datetimemechanism.policy.in
msd-datetime-mechanism-glue.h: $(srcdir)/msd-datetime-mechanism.xml
$(AM_V_GEN) dbus-binding-tool \
--prefix=msd_datetime_mechanism --mode=glib-server \
--output=msd-datetime-mechanism-glue.h \
$(srcdir)/msd-datetime-mechanism.xml
if HAVE_POLKIT
libexec_PROGRAMS = msd-datetime-mechanism
endif
msd_datetime_mechanism_SOURCES = \
msd-datetime-mechanism.c \
msd-datetime-mechanism.h \
msd-datetime-mechanism-main.c \
system-timezone.c \
system-timezone.h
if HAVE_POLKIT
BUILT_SOURCES = msd-datetime-mechanism-glue.h
endif
AM_CFLAGS = $(WARN_CFLAGS) $(SETTINGS_PLUGIN_CFLAGS) $(POLKIT_CFLAGS)
msd_datetime_mechanism_LDADD = $(POLKIT_LIBS) $(SETTINGS_PLUGIN_LIBS)
if HAVE_POLKIT
dbus_services_DATA = $(dbus_services_in_files:.service.in=.service)
$(dbus_services_DATA): $(dbus_services_in_files)
$(AM_V_GEN)sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@
dbus_conf_DATA = org.mate.SettingsDaemon.DateTimeMechanism.conf
polkit_DATA = $(polkit_in_files:.policy.in=.policy)
$(polkit_DATA): $(polkit_in_files)
$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
else
dbus_services_DATA =
dbus_conf_DATA =
polkit_DATA =
endif
EXTRA_DIST = \
$(dbus_services_in_files) \
org.mate.SettingsDaemon.DateTimeMechanism.conf \
$(polkit_in_files) \
msd-datetime-mechanism.xml
CLEANFILES = \
org.mate.SettingsDaemon.DateTimeMechanism.service \
org.mate.settingsdaemon.datetimemechanism.policy \
$(BUILT_SOURCES)
-include $(top_srcdir)/git.mk
|