Files
evolution/mail/Makefile.am
Not Zed 97926d706a add for translators.
2004-05-12  Not Zed  <NotZed@Ximian.com>

        * mail-errors.xml.h: add for translators.

        * Makefile.am (%.xml.h): fix for xml i18n stuff.

        * mail-errors.xml: moved from the .xml.in file.

2004-05-11  Not Zed  <NotZed@Ximian.com>

        * em-utils.c (em_uri_from_camel): pass an exception to
        provider_get, it relies on one.

        * em-migrate.c (em_migrate_1_4): fix some error messages, and fail
        with fatal errors properly.
        (em_migrate_local_folders_1_4): EEP!  Who cares if this fails!
        Well I do.  Setup exceptions and return codes.
        (em_migrate_dir): and here too.  Sloppy!
        (em_migrate_dir): change the code slightly, 1.4 would recurse all
        folders, even if the parent folder doesn't have a
        folder-metadata.xml.  Make sure we copy that mode.
        (get_local_store_uri): Make it copy the 1.4 behaviour properly.
        Any error -> use defaults.
        (em_migrate_dir): lots of changes.
        (mbox_build_filename): take the output string as an arg.
        (cp): add an argument to overwrite/append or require a unique
        empty file.
        (cp_r): add mode arg here too.
        (em_migrate_folder): split the folder copy stuff from em_migrate
        dir entirely.  blah.
        (em_upgrade_accounts_1_4): can't fail, remove return code, etc.
        (em_upgrade_xml_1_4): removed this rather redundant odd api.
        (upgrade_xml_uris): this can't fail, remove return codes etc.
        (em_upgrade_xml_1_0): another oddly redundant function.
        (em_migrate_pop_uid_caches_1_4): error messages, blah blah.
        (em_migrate_folder_expand_state_1_4): no fatal states here.
        (em_migrate_folder_view_settings_1_4): nor here.
        (emm_setup_initial): do i18n 'better', using
        gnome_i18n_get_language_list, rather than hacky code.

2004-05-10  Not Zed  <NotZed@Ximian.com>

        * mail-tools.c: remove e-meta.h, not used anymore.

svn path=/trunk/; revision=25870
2004-05-12 03:34:33 +00:00

250 lines
6.3 KiB
Makefile

SUBDIRS = default importers
INCLUDES = \
-I$(top_srcdir)/widgets \
-I$(top_srcdir)/widgets/e-text \
-I$(top_srcdir)/widgets/misc \
-I$(top_srcdir)/camel \
-I$(top_srcdir) \
-I$(top_srcdir)/composer \
-I$(top_builddir)/composer \
-I$(top_builddir)/shell \
-I$(top_srcdir)/shell \
-I$(top_srcdir)/shell/importer \
-I$(top_builddir)/shell/importer \
-I$(top_srcdir)/smime/lib \
-I$(top_srcdir)/smime/gui \
$(EVOLUTION_MAIL_CFLAGS) \
$(CERT_UI_CFLAGS) \
-DEVOLUTION_DATADIR=\""$(datadir)"\" \
-DEVOLUTION_PRIVDATADIR=\""$(privdatadir)"\" \
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
-DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\" \
-DEVOLUTION_ICONSDIR=\""$(imagesdir)"\" \
-DEVOLUTION_IMAGES=\""$(imagesdir)"\" \
-DEVOLUTION_GALVIEWSDIR=\""$(viewsdir)"\" \
-DEVOLUTION_BUTTONSDIR=\""$(buttonsdir)"\" \
-DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \
-DEVOLUTION_UIDIR=\""$(evolutionuidir)"\" \
-DCAMEL_PROVIDERDIR=\""$(camel_providerdir)"\" \
-DPREFIX=\""$(prefix)"\" \
-DG_LOG_DOMAIN=\"evolution-mail\"
component_LTLIBRARIES = libevolution-mail.la
# Code generation for Spell.idl
SPELL_IDL = Spell.idl
SPELL_IDL_GENERATED_H = \
Spell.h
SPELL_IDL_GENERATED_C = \
Spell-common.c \
Spell-skels.c \
Spell-stubs.c
SPELL_IDL_GENERATED = $(SPELL_IDL_GENERATED_C) $(SPELL_IDL_GENERATED_H)
$(SPELL_IDL_GENERATED_H): $(SPELL_IDL)
$(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl $(IDL_INCLUDES) $(srcdir)/Spell.idl
$(SPELL_IDL_GENERATED_C): $(SPELL_IDL_GENERATED_H)
Spell-impl.o: Spell.h
# libevolution-mail
libevolution_mail_la_SOURCES = \
$(SPELL_IDL_GENERATED) \
$(MARSHAL_GENERATED) \
e-searching-tokenizer.c \
e-searching-tokenizer.h \
em-account-prefs.c \
em-account-prefs.h \
em-composer-prefs.c \
em-composer-prefs.h \
em-mailer-prefs.c \
em-mailer-prefs.h \
em-inline-filter.c \
em-inline-filter.h \
em-folder-properties.c \
em-folder-properties.h \
em-folder-selection.c \
em-folder-selection.h \
em-folder-selection-button.c \
em-folder-selection-button.h \
em-folder-selector.c \
em-folder-selector.h \
em-folder-tree.c \
em-folder-tree.h \
em-folder-tree-model.c \
em-folder-tree-model.h \
em-folder-view.c \
em-folder-view.h \
em-folder-browser.c \
em-folder-browser.h \
em-format.c \
em-format.h \
em-format-html.c \
em-format-html.h \
em-format-html-display.c \
em-format-html-display.h \
em-format-html-print.c \
em-format-html-print.h \
em-format-html-quote.c \
em-format-html-quote.h \
em-format-quote.c \
em-format-quote.h \
em-message-browser.c \
em-message-browser.h \
em-migrate.c \
em-migrate.h \
em-composer-utils.c \
em-composer-utils.h \
em-popup.c \
em-popup.h \
em-utils.c \
em-utils.h \
em-subscribe-editor.c \
em-subscribe-editor.h \
em-sync-stream.c \
em-sync-stream.h \
em-icon-stream.c \
em-icon-stream.h \
em-junk-filter.c \
em-junk-filter.h \
em-junk-plugin.c \
em-junk-plugin.h \
em-html-stream.c \
em-html-stream.h \
mail-account-editor.c \
mail-account-editor.h \
mail-account-gui.c \
mail-account-gui.h \
mail-autofilter.c \
mail-autofilter.h \
mail-component-factory.c \
mail-component.c \
mail-component.h \
mail-config.c \
mail-config.h \
mail-config-druid.c \
mail-config-druid.h \
mail-crypto.c \
mail-crypto.h \
mail-config-factory.c \
mail-config-factory.h \
mail-folder-cache.c \
mail-folder-cache.h \
mail-mt.c \
mail-mt.h \
mail-offline-handler.c \
mail-offline-handler.h \
mail-ops.c \
mail-ops.h \
mail-send-recv.c \
mail-send-recv.h \
mail-session.c \
mail-session.h \
mail-signature-editor.c \
mail-signature-editor.h \
mail-tools.c \
mail-tools.h \
mail-types.h \
mail-vfolder.c \
mail-vfolder.h \
message-list.c \
message-list.h \
message-tag-editor.c \
message-tag-editor.h \
message-tag-followup.c \
message-tag-followup.h
libevolution_mail_la_LIBADD = \
$(top_builddir)/shell/importer/libevolution-importer.la \
$(top_builddir)/mail/importers/libevolution-mail-importers.la\
$(top_builddir)/camel/libcamel.la \
$(top_builddir)/e-util/libeutil.la \
$(top_builddir)/shell/libeshell.la \
$(top_builddir)/composer/libcomposer.la \
$(top_builddir)/widgets/misc/libemiscwidgets.la \
$(top_builddir)/widgets/misc/libefilterbar.la \
$(top_builddir)/filter/libfilter.la \
$(top_builddir)/widgets/menus/libmenus.la \
$(EVOLUTION_MAIL_LIBS)
libevolution_mail_la_LDFLAGS = \
-avoid-version -module
# .server files
server_in_files = GNOME_Evolution_Mail.server.in.in
server_DATA = $(server_in_files:.server.in.in=_$(BASE_VERSION).server)
@EVO_SERVER_RULE@
@INTLTOOL_SERVER_RULE@
# Misc data to install
error_DATA = mail-errors.xml
error_i18n = $(error_DATA:.xml=.xml.h)
errordir = $(privdatadir)/errors
%.xml.h: %.xml
$(top_builddir)/e-util/e-error-tool $^
glade_DATA = mail-config.glade subscribe-dialog.glade message-tags.glade mail-search.glade mail-security.glade
MARSHAL_GENERATED = em-marshal.c em-marshal.h
@EVO_MARSHAL_RULE@
etspec_DATA = message-list.etspec
EXTRA_DIST = \
ChangeLog.pre-1-4 \
em-marshal.list \
$(SPELL_IDL) \
$(error_DATA) $(error_i18n) \
$(glade_DATA) \
$(schema_DATA) \
$(server_in_files) \
$(etspec_DATA)
# Purify support
if ENABLE_PURIFY
PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
all-local: evolution-mail.pure
evolution-mail.pure: evolution-mail
@rm -f evolution-mail.pure
$(PLINK) $(evolution_mail_LDFLAGS) $(evolution_mail_OBJECTS) $(evolution_mail_LDADD) $(LIBS)
endif
# GConf
schemadir = $(GCONF_SCHEMA_FILE_DIR)
schema_in_files = evolution-mail.schemas.in.in
schema_DATA = $(schema_in_files:.schemas.in.in=-$(BASE_VERSION).schemas)
%-$(BASE_VERSION).schemas.in: %.schemas.in.in
cp $< $@
@INTLTOOL_SCHEMAS_RULE@
install-data-local:
if test -z "$(DESTDIR)" ; then \
for p in $(schema_DATA) ; do \
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p; \
done \
fi
# Prologue
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
BUILT_SOURCES = $(SPELL_IDL_GENERATED) $(MARSHAL_GENERATED) $(server_DATA) $(error_i18n)
CLEANFILES = $(BUILT_SOURCES)