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