~ps-jenkins/indicator-datetime/utopic-proposed

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Allan LeSage
  • Date: 2011-12-07 00:43:35 UTC
  • mto: This revision was merged to the branch mainline in revision 152.
  • Revision ID: allanlesage@gmail.com-20111207004335-cituc6bfe0syhpfa
Added coverage reporting via gcov config and targets.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
        -Wall \
18
18
        -Werror \
19
19
        $(SERVICE_CFLAGS) \
 
20
        $(COVERAGE_CFLAGS) \
20
21
        -DTIMEZONE_FILE="\"/etc/timezone\"" \
21
22
        -DG_LOG_DOMAIN=\"Indicator-Datetime\"
22
23
indicator_datetime_service_LDADD = \
23
24
        $(SERVICE_LIBS)
 
25
indicator_datetime_service_LDFLAGS = \
 
26
        $(COVERAGE_LDFLAGS)
24
27
 
25
28
datetimelibdir = $(INDICATORDIR)
26
29
datetimelib_LTLIBRARIES = libdatetime.la
33
36
        indicator-datetime.c
34
37
libdatetime_la_CFLAGS = \
35
38
        $(INDICATOR_CFLAGS) \
 
39
        $(COVERAGE_CFLAGS) \
36
40
        -Wall -Werror \
37
41
        -DTIMEZONE_FILE="\"/etc/timezone\"" \
38
42
        -DG_LOG_DOMAIN=\"Indicator-Datetime\"
39
43
libdatetime_la_LIBADD = \
40
44
        $(INDICATOR_LIBS)
41
45
libdatetime_la_LDFLAGS = \
 
46
        $(COVERAGE_LDFLAGS) \
42
47
        -module \
43
48
        -avoid-version
44
49
 
56
61
        -Werror \
57
62
        -I$(top_srcdir)/libmap \
58
63
        $(PREF_CFLAGS) \
 
64
        $(COVERAGE_CFLAGS) \
59
65
        -DTIMEZONE_FILE="\"/etc/timezone\"" \
60
66
        -DPKGDATADIR="\"$(pkgdatadir)\""
61
67
libindicator_datetime_la_LIBADD = \
62
68
         $(top_builddir)/libmap/libmap.la \
63
69
        $(PREF_LIBS)
64
 
libindicator_datetime_la_LDFLAGS = -module -avoid-version
 
70
libindicator_datetime_la_LDFLAGS = \
 
71
        $(COVERAGE_LDFLAGS) \
 
72
        -module -avoid-version
65
73
 
66
74
gen-%.xml.c: %.xml
67
75
        @echo "Building $@ from $<"