diff options
author | Allan LeSage <allanlesage@gmail.com> | 2011-12-06 18:43:35 -0600 |
---|---|---|
committer | Allan LeSage <allanlesage@gmail.com> | 2011-12-06 18:43:35 -0600 |
commit | 4b4a2a0b444d26303df7865cebb56bf942c6d022 (patch) | |
tree | fcbe197a1cab8e810e13c3cc70c6b94b800cd2ea /src/Makefile.am | |
parent | ba87e5cb673992cee0fcb0bb3c90523974836a30 (diff) | |
download | ayatana-indicator-datetime-4b4a2a0b444d26303df7865cebb56bf942c6d022.tar.gz ayatana-indicator-datetime-4b4a2a0b444d26303df7865cebb56bf942c6d022.tar.bz2 ayatana-indicator-datetime-4b4a2a0b444d26303df7865cebb56bf942c6d022.zip |
Added coverage reporting via gcov config and targets.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 254022e..e4269f8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,10 +17,13 @@ indicator_datetime_service_CFLAGS = \ -Wall \ -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) datetimelibdir = $(INDICATORDIR) datetimelib_LTLIBRARIES = libdatetime.la @@ -33,12 +36,14 @@ libdatetime_la_SOURCES = \ indicator-datetime.c libdatetime_la_CFLAGS = \ $(INDICATOR_CFLAGS) \ + $(COVERAGE_CFLAGS) \ -Wall -Werror \ -DTIMEZONE_FILE="\"/etc/timezone\"" \ -DG_LOG_DOMAIN=\"Indicator-Datetime\" libdatetime_la_LIBADD = \ $(INDICATOR_LIBS) libdatetime_la_LDFLAGS = \ + $(COVERAGE_LDFLAGS) \ -module \ -avoid-version @@ -56,12 +61,15 @@ libindicator_datetime_la_CFLAGS = \ -Werror \ -I$(top_srcdir)/libmap \ $(PREF_CFLAGS) \ + $(COVERAGE_CFLAGS) \ -DTIMEZONE_FILE="\"/etc/timezone\"" \ -DPKGDATADIR="\"$(pkgdatadir)\"" libindicator_datetime_la_LIBADD = \ $(top_builddir)/libmap/libmap.la \ $(PREF_LIBS) -libindicator_datetime_la_LDFLAGS = -module -avoid-version +libindicator_datetime_la_LDFLAGS = \ + $(COVERAGE_LDFLAGS) \ + -module -avoid-version gen-%.xml.c: %.xml @echo "Building $@ from $<" |