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