0.9.4claws16
[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         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_basedn.c \
30         editldap.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_lex.l \
99         quote_fmt_parse.y quote_fmt.c \
100         recv.c \
101         rfc2015.c \
102         scoring.c \
103         select-keys.c \
104         send_message.c \
105         setup.c \
106         sigstatus.c \
107         simple-gettext.c \
108         sourcewindow.c \
109         ssl_manager.c \
110         statusbar.c \
111         stock_pixmap.c \
112         string_match.c \
113         summary_search.c \
114         summaryview.c \
115         textview.c \
116         toolbar.c \
117         undo.c \
118         unmime.c \
119         vcard.c
120
121 sylpheedincludedir = $(pkgincludedir)
122 sylpheedinclude_HEADERS = \
123         account.h \
124         action.h \
125         adbookbase.h \
126         addrbook.h \
127         addrcache.h \
128         addrclip.h \
129         addr_compl.h \
130         addressadd.h \
131         addressbook.h \
132         addressitem.h \
133         addrgather.h \
134         addrharvest.h \
135         addrindex.h \
136         addritem.h \
137         addrquery.h \
138         addrselect.h \
139         alertpanel.h \
140         codeconv.h \
141         compose.h \
142         crash.h \
143         customheader.h \
144         displayheader.h \
145         editaddress.h \
146         editbook.h \
147         editgroup.h \
148         editjpilot.h \
149         editldap_basedn.h \
150         editldap.h \
151         editvcard.h \
152         enriched.h \
153         exphtmldlg.h \
154         export.h \
155         exporthtml.h \
156         filtering.h \
157         folder.h \
158         folder_item_prefs.h \
159         foldersel.h \
160         folderview.h \
161         grouplistdialog.h \
162         headerview.h \
163         html.h \
164         imap.h \
165         import.h \
166         importldif.h \
167         importmutt.h \
168         importpine.h \
169         inc.h \
170         inputdialog.h \
171         jpilot.h \
172         ldapctrl.h \
173         ldapquery.h \
174         ldapserver.h \
175         ldaputil.h \
176         ldif.h \
177         logwindow.h \
178         main.h \
179         mainwindow.h \
180         manual.h \
181         matcher.h \
182         matcher_parser_lex.h \
183         matcher_parser_parse.y \
184         matcher_parser.h \
185         matcher_parser_parse.h \
186         mbox_folder.h \
187         mbox.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_lex.l quote_fmt_lex.h \
219         quote_fmt_parse.y quote_fmt.h \
220         recv.h \
221         rfc2015.h \
222         scoring.h \
223         select-keys.h \
224         send_message.h \
225         setup.h \
226         sigstatus.h \
227         sourcewindow.h \
228         ssl_manager.h \
229         statusbar.h \
230         stock_pixmap.h \
231         string_match.h \
232         summary_search.h \
233         summaryview.h \
234         textview.h \
235         toolbar.h \
236         undo.h \
237         unmime.h \
238         vcard.h
239
240 BUILT_SOURCES = \
241         quote_fmt_lex.c \
242         quote_fmt_parse.c \
243         quote_fmt_parse.h \
244         matcher_parser_lex.c \
245         matcher_parser_parse.c \
246         matcher_parser_parse.h
247
248 EXTRA_DIST = \
249         quote_fmt_parse.h \
250         pixmaps/address_book.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         -I$(includedir)
338
339 sylpheed_LDFLAGS = \
340         -export-dynamic
341
342 sylpheed_LDADD = \
343         gtk/libsylpheedgtk.la \
344         $(ASPELL_LIBS) \
345         $(INTLLIBS) \
346         $(GTK_LIBS) \
347         $(GPGME_LIBS) \
348         $(LDAP_LIBS) \
349         $(OPENSSL_LIBS) \
350         $(LIBICONV)
351
352 AM_CPPFLAGS = \
353         -DG_LOG_DOMAIN=\"Sylpheed\" \
354         -DLOCALEDIR=\""$(localedir)"\" \
355         -DMANUALDIR=\""$(manualdir)"\" \
356         -DFAQDIR=\""$(faqdir)"\" \
357         -DTARGET_ALIAS=\""$(target_triplet)"\" \
358         -DSYSCONFDIR=\""$(sysconfdir)"\" \
359         $(ASPELL_CFLAGS) \
360         $(GTK_CFLAGS) \
361         $(GPGME_CFLAGS) \
362         $(OPENSSL_CFLAGS)
363
364 AM_YFLAGS = -d