diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-10-05 09:32:41 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-10-05 10:27:14 +0800 |
commit | 1f38f4d92ca8eb97381b2c9a7022830a6d4bcaba (patch) | |
tree | 8b3d99bcac99c3a3edbb2939ea0226c187a39eb4 /modules/mail | |
parent | 273b10a5baebd97bea4aeb1dae158f93ce93eb72 (diff) | |
download | gsoc2013-evolution-1f38f4d92ca8eb97381b2c9a7022830a6d4bcaba.tar.gz gsoc2013-evolution-1f38f4d92ca8eb97381b2c9a7022830a6d4bcaba.tar.zst gsoc2013-evolution-1f38f4d92ca8eb97381b2c9a7022830a6d4bcaba.zip |
Simplify library dependency flags.
We have a confusing array of nearly-identical CFLAGS/LIBS definitions in
configure.ac. Time to simplify. Instead let's just have one definition
that includes all the libraries provided by Evolution-Data-Server (incl.
Camel). That, in combination with GNOME_PLATFORM, gives us most of what
we need for compliation and linking, and we can sprinkle definitions for
additional library dependencies in Makefile.am's as needed.
Diffstat (limited to 'modules/mail')
-rw-r--r-- | modules/mail/Makefile.am | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/modules/mail/Makefile.am b/modules/mail/Makefile.am index 0bea9ac1a2..90cf1aa54f 100644 --- a/modules/mail/Makefile.am +++ b/modules/mail/Makefile.am @@ -5,13 +5,13 @@ libevolution_module_mail_la_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_srcdir)/mail \ -I$(top_srcdir)/widgets \ - $(GNOME_PLATFORM_CFLAGS) \ - $(EVOLUTION_MAIL_CFLAGS) \ - $(CAMEL_CFLAGS) \ -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\" \ -DEVOLUTION_UIDIR=\""$(uidir)"\" \ -DEVOLUTION_PRIVDATADIR=\""$(privdatadir)"\" \ - -DG_LOG_DOMAIN=\"evolution-module-mail\" + -DG_LOG_DOMAIN=\"evolution-module-mail\" \ + $(EVOLUTION_DATA_SERVER_CFLAGS) \ + $(GNOME_PLATFORM_CFLAGS) \ + $(GTKHTML_CFLAGS) libevolution_module_mail_la_SOURCES = \ evolution-module-mail.c \ @@ -66,11 +66,9 @@ libevolution_module_mail_la_LIBADD = \ $(top_builddir)/widgets/menus/libmenus.la \ $(top_builddir)/filter/libfilter.la \ $(top_builddir)/capplet/settings/libevolution-mail-settings.la \ - $(EVOLUTION_MAIL_LIBS) \ - $(CAMEL_LIBS) \ - $(GTKHTML_LIBS) \ - $(E_WIDGETS_LIBS) \ - $(GNOME_PLATFORM_LIBS) + $(EVOLUTION_DATA_SERVER_LIBS) \ + $(GNOME_PLATFORM_LIBS) \ + $(GTKHTML_LIBS) libevolution_module_mail_la_LDFLAGS = \ -avoid-version -module $(NO_UNDEFINED) |