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