aboutsummaryrefslogblamecommitdiffstats
path: root/mail/Makefile.am
blob: 09c274aad77030b486980b7cb066a62284cbd8b8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                             
 

                                            

                                       

                                                         
                                                         
                                                         
                                                         
                                                         
                                                         



                                                         

                                                         
                                                         
                                                         
                                                         
                                                         
                                                         


                                                         
                                                         
                                                         
                                                         
                                                         
                                                         


                                                         
                                                         
                                                         
                                                         
                                         
 
                                                         
                                                         
                                                         


                                                         
                                                         
                                                         
                                                         
                                                         


















                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         

                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         

                                                         
                                                         
                                                         
                                                         
                                                         
                      
 






                                                         
                                                         
                                                         


                                                         
                                                         
                                                         
                                                         
                                                         


















                                                         
                                                         
                                                         
                                                         
                                                         
                                                         



                                                         
                                                         
                                                         

                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         




                                                         
                                                         


                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         
                                                         

                                                         
                                                         
                                                         
                                                         
                                                         
                      
 





                                                         





                                                         
                                                         

                                                                         
                                                         
                                                         


                                                         
                                                         
                                                         
                                                         
                                                                             
                                                                                      

                                                         
                                                                  

                                                         
                                                         
                                                         
                                                         
                                                         



                                                         
                
 
                                                             
 
                                                    
 
















                                                         
                      

                                                              
 
                       
                                

                          
 


                                                                                                       
                                                                                

                             
                                        
 
                                 
 
                                         
                                         
                                         
                                         
                                         




                                         


                




                                                                                        





                                                                                                    

          

                                             
 
                             
 
                             
 
                             
SUBDIRS = . default importers

privsolib_LTLIBRARIES = libevolution-mail.la

mailincludedir = $(privincludedir)/mail

libevolution_mail_la_CPPFLAGS =             \
    $(AM_CPPFLAGS)                  \
    -I$(top_srcdir)/widgets             \
    -I$(top_srcdir)/widgets/misc            \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/em-format           \
    -I$(top_srcdir)/mail                \
    -I$(top_srcdir)/composer            \
    -I$(top_builddir)/composer          \
    -I$(top_builddir)/shell             \
    -I$(top_srcdir)/shell               \
    -I$(top_srcdir)/smime/lib           \
    -I$(top_srcdir)/smime/gui           \
    $(EVOLUTION_DATA_SERVER_CFLAGS)         \
    $(GNOME_PLATFORM_CFLAGS)            \
    $(CERT_UI_CFLAGS)               \
    $(CANBERRA_CFLAGS)              \
    $(CLUTTER_CFLAGS)               \
    $(GTKHTML_CFLAGS)                               \
    $(JAVASCRIPTCORE_CFLAGS)            \
    $(LIBSOUP_CFLAGS)               \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"        \
    -DEVOLUTION_PRIVDATADIR=\""$(privdatadir)"\"    \
    -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\"    \
    -DEVOLUTION_ICONDIR=\""$(icondir)"\"        \
    -DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\"    \
    -DEVOLUTION_GALVIEWSDIR=\""$(viewsdir)"\"   \
    -DEVOLUTION_BUTTONSDIR=\""$(buttonsdir)"\"  \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    -DEVOLUTION_UIDIR=\""$(uidir)"\"        \
    -DCAMEL_PROVIDERDIR=\""$(camel_providerdir)"\"  \
    -DPREFIX=\""$(prefix)"\"            \
    -DG_LOG_DOMAIN=\"evolution-mail\"

mailinclude_HEADERS =                   \
    e-http-request.h                \
    e-mail.h                    \
    e-mail-account-manager.h            \
    e-mail-account-store.h              \
    e-mail-account-tree-view.h          \
    e-mail-autoconfig.h             \
    e-mail-backend.h                \
    e-mail-browser.h                \
    e-mail-config-activity-page.h           \
    e-mail-config-assistant.h           \
    e-mail-config-auth-check.h          \
    e-mail-config-confirm-page.h            \
    e-mail-config-defaults-page.h           \
    e-mail-config-identity-page.h           \
    e-mail-config-lookup-page.h         \
    e-mail-config-notebook.h            \
    e-mail-config-page.h                \
    e-mail-config-provider-page.h           \
    e-mail-config-receiving-page.h          \
    e-mail-config-security-page.h           \
    e-mail-config-sending-page.h            \
    e-mail-config-service-backend.h         \
    e-mail-config-service-notebook.h        \
    e-mail-config-service-page.h            \
    e-mail-config-sidebar.h             \
    e-mail-config-summary-page.h            \
    e-mail-config-welcome-page.h            \
    e-mail-config-window.h              \
    e-mail-display.h                \
    e-mail-display-popup-extension.h        \
    e-mail-folder-pane.h                \
    e-mail-junk-options.h               \
    e-mail-label-action.h               \
    e-mail-label-dialog.h               \
    e-mail-label-list-store.h           \
    e-mail-label-manager.h              \
    e-mail-label-tree-view.h            \
    e-mail-message-pane.h               \
    e-mail-migrate.h                \
    e-mail-notebook-view.h              \
    e-mail-paned-view.h             \
    e-mail-printer.h                \
    e-mail-reader-utils.h               \
    e-mail-reader.h                 \
    e-mail-request.h                \
    e-mail-sidebar.h                \
    e-mail-tag-editor.h             \
    e-mail-ui-session.h             \
    e-mail-view.h                   \
    em-composer-utils.h             \
    em-config.h                 \
    em-event.h                  \
    em-filter-context.h             \
    em-filter-editor.h              \
    em-filter-editor-folder-element.h       \
    em-filter-rule.h                \
    em-filter-source-element.h          \
    em-folder-properties.h              \
    em-folder-selection-button.h            \
    em-folder-selector.h                \
    em-folder-tree-model.h              \
    em-folder-tree.h                \
    em-folder-utils.h               \
    em-search-context.h             \
    em-subscription-editor.h            \
    em-utils.h                  \
    em-vfolder-editor-context.h         \
    em-vfolder-editor-rule.h            \
    em-vfolder-editor.h             \
    mail-autofilter.h               \
    mail-send-recv.h                \
    mail-vfolder-ui.h               \
    message-list.h

if ENABLE_CLUTTER
mailinclude_HEADERS +=                  \
    e-mail-tab.h                    \
    e-mail-tab-picker.h             

endif

libevolution_mail_la_SOURCES =              \
    e-http-request.c                \
    e-mail-account-manager.c            \
    e-mail-account-store.c              \
    e-mail-account-tree-view.c          \
    e-mail-autoconfig.c             \
    e-mail-backend.c                \
    e-mail-browser.c                \
    e-mail-config-activity-page.c           \
    e-mail-config-assistant.c           \
    e-mail-config-auth-check.c          \
    e-mail-config-confirm-page.c            \
    e-mail-config-defaults-page.c           \
    e-mail-config-identity-page.c           \
    e-mail-config-lookup-page.c         \
    e-mail-config-notebook.c            \
    e-mail-config-page.c                \
    e-mail-config-provider-page.c           \
    e-mail-config-receiving-page.c          \
    e-mail-config-security-page.c           \
    e-mail-config-sending-page.c            \
    e-mail-config-service-backend.c         \
    e-mail-config-service-notebook.c        \
    e-mail-config-service-page.c            \
    e-mail-config-sidebar.c             \
    e-mail-config-summary-page.c            \
    e-mail-config-welcome-page.c            \
    e-mail-config-window.c              \
    e-mail-display.c                \
    e-mail-display-popup-extension.c        \
    e-mail-folder-pane.c                \
    e-mail-junk-options.c               \
    e-mail-label-action.c               \
    e-mail-label-dialog.c               \
    e-mail-label-list-store.c           \
    e-mail-label-manager.c              \
    e-mail-label-tree-view.c            \
    e-mail-message-pane.c               \
    e-mail-migrate.c                \
    e-mail-notebook-view.c              \
    e-mail-paned-view.c             \
    e-mail-printer.c                \
    e-mail-reader-utils.c               \
    e-mail-reader.c                 \
    e-mail-request.c                \
    e-mail-sidebar.c                \
    e-mail-tag-editor.c             \
    e-mail-ui-session.c             \
    e-mail-view.c                   \
    em-composer-utils.c             \
    em-config.c                 \
    em-event.c                  \
    em-filter-context.c             \
    em-filter-editor.c              \
    em-filter-editor-folder-element.c       \
    em-filter-rule.c                \
    em-filter-source-element.c          \
    em-folder-properties.c              \
    em-folder-selection-button.c            \
    em-folder-selector.c                \
    em-folder-tree-model.c              \
    em-folder-tree.c                \
    em-folder-utils.c               \
    em-search-context.c             \
    em-subscription-editor.c            \
    em-utils.c                  \
    em-vfolder-editor-context.c         \
    em-vfolder-editor-rule.c            \
    em-vfolder-editor.c             \
    mail-autofilter.c               \
    mail-send-recv.c                \
    mail-vfolder-ui.c               \
    message-list.c

if ENABLE_CLUTTER
libevolution_mail_la_SOURCES +=             \
    e-mail-tab.c                    \
    e-mail-tab-picker.c             
endif

if ENABLE_SMIME
SMIME_LIBS =                        \
    $(top_builddir)/smime/lib/libessmime.la     \
    $(top_builddir)/smime/gui/libevolution-smime.la
endif

libevolution_mail_la_LIBADD =               \
    $(top_builddir)/libemail-utils/libemail-utils.la        \
    $(top_builddir)/libemail-engine/libemail-engine.la      \
    $(top_builddir)/e-util/libeutil.la      \
    $(top_builddir)/shell/libeshell.la      \
    $(top_builddir)/composer/libcomposer.la     \
    $(top_builddir)/widgets/table/libetable.la  \
    $(top_builddir)/widgets/text/libetext.la    \
    $(top_builddir)/widgets/menus/libmenus.la   \
    $(top_builddir)/widgets/misc/libemiscwidgets.la \
    $(top_builddir)/widgets/menus/libmenus.la   \
    $(top_builddir)/addressbook/gui/contact-editor/libecontacteditor.la \
    $(top_builddir)/addressbook/gui/contact-list-editor/libecontactlisteditor.la \
    $(top_builddir)/em-format/libemformat.la    \
    $(top_builddir)/filter/libfilter.la     \
    $(top_builddir)/libevolution-utils/libevolution-utils.la \
    $(EVOLUTION_DATA_SERVER_LIBS)           \
    $(GNOME_PLATFORM_LIBS)              \
    $(CERT_UI_LIBS)                 \
    $(CANBERRA_LIBS)                \
    $(CLUTTER_LIBS)                 \
    $(GTKHTML_LIBS)                 \
    $(JAVASCRIPTCORE_CFLAGS)            \
    $(E_WIDGETS_LIBS)               \
    $(SMIME_LIBS)                   \
    $(LIBSOUP_LIBS)                 \
    -lresolv

libevolution_mail_la_LDFLAGS = -avoid-version $(NO_UNDEFINED)

libevolution_mail_la_DEPENDENCIES = em-filter-i18n.h

noinst_PROGRAMS = test-mail-autoconfig

test_mail_autoconfig_CPPFLAGS = \
    $(AM_CPPFLAGS)                  \
    $(EVOLUTION_DATA_SERVER_CFLAGS)         \
    $(GNOME_PLATFORM_CFLAGS)

test_mail_autoconfig_SOURCES = \
    e-mail-autoconfig.c             \
    e-mail-autoconfig.h             \
    test-mail-autoconfig.c

test_mail_autoconfig_LDADD = \
    $(EVOLUTION_DATA_SERVER_LIBS)           \
    $(GNOME_PLATFORM_LIBS)              \
    -lresolv

# Misc data to install
filterdir = $(privdatadir)
filter_DATA = filtertypes.xml vfoldertypes.xml searchtypes.xml

error_DATA = mail.error
errordir = $(privdatadir)/errors
# provides error rules too
@EVO_PLUGIN_RULE@

em-filter-i18n.h: filtertypes.xml vfoldertypes.xml searchtypes.xml
    echo "/* Automatically generated. Do not edit. */" > $@;          \
    cat $(srcdir)/filtertypes.xml $(srcdir)/vfoldertypes.xml $(srcdir)/searchtypes.xml |          \
        sed -n -e 's:.*<title>\(.*\)</title>:gchar *s = N_("\1");:p' | \
        sort -u >> $@

ui_DATA = mail-config.ui mail-dialogs.ui

etspec_DATA = message-list.etspec

EXTRA_DIST =                \
    README.async            \
    mail.error.xml          \
    $(ui_DATA)          \
    $(server_in_files)      \
    $(etspec_DATA)          \
    filtertypes.xml         \
    vfoldertypes.xml        \
    searchtypes.xml         \
    em-filter-i18n.h

# 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

# Prologue

dist-hook:
    cd $(distdir); rm -f $(BUILT_SOURCES)

BUILT_SOURCES = $(error_DATA)

CLEANFILES = $(BUILT_SOURCES)

-include $(top_srcdir)/git.mk