diff options
Diffstat (limited to 'composer/Makefile.am')
-rw-r--r-- | composer/Makefile.am | 145 |
1 files changed, 66 insertions, 79 deletions
diff --git a/composer/Makefile.am b/composer/Makefile.am index 22334d3eeb..98eff3802f 100644 --- a/composer/Makefile.am +++ b/composer/Makefile.am @@ -1,92 +1,79 @@ -## CORBA stuff - -IDLS = \ - Evolution-Composer.idl \ - Composer.idl - -IDL_GENERATED = \ - Composer.h \ - Composer-common.c \ - Composer-skels.c \ - Composer-stubs.c - -HTML_EDITOR_GENERATED = \ - Editor.h \ - Editor-common.c \ - Editor-skels.c \ - Editor-stubs.c - -selectnamesdir = $(top_srcdir)/addressbook/gui/component/select-names - -$(IDL_GENERATED): $(IDLS) $(selectnamesdir)/Evolution-Addressbook-SelectNames.idl - $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl `$(GNOME_CONFIG) --cflags idl` \ - -I $(selectnamesdir) $(srcdir)/Composer.idl - -Editor-commmon.c: $(GTKHTML_DATADIR)/Editor.idl - -$(HTML_EDITOR_GENERATED): $(GTKHTML_DATADIR)/Editor.idl - $(ORBIT_IDL) -I $(srcdir) `$(GNOME_CONFIG) --cflags idl` -I $(GTKHTML_DATADIR)/gtkhtml $(GTKHTML_DATADIR)/Editor.idl - -## - -idldir = $(datadir)/idl -idl_DATA = $(IDLS) - -gladedir = $(datadir)/evolution/glade -glade_DATA = \ - e-msg-composer-attachment.glade - -iconsdir = $(datadir)/images/evolution - -libcomposerincludedir = $(includedir)/composer - -noinst_LIBRARIES = libcomposer.a - -INCLUDES = \ +error_DATA = mail-composer.error +errordir = $(privdatadir)/errors + +# provides error rule +@EVO_PLUGIN_RULE@ + +privsolib_LTLIBRARIES = libevolution-mail-composer.la + +evolution_mail_composer_includedir = $(privincludedir)/composer + +evolution_mail_composer_include_HEADERS = \ + e-composer-actions.h \ + e-composer-activity.h \ + e-composer-common.h \ + e-composer-from-header.h \ + e-composer-header-table.h \ + e-composer-header.h \ + e-composer-name-header.h \ + e-composer-post-header.h \ + e-composer-private.h \ + e-composer-spell-header.h \ + e-composer-text-header.h \ + e-msg-composer.h + +libevolution_mail_composer_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ -I$(top_srcdir) \ -I$(top_builddir) \ - -I$(top_srcdir)/widgets \ - -I$(top_builddir)/widgets \ - -I$(top_srcdir)/camel \ - -I$(top_builddir)/camel \ - -I$(top_srcdir)/addressbook/backend \ - -I$(top_builddir)/addressbook/backend \ - -I$(top_builddir)/addressbook/gui/component/select-names \ + -I$(top_builddir)/composer \ -I$(top_builddir)/shell \ -I$(top_srcdir)/shell \ -DEVOLUTION_DATADIR=\"$(datadir)\" \ - -DEVOLUTION_ICONSDIR=\"$(iconsdir)\" \ - -DE_GLADEDIR=\"$(gladedir)\" \ + -DEVOLUTION_IMAGESDIR=\"$(imagesdir)\" \ + -DEVOLUTION_UIDIR=\"$(uidir)\" \ + -DPREFIX=\"$(prefix)\" \ -DG_LOG_DOMAIN=\"composer\" \ - $(GNOME_FULL_CFLAGS) - -libcomposer_a_SOURCES = \ - $(IDL_GENERATED) \ - $(HTML_EDITOR_GENERATED) \ - e-msg-composer-attachment-bar.c \ - e-msg-composer-attachment-bar.h \ - e-msg-composer-attachment.c \ - e-msg-composer-attachment.h \ - e-msg-composer-hdrs.c \ - e-msg-composer-hdrs.h \ - e-msg-composer-select-file.c \ - e-msg-composer-select-file.h \ - e-msg-composer.c \ - e-msg-composer.h \ - e-icon-list.c \ - e-icon-list.h \ - evolution-composer.c \ - evolution-composer.h \ - listener.c \ - listener.h + $(EVOLUTION_DATA_SERVER_CFLAGS) \ + $(GNOME_PLATFORM_CFLAGS) \ + $(GTKHTML_CFLAGS) + +libevolution_mail_composer_la_SOURCES = \ + $(evolution_mail_composer_include_HEADERS) \ + e-composer-actions.c \ + e-composer-activity.c \ + e-composer-from-header.c \ + e-composer-header-table.c \ + e-composer-header.c \ + e-composer-name-header.c \ + e-composer-post-header.c \ + e-composer-private.c \ + e-composer-spell-header.c \ + e-composer-text-header.c \ + e-msg-composer.c + +libevolution_mail_composer_la_LDFLAGS = -avoid-version $(NO_UNDEFINED) + +libevolution_mail_composer_la_LIBADD = \ + $(top_builddir)/e-util/libevolution-util.la \ + $(top_builddir)/shell/libevolution-shell.la \ + $(top_builddir)/em-format/libevolution-mail-formatter.la \ + $(top_builddir)/addressbook/gui/contact-editor/libecontacteditor.la \ + $(top_builddir)/addressbook/gui/contact-list-editor/libecontactlisteditor.la \ + $(EVOLUTION_DATA_SERVER_LIBS) \ + $(GNOME_PLATFORM_LIBS) \ + $(GTKHTML_LIBS) + +ui_DATA = evolution-composer.ui EXTRA_DIST = \ - $(glade_DATA) \ - $(IDLS) \ - bad-icon.xpm + $(ui_DATA) \ + mail-composer.error.xml -BUILT_SOURCES = $(IDL_GENERATED) $(HTML_EDITOR_GENERATED) +BUILT_SOURCES = $(error_DATA) CLEANFILES = $(BUILT_SOURCES) dist-hook: cd $(distdir); rm -f $(BUILT_SOURCES) + +-include $(top_srcdir)/git.mk |