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