463848b767a6a5873a6cdc7aa1fb53937e7be308
[claws.git] / src / Makefile.am
1 SUBDIRS = common gtk plugins
2
3 bin_PROGRAMS = sylpheed
4
5 sylpheed_SOURCES = \
6         account.c \
7         action.c \
8         addr_compl.c \
9         addrbook.c \
10         addrcache.c \
11         addrclip.c \
12         addressadd.c \
13         addressbook.c \
14         addrgather.c \
15         addrharvest.c \
16         addrindex.c \
17         addritem.c \
18         addrselect.c \
19         alertpanel.c \
20         codeconv.c \
21         compose.c \
22         crash.c \
23         customheader.c \
24         displayheader.c \
25         editaddress.c \
26         editbook.c \
27         editgroup.c \
28         editjpilot.c \
29         editldap.c \
30         editldap_basedn.c \
31         editvcard.c \
32         enriched.c \
33         exphtmldlg.c \
34         expldifdlg.c \
35         export.c \
36         exporthtml.c \
37         exportldif.c \
38         filtering.c \
39         folder.c \
40         folder_item_prefs.c \
41         foldersel.c \
42         folderview.c \
43         grouplistdialog.c \
44         headerview.c \
45         html.c \
46         imap.c \
47         import.c \
48         importldif.c \
49         importmutt.c \
50         importpine.c \
51         inc.c \
52         inputdialog.c \
53         jpilot.c \
54         ldapctrl.c \
55         ldapquery.c \
56         ldapserver.c \
57         ldaputil.c \
58         ldif.c \
59         logwindow.c \
60         main.c \
61         mainwindow.c \
62         manual.c \
63         matcher.c \
64         matcher_parser_lex.l \
65         matcher_parser_parse.y \
66         mbox.c \
67         mbox_folder.c \
68         message_search.c \
69         messageview.c \
70         mh.c \
71         mimeview.c \
72         msgcache.c \
73         mutt.c \
74         news.c \
75         noticeview.c \
76         passphrase.c \
77         pine.c \
78         pop.c \
79         prefs_account.c \
80         prefs_actions.c \
81         prefs_common.c \
82         prefs_customheader.c \
83         prefs_display_header.c \
84         prefs_filtering.c \
85         prefs_filtering_action.c \
86         prefs_folder_item.c \
87         prefs_gtk.c \
88         prefs_matcher.c \
89         prefs_scoring.c \
90         prefs_spelling.c \
91         prefs_summary_column.c \
92         prefs_template.c \
93         prefs_toolbar.c \
94         procheader.c \
95         procmime.c \
96         procmsg.c \
97         progressdialog.c \
98         quote_fmt.c \
99         quote_fmt_lex.l \
100         quote_fmt_parse.y \
101         recv.c \
102         rfc2015.c \
103         scoring.c \
104         select-keys.c \
105         send_message.c \
106         setup.c \
107         sigstatus.c \
108         simple-gettext.c \
109         sourcewindow.c \
110         ssl_manager.c \
111         statusbar.c \
112         stock_pixmap.c \
113         string_match.c \
114         summary_search.c \
115         summaryview.c \
116         textview.c \
117         toolbar.c \
118         undo.c \
119         unmime.c \
120         vcard.c
121
122 sylpheedincludedir = $(pkgincludedir)
123 sylpheedinclude_HEADERS = \
124         account.h \
125         action.h \
126         adbookbase.h \
127         addr_compl.h \
128         addrbook.h \
129         addrcache.h \
130         addrclip.h \
131         addressadd.h \
132         addressbook.h \
133         addressitem.h \
134         addrgather.h \
135         addrharvest.h \
136         addrindex.h \
137         addritem.h \
138         addrquery.h \
139         addrselect.h \
140         alertpanel.h \
141         codeconv.h \
142         compose.h \
143         crash.h \
144         customheader.h \
145         displayheader.h \
146         editaddress.h \
147         editbook.h \
148         editgroup.h \
149         editjpilot.h \
150         editldap.h \
151         editldap_basedn.h \
152         editvcard.h \
153         enriched.h \
154         exphtmldlg.h \
155         export.h \
156         exporthtml.h \
157         filtering.h \
158         folder.h \
159         folder_item_prefs.h \
160         foldersel.h \
161         folderview.h \
162         grouplistdialog.h \
163         headerview.h \
164         html.h \
165         imap.h \
166         import.h \
167         importldif.h \
168         importmutt.h \
169         importpine.h \
170         inc.h \
171         inputdialog.h \
172         jpilot.h \
173         ldapctrl.h \
174         ldapquery.h \
175         ldapserver.h \
176         ldaputil.h \
177         ldif.h \
178         logwindow.h \
179         main.h \
180         mainwindow.h \
181         manual.h \
182         matcher.h \
183         matcher_parser.h \
184         matcher_parser_lex.h \
185         matcher_parser_parse.h \
186         mbox.h \
187         mbox_folder.h \
188         message_search.h \
189         messageview.h \
190         mh.h \
191         mimeview.h \
192         msgcache.h \
193         mutt.h \
194         news.h \
195         noticeview.h \
196         passphrase.h \
197         pine.h \
198         pop.h \
199         prefs_account.h \
200         prefs_actions.h \
201         prefs_common.h \
202         prefs_customheader.h \
203         prefs_display_header.h \
204         prefs_filtering.h \
205         prefs_filtering_action.h \
206         prefs_folder_item.h \
207         prefs_gtk.h \
208         prefs_matcher.h \
209         prefs_scoring.h \
210         prefs_spelling.h \
211         prefs_summary_column.h \
212         prefs_template.h \
213         prefs_toolbar.h \
214         procheader.h \
215         procmime.h \
216         procmsg.h \
217         progressdialog.h \
218         quote_fmt.h \
219         quote_fmt_lex.h \
220         quote_fmt_parse.h \
221         recv.h \
222         rfc2015.h \
223         scoring.h \
224         select-keys.h \
225         send_message.h \
226         setup.h \
227         sigstatus.h \
228         sourcewindow.h \
229         ssl_manager.h \
230         statusbar.h \
231         stock_pixmap.h \
232         string_match.h \
233         summary_search.h \
234         summaryview.h \
235         textview.h \
236         toolbar.h \
237         undo.h \
238         unmime.h \
239         vcard.h
240
241 BUILT_SOURCES = \
242         matcher_parser_parse.h \
243         quote_fmt_parse.h
244
245 EXTRA_DIST = \
246         pixmaps/address_book.xpm \
247         pixmaps/address.xpm \
248         pixmaps/book.xpm \
249         pixmaps/category.xpm \
250         pixmaps/checkbox_off.xpm \
251         pixmaps/checkbox_on.xpm \
252         pixmaps/clipkey.xpm \
253         pixmaps/clip.xpm \
254         pixmaps/close.xpm \
255         pixmaps/complete.xpm \
256         pixmaps/continue.xpm \
257         pixmaps/deleted.xpm \
258         pixmaps/dir_close.xpm \
259         pixmaps/dir_open_hrm.xpm \
260         pixmaps/dir_open.xpm \
261         pixmaps/down_arrow.xpm \
262         pixmaps/drafts_close.xpm \
263         pixmaps/drafts_open.xpm \
264         pixmaps/error.xpm \
265         pixmaps/exec.xpm \
266         pixmaps/folder.xpm \
267         pixmaps/forwarded.xpm \
268         pixmaps/gpg_signed.xpm \
269         pixmaps/group.xpm \
270         pixmaps/ignorethread.xpm \
271         pixmaps/inbox_hrm.xpm \
272         pixmaps/inbox.xpm \
273         pixmaps/interface.xpm \
274         pixmaps/jpilot.xpm \
275         pixmaps/key.xpm \
276         pixmaps/ldap.xpm \
277         pixmaps/linewrap.xpm \
278         pixmaps/locked.xpm \
279         pixmaps/mail_attach.xpm \
280         pixmaps/mail_compose.xpm \
281         pixmaps/mail_forward.xpm \
282         pixmaps/mail_receive_all.xpm \
283         pixmaps/mail_receive.xpm \
284         pixmaps/mail_reply_to_all.xpm \
285         pixmaps/mail_reply_to_author.xpm \
286         pixmaps/mail_reply.xpm \
287         pixmaps/mail_send_queue.xpm \
288         pixmaps/mail_send.xpm \
289         pixmaps/mail.xpm \
290         pixmaps/mark.xpm \
291         pixmaps/messageview_text.xpm \
292         pixmaps/mime_application_octet_stream.xpm \
293         pixmaps/mime_application.xpm \
294         pixmaps/mime_audio.xpm \
295         pixmaps/mime_gpg_expired.xpm \
296         pixmaps/mime_gpg_failed.xpm \
297         pixmaps/mime_gpg_passed.xpm \
298         pixmaps/mime_gpg_signed.xpm \
299         pixmaps/mime_gpg_unknown.xpm \
300         pixmaps/mime_image.xpm \
301         pixmaps/mime_text_enriched.xpm \
302         pixmaps/mime_text_html.xpm \
303         pixmaps/mime_text_plain.xpm \
304         pixmaps/mime_unknown.xpm \
305         pixmaps/news_compose.xpm \
306         pixmaps/new.xpm \
307         pixmaps/notice_error.xpm \
308         pixmaps/notice_note.xpm \
309         pixmaps/notice_warn.xpm \
310         pixmaps/outbox_hrm.xpm \
311         pixmaps/outbox.xpm \
312         pixmaps/paste.xpm \
313         pixmaps/preferences.xpm \
314         pixmaps/properties.xpm \
315         pixmaps/quicksearch.xpm \
316         pixmaps/regular.xpm \
317         pixmaps/replied.xpm \
318         pixmaps/search.xpm \
319         pixmaps/sylpheed_logo.xpm \
320         pixmaps/sylpheed.xpm \
321         pixmaps/trash_hrm.xpm \
322         pixmaps/trash.xpm \
323         pixmaps/unread.xpm \
324         pixmaps/up_arrow.xpm \
325         pixmaps/vcard.xpm \
326         pixmaps/work_offline.xpm \
327         pixmaps/work_online.xpm
328
329 INCLUDES = \
330         -Icommon \
331         -Igtk \
332         -I$(top_srcdir)/intl \
333         -I$(includedir)
334
335 sylpheed_LDFLAGS = \
336         -export-dynamic
337
338 sylpheed_LDADD = \
339         gtk/libsylpheedgtk.la \
340         $(ASPELL_LIBS) \
341         $(INTLLIBS) \
342         $(GTK_LIBS) \
343         $(GPGME_LIBS) \
344         $(LDAP_LIBS) \
345         $(OPENSSL_LIBS) \
346         $(LIBICONV)
347
348 AM_CPPFLAGS = \
349         -DG_LOG_DOMAIN=\"Sylpheed\" \
350         -DLOCALEDIR=\""$(localedir)"\" \
351         -DMANUALDIR=\""$(manualdir)"\" \
352         -DFAQDIR=\""$(faqdir)"\" \
353         -DTARGET_ALIAS=\""$(target_triplet)"\" \
354         -DSYSCONFDIR=\""$(sysconfdir)"\" \
355         $(ASPELL_CFLAGS) \
356         $(GTK_CFLAGS) \
357         $(GPGME_CFLAGS) \
358         $(OPENSSL_CFLAGS)
359
360 AM_YFLAGS = -d