diff options
author | Milan Crha <mcrha@redhat.com> | 2014-03-25 19:04:58 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-03-25 19:04:58 +0800 |
commit | 8692b1cb72654888f0dab31843bdf05d3ac2a888 (patch) | |
tree | 3e172e8085830cf0770cf0a7ab04bd714753d3a9 /plugins | |
parent | 399b1a6fc593a9c5e692923120346e0386f578e5 (diff) | |
download | gsoc2013-evolution-8692b1cb72654888f0dab31843bdf05d3ac2a888.tar.gz gsoc2013-evolution-8692b1cb72654888f0dab31843bdf05d3ac2a888.tar.zst gsoc2013-evolution-8692b1cb72654888f0dab31843bdf05d3ac2a888.zip |
Add an --enable-code-coverage configure option to enable gcov support
When enabled, this will compile all libraries/binaries with the necessary
gcc and ld flags to enable code coverage support using gcov.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/attachment-reminder/Makefile.am | 5 | ||||
-rw-r--r-- | plugins/bbdb/Makefile.am | 5 | ||||
-rw-r--r-- | plugins/dbx-import/Makefile.am | 5 | ||||
-rw-r--r-- | plugins/email-custom-header/Makefile.am | 5 | ||||
-rw-r--r-- | plugins/external-editor/Makefile.am | 6 | ||||
-rw-r--r-- | plugins/face/Makefile.am | 5 | ||||
-rw-r--r-- | plugins/image-inline/Makefile.am | 5 | ||||
-rw-r--r-- | plugins/mail-notification/Makefile.am | 5 | ||||
-rw-r--r-- | plugins/mail-to-task/Makefile.am | 5 | ||||
-rw-r--r-- | plugins/mailing-list-actions/Makefile.am | 5 | ||||
-rw-r--r-- | plugins/pst-import/Makefile.am | 5 | ||||
-rw-r--r-- | plugins/publish-calendar/Makefile.am | 5 | ||||
-rw-r--r-- | plugins/save-calendar/Makefile.am | 6 | ||||
-rw-r--r-- | plugins/templates/Makefile.am | 5 |
14 files changed, 44 insertions, 28 deletions
diff --git a/plugins/attachment-reminder/Makefile.am b/plugins/attachment-reminder/Makefile.am index e4a7d99cc0..9fbbdb1271 100644 --- a/plugins/attachment-reminder/Makefile.am +++ b/plugins/attachment-reminder/Makefile.am @@ -16,11 +16,12 @@ liborg_gnome_evolution_attachment_reminder_la_CPPFLAGS = \ -DEVOLUTION_PLUGINDIR="\"$(plugindir)\"" \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_evolution_attachment_reminder_la_SOURCES = attachment-reminder.c -liborg_gnome_evolution_attachment_reminder_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_evolution_attachment_reminder_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) liborg_gnome_evolution_attachment_reminder_la_LIBADD = \ $(top_builddir)/composer/libevolution-mail-composer.la \ diff --git a/plugins/bbdb/Makefile.am b/plugins/bbdb/Makefile.am index 3248bbb51c..991f662cbc 100644 --- a/plugins/bbdb/Makefile.am +++ b/plugins/bbdb/Makefile.am @@ -17,11 +17,12 @@ liborg_gnome_evolution_bbdb_la_CPPFLAGS = \ -I$(top_srcdir) \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_evolution_bbdb_la_SOURCES = bbdb.c bbdb.h gaimbuddies.c -liborg_gnome_evolution_bbdb_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_evolution_bbdb_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) liborg_gnome_evolution_bbdb_la_LIBADD = \ $(top_builddir)/e-util/libevolution-util.la \ diff --git a/plugins/dbx-import/Makefile.am b/plugins/dbx-import/Makefile.am index 3f0d5cf648..80c5f9f953 100644 --- a/plugins/dbx-import/Makefile.am +++ b/plugins/dbx-import/Makefile.am @@ -16,11 +16,12 @@ liborg_gnome_dbx_import_la_CPPFLAGS = \ -I$(top_builddir) \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_dbx_import_la_SOURCES = dbx-importer.c -liborg_gnome_dbx_import_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_dbx_import_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) liborg_gnome_dbx_import_la_LIBADD = \ $(top_builddir)/mail/libevolution-mail.la \ diff --git a/plugins/email-custom-header/Makefile.am b/plugins/email-custom-header/Makefile.am index 178d1a104d..7014929882 100644 --- a/plugins/email-custom-header/Makefile.am +++ b/plugins/email-custom-header/Makefile.am @@ -12,7 +12,8 @@ liborg_gnome_email_custom_header_la_CPPFLAGS = \ -I$(top_builddir)/composer \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_email_custom_header_la_SOURCES = \ email-custom-header.c \ @@ -26,7 +27,7 @@ liborg_gnome_email_custom_header_la_LIBADD = \ $(GNOME_PLATFORM_LIBS) \ $(GTKHTML_LIBS) -liborg_gnome_email_custom_header_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_email_custom_header_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) ui_DATA = \ org-gnome-email-custom-header.ui diff --git a/plugins/external-editor/Makefile.am b/plugins/external-editor/Makefile.am index 90d8655291..98c547e52f 100644 --- a/plugins/external-editor/Makefile.am +++ b/plugins/external-editor/Makefile.am @@ -28,13 +28,15 @@ liborg_gnome_external_editor_la_CPPFLAGS = \ -I$(top_srcdir)/composer \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_external_editor_la_SOURCES = \ external-editor.c liborg_gnome_external_editor_la_LDFLAGS = \ - -module -avoid-version $(NO_UNDEFINED) + -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) + liborg_gnome_external_editor_la_LIBADD = \ $(top_builddir)/e-util/libevolution-util.la \ $(top_builddir)/composer/libevolution-mail-composer.la \ diff --git a/plugins/face/Makefile.am b/plugins/face/Makefile.am index 45bbbd5a4c..dd449378c6 100644 --- a/plugins/face/Makefile.am +++ b/plugins/face/Makefile.am @@ -12,7 +12,8 @@ liborg_gnome_face_la_CPPFLAGS = \ -I$(top_builddir)/composer \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_face_la_SOURCES = face.c @@ -24,7 +25,7 @@ liborg_gnome_face_la_LIBADD = \ $(GNOME_PLATFORM_LIBS) \ $(GTKHTML_LIBS) -liborg_gnome_face_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_face_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) error_DATA = org-gnome-face.error diff --git a/plugins/image-inline/Makefile.am b/plugins/image-inline/Makefile.am index 9cb4f9f242..52458d5774 100644 --- a/plugins/image-inline/Makefile.am +++ b/plugins/image-inline/Makefile.am @@ -9,11 +9,12 @@ liborg_gnome_image_inline_la_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_srcdir)/widgets \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKIMAGEVIEW_CFLAGS) + $(GTKIMAGEVIEW_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_image_inline_la_SOURCES = image-inline.c -liborg_gnome_image_inline_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_image_inline_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) liborg_gnome_image_inline_la_LIBADD = \ $(top_builddir)/mail/libevolution-mail.la \ diff --git a/plugins/mail-notification/Makefile.am b/plugins/mail-notification/Makefile.am index 2b5fef0123..521690cde0 100644 --- a/plugins/mail-notification/Makefile.am +++ b/plugins/mail-notification/Makefile.am @@ -18,11 +18,12 @@ liborg_gnome_mail_notification_la_CPPFLAGS = \ $(GNOME_PLATFORM_CFLAGS) \ $(LIBNOTIFY_CFLAGS) \ $(CANBERRA_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_mail_notification_la_SOURCES = mail-notification.c -liborg_gnome_mail_notification_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_mail_notification_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) liborg_gnome_mail_notification_la_LIBADD = \ $(top_builddir)/e-util/libevolution-util.la \ diff --git a/plugins/mail-to-task/Makefile.am b/plugins/mail-to-task/Makefile.am index c6b7c0ea71..fd4c4c5db9 100644 --- a/plugins/mail-to-task/Makefile.am +++ b/plugins/mail-to-task/Makefile.am @@ -9,11 +9,12 @@ liborg_gnome_mail_to_task_la_CPPFLAGS = \ -I$(top_srcdir) \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_mail_to_task_la_SOURCES = mail-to-task.c -liborg_gnome_mail_to_task_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_mail_to_task_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) liborg_gnome_mail_to_task_la_LIBADD = \ $(top_builddir)/e-util/libevolution-util.la \ diff --git a/plugins/mailing-list-actions/Makefile.am b/plugins/mailing-list-actions/Makefile.am index 2da8d9b89f..fcb9f55f72 100644 --- a/plugins/mailing-list-actions/Makefile.am +++ b/plugins/mailing-list-actions/Makefile.am @@ -9,11 +9,12 @@ liborg_gnome_mailing_list_actions_la_CPPFLAGS = \ -I$(top_builddir)/composer \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_mailing_list_actions_la_SOURCES = mailing-list-actions.c -liborg_gnome_mailing_list_actions_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_mailing_list_actions_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) liborg_gnome_mailing_list_actions_la_LIBADD = \ $(top_builddir)/e-util/libevolution-util.la \ diff --git a/plugins/pst-import/Makefile.am b/plugins/pst-import/Makefile.am index 675968e8df..6e6d89a1b3 100644 --- a/plugins/pst-import/Makefile.am +++ b/plugins/pst-import/Makefile.am @@ -18,11 +18,12 @@ liborg_gnome_pst_import_la_CPPFLAGS = \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ $(GTKHTML_CFLAGS) \ - $(LIBPST_CFLAGS) + $(LIBPST_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_pst_import_la_SOURCES = pst-importer.c -liborg_gnome_pst_import_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_pst_import_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) liborg_gnome_pst_import_la_LIBADD = \ $(top_builddir)/shell/libevolution-shell.la \ diff --git a/plugins/publish-calendar/Makefile.am b/plugins/publish-calendar/Makefile.am index cb7540b2f2..a24b979792 100644 --- a/plugins/publish-calendar/Makefile.am +++ b/plugins/publish-calendar/Makefile.am @@ -17,7 +17,8 @@ liborg_gnome_publish_calendar_la_CPPFLAGS = \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ $(GTKHTML_CFLAGS) \ - $(LIBNOTIFY_CFLAGS) + $(LIBNOTIFY_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_publish_calendar_la_SOURCES = \ publish-calendar.c \ @@ -30,7 +31,7 @@ liborg_gnome_publish_calendar_la_SOURCES = \ url-editor-dialog.c \ url-editor-dialog.h -liborg_gnome_publish_calendar_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_publish_calendar_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) liborg_gnome_publish_calendar_la_LIBADD = \ $(top_builddir)/e-util/libevolution-util.la \ diff --git a/plugins/save-calendar/Makefile.am b/plugins/save-calendar/Makefile.am index 3bb958ad27..2a70531cd8 100644 --- a/plugins/save-calendar/Makefile.am +++ b/plugins/save-calendar/Makefile.am @@ -9,7 +9,8 @@ liborg_gnome_save_calendar_la_CPPFLAGS = \ -I$(top_srcdir) \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_save_calendar_la_SOURCES = \ save-calendar.c \ @@ -18,7 +19,8 @@ liborg_gnome_save_calendar_la_SOURCES = \ rdf-format.c \ format-handler.h -liborg_gnome_save_calendar_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_save_calendar_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) + liborg_gnome_save_calendar_la_LIBADD = \ $(top_builddir)/e-util/libevolution-util.la \ $(top_builddir)/shell/libevolution-shell.la \ diff --git a/plugins/templates/Makefile.am b/plugins/templates/Makefile.am index ccb3d56626..a5d56c7958 100644 --- a/plugins/templates/Makefile.am +++ b/plugins/templates/Makefile.am @@ -11,11 +11,12 @@ liborg_gnome_templates_la_CPPFLAGS = \ -I$(top_builddir)/composer \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_templates_la_SOURCES = templates.c -liborg_gnome_templates_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_templates_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) liborg_gnome_templates_la_LIBADD = \ $(top_builddir)/e-util/libevolution-util.la \ |