0.9.5claws30
[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         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         expldifdlg.h \
156         export.h \
157         exporthtml.h \
158         exportldif.h \
159         filtering.h \
160         folder.h \
161         folder_item_prefs.h \
162         foldersel.h \
163         folderview.h \
164         grouplistdialog.h \
165         headerview.h \
166         html.h \
167         imap.h \
168         import.h \
169         importldif.h \
170         importmutt.h \
171         importpine.h \
172         inc.h \
173         inputdialog.h \
174         jpilot.h \
175         ldapctrl.h \
176         ldapquery.h \
177         ldapserver.h \
178         ldaputil.h \
179         ldif.h \
180         main.h \
181         mainwindow.h \
182         manual.h \
183         matcher.h \
184         matcher_parser.h \
185         matcher_parser_lex.h \
186         matcher_parser_parse.h \
187         mbox.h \
188         mbox_folder.h \
189         message_search.h \
190         messageview.h \
191         mh.h \
192         mimeview.h \
193         msgcache.h \
194         mutt.h \
195         news.h \
196         noticeview.h \
197         passphrase.h \
198         pine.h \
199         pop.h \
200         prefs_account.h \
201         prefs_actions.h \
202         prefs_common.h \
203         prefs_customheader.h \
204         prefs_display_header.h \
205         prefs_filtering.h \
206         prefs_filtering_action.h \
207         prefs_folder_item.h \
208         prefs_gtk.h \
209         prefs_matcher.h \
210         prefs_scoring.h \
211         prefs_spelling.h \
212         prefs_summary_column.h \
213         prefs_template.h \
214         prefs_toolbar.h \
215         procheader.h \
216         procmime.h \
217         procmsg.h \
218         progressdialog.h \
219         quote_fmt.h \
220         quote_fmt_lex.h \
221         quote_fmt_parse.h \
222         recv.h \
223         rfc2015.h \
224         scoring.h \
225         select-keys.h \
226         send_message.h \
227         setup.h \
228         sigstatus.h \
229         sourcewindow.h \
230         ssl_manager.h \
231         statusbar.h \
232         stock_pixmap.h \
233         string_match.h \
234         summary_search.h \
235         summaryview.h \
236         textview.h \
237         toolbar.h \
238         undo.h \
239         unmime.h \
240         vcard.h
241
242 BUILT_SOURCES = \
243         matcher_parser_parse.h \
244         quote_fmt_parse.h
245
246 EXTRA_DIST = \
247         pixmaps/address_book.xpm \
248         pixmaps/address_search.xpm \
249         pixmaps/address.xpm \
250         pixmaps/book.xpm \
251         pixmaps/category.xpm \
252         pixmaps/checkbox_off.xpm \
253         pixmaps/checkbox_on.xpm \
254         pixmaps/clipkey.xpm \
255         pixmaps/clip.xpm \
256         pixmaps/close.xpm \
257         pixmaps/complete.xpm \
258         pixmaps/continue.xpm \
259         pixmaps/deleted.xpm \
260         pixmaps/dir_close.xpm \
261         pixmaps/dir_open_hrm.xpm \
262         pixmaps/dir_open.xpm \
263         pixmaps/down_arrow.xpm \
264         pixmaps/drafts_close.xpm \
265         pixmaps/drafts_open.xpm \
266         pixmaps/error.xpm \
267         pixmaps/exec.xpm \
268         pixmaps/folder.xpm \
269         pixmaps/forwarded.xpm \
270         pixmaps/gpg_signed.xpm \
271         pixmaps/group.xpm \
272         pixmaps/ignorethread.xpm \
273         pixmaps/inbox_hrm.xpm \
274         pixmaps/inbox.xpm \
275         pixmaps/interface.xpm \
276         pixmaps/jpilot.xpm \
277         pixmaps/key.xpm \
278         pixmaps/ldap.xpm \
279         pixmaps/linewrap.xpm \
280         pixmaps/locked.xpm \
281         pixmaps/mail_attach.xpm \
282         pixmaps/mail_compose.xpm \
283         pixmaps/mail_forward.xpm \
284         pixmaps/mail_receive_all.xpm \
285         pixmaps/mail_receive.xpm \
286         pixmaps/mail_reply_to_all.xpm \
287         pixmaps/mail_reply_to_author.xpm \
288         pixmaps/mail_reply.xpm \
289         pixmaps/mail_send_queue.xpm \
290         pixmaps/mail_send.xpm \
291         pixmaps/mail.xpm \
292         pixmaps/mark.xpm \
293         pixmaps/messageview_text.xpm \
294         pixmaps/mime_application_octet_stream.xpm \
295         pixmaps/mime_application.xpm \
296         pixmaps/mime_audio.xpm \
297         pixmaps/mime_gpg_expired.xpm \
298         pixmaps/mime_gpg_failed.xpm \
299         pixmaps/mime_gpg_passed.xpm \
300         pixmaps/mime_gpg_signed.xpm \
301         pixmaps/mime_gpg_unknown.xpm \
302         pixmaps/mime_image.xpm \
303         pixmaps/mime_text_enriched.xpm \
304         pixmaps/mime_text_html.xpm \
305         pixmaps/mime_text_plain.xpm \
306         pixmaps/mime_unknown.xpm \
307         pixmaps/news_compose.xpm \
308         pixmaps/new.xpm \
309         pixmaps/notice_error.xpm \
310         pixmaps/notice_note.xpm \
311         pixmaps/notice_warn.xpm \
312         pixmaps/outbox_hrm.xpm \
313         pixmaps/outbox.xpm \
314         pixmaps/paste.xpm \
315         pixmaps/preferences.xpm \
316         pixmaps/properties.xpm \
317         pixmaps/quicksearch.xpm \
318         pixmaps/regular.xpm \
319         pixmaps/replied.xpm \
320         pixmaps/search.xpm \
321         pixmaps/sylpheed_logo.xpm \
322         pixmaps/sylpheed.xpm \
323         pixmaps/trash_hrm.xpm \
324         pixmaps/trash.xpm \
325         pixmaps/unread.xpm \
326         pixmaps/up_arrow.xpm \
327         pixmaps/vcard.xpm \
328         pixmaps/work_offline.xpm \
329         pixmaps/work_online.xpm
330
331 INCLUDES = \
332         -Icommon \
333         -Igtk \
334         -I$(top_srcdir)/intl
335
336 sylpheed_LDFLAGS = \
337         -export-dynamic
338
339 sylpheed_LDADD = \
340         gtk/libsylpheedgtk.la \
341         $(ASPELL_LIBS) \
342         $(INTLLIBS) \
343         $(GTK_LIBS) \
344         $(GPGME_LIBS) \
345         $(LDAP_LIBS) \
346         $(OPENSSL_LIBS) \
347         $(LIBICONV)
348
349 AM_CPPFLAGS = \
350         -DG_LOG_DOMAIN=\"Sylpheed\" \
351         -DLOCALEDIR=\""$(localedir)"\" \
352         -DMANUALDIR=\""$(manualdir)"\" \
353         -DFAQDIR=\""$(faqdir)"\" \
354         -DTARGET_ALIAS=\""$(target_triplet)"\" \
355         -DSYSCONFDIR=\""$(sysconfdir)"\" \
356         $(ASPELL_CFLAGS) \
357         $(GTK_CFLAGS) \
358         $(GPGME_CFLAGS) \
359         $(OPENSSL_CFLAGS)
360
361 AM_YFLAGS = -d