diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-09-09 17:47:27 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-09-09 17:47:27 +0000 |
commit | 03b3c04755082cf45dccf944b412d4b79aeabb72 (patch) | |
tree | 72ff6fe9d3c3bbc4bac27bdcd317067fdfb7ecdf /src/Makefile.am | |
parent | b7f625ed8003197cd9d0a81240aea944860c8dc3 (diff) | |
parent | 2bf6740a420f35942e9f74b7f7ef566de0ba736b (diff) | |
download | ayatana-indicator-datetime-03b3c04755082cf45dccf944b412d4b79aeabb72.tar.gz ayatana-indicator-datetime-03b3c04755082cf45dccf944b412d4b79aeabb72.tar.bz2 ayatana-indicator-datetime-03b3c04755082cf45dccf944b412d4b79aeabb72.zip |
name says it all; this branch is for improving indicator-datetime test coverage.
Approved by Ted Gould, PS Jenkins bot.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 83 |
1 files changed, 53 insertions, 30 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 2f247c1..093a258 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,44 +1,67 @@ -if BUILD_CCPANEL -ccpaneldir = $(libdir)/control-center-1/panels/ -ccpanel_LTLIBRARIES = libindicator-datetime.la -endif +SHARED_CFLAGS = \ + -Wall \ + -Wextra -Wno-missing-field-initializers \ + -Werror \ + $(SERVICE_CFLAGS) \ + $(COVERAGE_CFLAGS) \ + -DTIMEZONE_FILE="\"/etc/timezone\"" \ + -DG_LOG_DOMAIN=\"Indicator-Datetime\" + +### +### +### + +noinst_LIBRARIES = libindicator-datetime-service.a + +libindicator_datetime_service_a_CFLAGS = \ + $(SHARED_CFLAGS) + +libindicator_datetime_service_a_SOURCES = \ + planner.c \ + planner.h \ + planner-eds.c \ + planner-eds.h \ + service.c \ + service.h \ + 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 + +### +### +### 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 + main.c indicator_datetime_service_CFLAGS = \ - -Wall \ - -Wextra -Wno-missing-field-initializers \ - -Werror \ - $(SERVICE_CFLAGS) \ - $(COVERAGE_CFLAGS) \ - -DTIMEZONE_FILE="\"/etc/timezone\"" \ - -DG_LOG_DOMAIN=\"Indicator-Datetime\" + $(SHARED_CFLAGS) + indicator_datetime_service_LDADD = \ - $(SERVICE_LIBS) + libindicator-datetime-service.a \ + $(SERVICE_LIBS) + indicator_datetime_service_LDFLAGS = \ - $(COVERAGE_LDFLAGS) + $(COVERAGE_LDFLAGS) + +### +### +### if BUILD_CCPANEL +ccpaneldir = $(libdir)/control-center-1/panels/ +ccpanel_LTLIBRARIES = libindicator-datetime.la + libindicator_datetime_la_SOURCES =\ datetime-prefs.c \ datetime-prefs-locations.c \ |