blob: 46cff1cf6277a2caa84b50f6fe5bd2c7d3333bc8 (
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
|
libexec_PROGRAMS = indicator-datetime-service
indicator_datetime_service_SOURCES = \
datetime-interface.c \
datetime-interface.h \
datetime-server.h \
calendar-menu-item.c \
calendar-menu-item.h \
datetime-service.c \
dbus-shared.h
indicator_datetime_service_CFLAGS = \
-Wall \
-Werror \
$(INDICATOR_CFLAGS) \
-DTIMEZONE_FILE="\"/etc/timezone\""
indicator_datetime_service_LDADD = \
$(INDICATOR_LIBS)
datetimelibdir = $(INDICATORDIR)
datetimelib_LTLIBRARIES = libdatetime.la
libdatetime_la_SOURCES = \
datetime-client.h \
dbus-shared.h \
indicator-datetime.c
libdatetime_la_CFLAGS = \
$(INDICATOR_CFLAGS) \
-Wall -Werror
libdatetime_la_LIBADD = \
$(INDICATOR_LIBS)
libdatetime_la_LDFLAGS = \
-module \
-avoid-version
datetime-service-client.h: $(srcdir)/datetime-service.xml
dbus-binding-tool \
--prefix=_datetime_service_client \
--mode=glib-client \
--output=datetime-service-client.h \
$(srcdir)/datetime-service.xml
datetime-service-server.h: $(srcdir)/datetime-service.xml
dbus-binding-tool \
--prefix=_datetime_service_server \
--mode=glib-server \
--output=datetime-service-server.h \
$(srcdir)/datetime-service.xml
BUILT_SOURCES = \
datetime-service-client.h \
datetime-service-server.h
CLEANFILES = \
$(BUILT_SOURCES)
EXTRA_DIST = \
datetime-service.xml
|