1
# This is used in PANEL_CFLAGS
6
icons16dir = $(datadir)/icons/hicolor/16x16/apps
7
dist_icons16_DATA = icons/16x16/preferences-system-time.png
8
icons22dir = $(datadir)/icons/hicolor/22x22/apps
9
dist_icons22_DATA = icons/22x22/preferences-system-time.png
10
icons32dir = $(datadir)/icons/hicolor/32x32/apps
11
dist_icons32_DATA = icons/32x32/preferences-system-time.png
12
icons48dir = $(datadir)/icons/hicolor/48x48/apps
13
dist_icons48_DATA = icons/48x48/preferences-system-time.png
14
icons256dir = $(datadir)/icons/hicolor/256x256/apps
15
dist_icons256_DATA = icons/256x256/preferences-system-time.png
16
iconsscalabledir = $(datadir)/icons/hicolor/scalable/apps
17
dist_iconsscalable_DATA = icons/scalable/preferences-system-time.svg
19
uidir = $(pkgdatadir)/ui/datetime
26
data/timezone_-10.png \
27
data/timezone_10.png \
28
data/timezone_10.5.png \
29
data/timezone_-1.png \
31
data/timezone_-11.png \
32
data/timezone_11.png \
33
data/timezone_11.5.png \
34
data/timezone_12.png \
35
data/timezone_12.75.png \
36
data/timezone_13.png \
37
data/timezone_14.png \
38
data/timezone_-2.png \
40
data/timezone_-3.png \
42
data/timezone_-3.5.png \
43
data/timezone_3.5.png \
44
data/timezone_-4.png \
46
data/timezone_-4.5.png \
47
data/timezone_4.5.png \
48
data/timezone_-5.png \
50
data/timezone_-5.5.png \
51
data/timezone_5.5.png \
52
data/timezone_5.75.png \
53
data/timezone_-6.png \
55
data/timezone_6.5.png \
56
data/timezone_-7.png \
58
data/timezone_-8.png \
60
data/timezone_8.75.png \
61
data/timezone_-9.png \
63
data/timezone_-9.5.png \
66
tzdatadir = $(pkgdatadir)/datetime
67
dist_tzdata_DATA = backward
71
$(DATETIME_PANEL_CFLAGS) \
72
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
73
-DGNOMECC_DATA_DIR="\"$(pkgdatadir)\"" \
74
-DDATADIR="\"$(uidir)\"" \
77
noinst_PROGRAMS = test-timezone-gfx test-endianess test-timezone
79
test_timezone_SOURCES = test-timezone.c cc-timezone-map.h cc-timezone-map.c tz.c tz.h
80
test_timezone_LDADD = $(DATETIME_PANEL_LIBS)
81
test_timezone_CFLAGS = $(DATETIME_PANEL_CFLAGS)
83
test_timezone_gfx_SOURCES = test-timezone-gfx.c tz.c tz.h
84
test_timezone_gfx_LDADD = $(DATETIME_PANEL_LIBS)
85
test_timezone_gfx_CFLAGS = $(DATETIME_PANEL_CFLAGS)
87
test_endianess_SOURCES = test-endianess.c date-endian.c date-endian.h
88
test_endianess_LDADD = $(DATETIME_PANEL_LIBS)
89
test_endianess_CFLAGS = $(DATETIME_PANEL_CFLAGS)
91
all-local: check-local
93
check-local: test-timezone-gfx test-endianess test-timezone
94
$(builddir)/test-timezone-gfx $(srcdir)/data
95
$(builddir)/test-endianess
96
# $(builddir)/test-timezone
98
ccpanelsdir = $(PANELS_DIR)
99
ccpanels_LTLIBRARIES = libdate_time.la
102
# This requires running d-bus session and accessible timedate1 daemon
103
# FIXME: need to find a way how to filter out unnecessary d-bus stuff (introspectable, properties)
104
#timedated1-interface.xml:
108
# --dest org.freedesktop.timedate1 \
109
# --object-path /org/freedesktop/timedate1 \
110
# > timedated1-interface.xml
112
dbus_built_sources = timedated.c timedated.h
113
timedated.c: timedated.h
114
timedated.h: Makefile.am timedated1-interface.xml
116
--interface-prefix org.freedesktop. \
117
--generate-c-code timedated \
118
$(srcdir)/timedated1-interface.xml
120
libdate_time_la_SOURCES = \
122
cc-datetime-panel.c \
123
cc-datetime-panel.h \
129
$(dbus_built_sources) \
132
libdate_time_la_LIBADD = $(PANEL_LIBS) $(DATETIME_PANEL_LIBS)
133
libdate_time_la_LDFLAGS = $(PANEL_LDFLAGS)
136
polkitdir = $(datadir)/polkit-1/actions
137
polkit_in_files = org.gnome.controlcenter.datetime.policy.in
139
@INTLTOOL_POLICY_RULE@
140
polkit_DATA = $(polkit_in_files:.policy.in=.policy)
143
@INTLTOOL_DESKTOP_RULE@
145
desktopdir = $(datadir)/applications
146
desktop_in_files = gnome-datetime-panel.desktop.in
147
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
150
$(desktop_in_files) \
152
$(dbus_built_sources) \
153
org.gnome.controlcenter.datetime.policy
156
timedated1-interface.xml \
159
BUILT_SOURCES = $(dbus_built_sources)
161
-include $(top_srcdir)/git.mk