aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 2f247c15719f9afb2c0b94976c86c3a316163e29 (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

if BUILD_CCPANEL
ccpaneldir = $(libdir)/control-center-1/panels/
ccpanel_LTLIBRARIES = libindicator-datetime.la
endif

libexec_PROGRAMS = indicator-datetime-service

indicator_datetime_service_SOURCES = \
	planner.c \
	planner.h \
	planner-eds.c \
	planner-eds.h \
	service.c \
	service.h \
	main.c \
	timezone.c \
	timezone.h \
	timezone-file.c \
	timezone-file.h \
	timezone-geoclue.c \
	timezone-geoclue.h \
	utils.c \
	utils.h \
	dbus-shared.h \
	settings-shared.h

indicator_datetime_service_CFLAGS = \
	-Wall \
        -Wextra -Wno-missing-field-initializers \
	-Werror \
	$(SERVICE_CFLAGS) \
	$(COVERAGE_CFLAGS) \
	-DTIMEZONE_FILE="\"/etc/timezone\"" \
	-DG_LOG_DOMAIN=\"Indicator-Datetime\"
indicator_datetime_service_LDADD = \
	$(SERVICE_LIBS)
indicator_datetime_service_LDFLAGS = \
	$(COVERAGE_LDFLAGS)

if BUILD_CCPANEL
libindicator_datetime_la_SOURCES =\
	datetime-prefs.c \
	datetime-prefs-locations.c \
	datetime-prefs-locations.h \
	utils.c \
	utils.h \
	settings-shared.h
libindicator_datetime_la_CFLAGS = \
	-Wall \
	-Werror \
	$(PREF_CFLAGS) \
	$(COVERAGE_CFLAGS) \
	-DTIMEZONE_FILE="\"/etc/timezone\"" \
	-DPKGDATADIR="\"$(pkgdatadir)\""
libindicator_datetime_la_LIBADD = \
	$(PREF_LIBS)
libindicator_datetime_la_LDFLAGS = \
	$(COVERAGE_LDFLAGS) \
	-module -avoid-version
endif