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