aboutsummaryrefslogtreecommitdiffstats
path: root/mail/Makefile.am
blob: e67b7b9b9e2556e79ac7dd73ec76121b19227f2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
SUBDIRS = importers

bin_PROGRAMS =              \
    evolution-mail          \
    evolution-mail-upgrade

importerdir = $(privlibdir)/evolution-mail-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)/addressbook/backend     \
    -I$(top_builddir)/addressbook/backend       \
    $(EVOLUTION_MAIL_CFLAGS)                \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"        \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"      \
    -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\"    \
    -DEVOLUTION_ICONSDIR=\""$(iconsdir)"\"      \
    -DEVOLUTION_IMAGES=\""$(datadir)/images/evolution"\"    \
    -DEVOLUTION_BUTTONSDIR=\""$(buttonsdir)"\"  \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    -DCAMEL_PROVIDERDIR=\""$(camel_providerdir)"\"  \
    -DMAIL_IMPORTERSDIR=\""$(importerdir)"\"    \
    -DG_LOG_DOMAIN=\"evolution-mail\"

EVOLUTION_MAIL_CORBA_GENERATED = \
    Mailer.h        \
    Mailer-common.c     \
    Mailer-skels.c      \
    Mailer-stubs.c

SPELL_IDL = Spell.idl

IDL_GENERATED =         \
    Spell.h         \
    Spell-common.c      \
    Spell-skels.c       \
    Spell-stubs.c

$(IDL_GENERATED): $(SPELL_IDL)
    $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl -I `$(GNOME_CONFIG) --cflags idl` \
    -I `$(GNOME_CONFIG) --datadir`/idl $(srcdir)/Spell.idl

Spell-impl.o: Spell.h

evolution_mail_SOURCES =        \
    $(EVOLUTION_MAIL_CORBA_GENERATED)   \
    $(IDL_GENERATED)        \
    component-factory.c     \
    component-factory.h     \
    e-searching-tokenizer.c     \
    e-searching-tokenizer.h     \
    folder-browser.c        \
    folder-browser.h        \
    folder-browser-factory.c    \
    folder-browser-factory.h    \
    folder-browser-ui.c     \
    folder-browser-ui.h     \
    folder-info.c           \
    folder-info.h           \
    mail-accounts.c         \
    mail-accounts.h         \
    mail-account-editor.c       \
    mail-account-editor.h       \
    mail-account-gui.c      \
    mail-account-gui.h      \
    mail-autofilter.c       \
    mail-autofilter.h       \
    mail-callbacks.c        \
    mail-callbacks.h        \
    mail-composer-prefs.c       \
    mail-composer-prefs.h       \
    mail-font-prefs.c       \
    mail-font-prefs.h       \
    mail-config.c           \
    mail-config.h           \
    mail-config-druid.c     \
    mail-config-druid.h     \
    mail-config-factory.c       \
    mail-config-factory.h       \
    mail-crypto.c           \
    mail-crypto.h           \
    mail-display.c          \
    mail-display.h          \
    mail-folder-cache.c     \
    mail-folder-cache.h     \
    mail-format.c           \
    mail-identify.c         \
    mail-importer.c         \
    mail-importer.h         \
    mail-local.c            \
    mail-local.h            \
    mail-mt.c           \
    mail-mt.h           \
    mail-offline-handler.c      \
    mail-offline-handler.h      \
    mail-ops.c          \
    mail-ops.h          \
    mail-preferences.c      \
    mail-preferences.h      \
    mail-search.c           \
    mail-search.h           \
    mail-search-dialogue.c      \
    mail-search-dialogue.h      \
    mail-send-recv.c        \
    mail-send-recv.h        \
    mail-session.c          \
    mail-session.h          \
    mail-signature-editor.c     \
    mail-signature-editor.h     \
    mail-stream-gtkhtml.c       \
    mail-stream-gtkhtml.h       \
    mail-tools.c            \
    mail-tools.h            \
    mail-types.h            \
    mail-vfolder.c          \
    mail-vfolder.h          \
    message-browser.c       \
    message-browser.h       \
    main.c              \
    message-list.c          \
    message-list.h          \
    message-tag-editor.c        \
    message-tag-editor.h        \
    message-tag-followup.c      \
    message-tag-followup.h      \
    subscribe-dialog.c      \
    subscribe-dialog.h      \
    mail.h

evolution_mail_LDADD =                  \
    $(top_builddir)/camel/libcamel.la       \
    $(top_builddir)/e-util/libeutil.la      \
    $(top_builddir)/shell/libeshell.la      \
    $(top_builddir)/composer/libcomposer.a      \
    $(top_builddir)/widgets/misc/libemiscwidgets.a  \
    $(top_builddir)/widgets/misc/libefilterbar.a    \
    $(top_builddir)/addressbook/backend/ebook/libebook.la   \
    $(top_builddir)/libversit/libversit.a       \
    $(top_builddir)/e-util/ename/libename.la    \
    $(top_builddir)/filter/libfilter.la     \
    $(top_builddir)/shell/importer/libevolution-importer.la             \
    $(top_builddir)/widgets/menus/libmenus.la   \
    $(EVOLUTION_MAIL_LIBS)

evolution_mail_LDFLAGS =                \
    -export-dynamic

evolution_mail_upgrade_SOURCES = upgrade-mailer.c
evolution_mail_upgrade_LDADD =              \
    $(top_builddir)/camel/libcamel.la       \
    $(top_builddir)/e-util/libeutil.la      \
    $(EVOLUTION_MAIL_LIBS)

oafdir = $(datadir)/oaf
oaf_in_files = GNOME_Evolution_Mail.oaf.in
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)

@XML_I18N_MERGE_OAF_RULE@

gladedir   = $(datadir)/evolution/glade
glade_DATA = mail-config.glade local-config.glade subscribe-dialog.glade message-tags.glade

etspecdir = $(datadir)/evolution/etspec/
etspec_DATA = mail-accounts.etspec message-list.etspec subscribe-dialog.etspec

iconsdir = $(datadir)/images/evolution
buttonsdir = $(datadir)/images/evolution/buttons

$(EVOLUTION_MAIL_CORBA_GENERATED): Mailer.idl 
    $(ORBIT_IDL) -I $(srcdir) -I $(datadir)/idl -I `$(GNOME_CONFIG) --cflags idl` \
    -I `$(GNOME_CONFIG) --datadir`/idl $(srcdir)/Mailer.idl

EXTRA_DIST =                \
    Mailer.idl          \
    $(SPELL_IDL)            \
    $(glade_DATA)           \
    $(oaf_in_files)         \
    $(oaf_DATA)         \
    $(etspec_DATA)

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

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

BUILT_SOURCES = $(EVOLUTION_MAIL_CORBA_GENERATED)
CLEANFILES = $(BUILT_SOURCES) $(IDL_GENERATED)