2005-03-31 [colin] 1.9.6cvs16
[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         image_viewer.c \
50         imap.c \
51         imap_gtk.c \
52         import.c \
53         importldif.c \
54         importmutt.c \
55         importpine.c \
56         inc.c \
57         jpilot.c \
58         ldapctrl.c \
59         ldaplocate.c \
60         ldapquery.c \
61         ldapserver.c \
62         ldaputil.c \
63         ldif.c \
64         localfolder.c \
65         main.c \
66         mainwindow.c \
67         manual.c \
68         matcher.c \
69         matcher_parser_lex.l \
70         matcher_parser_parse.y \
71         mbox.c \
72         message_search.c \
73         messageview.c \
74         mh.c \
75         mh_gtk.c \
76         mimeview.c \
77         msgcache.c \
78         mutt.c \
79         news.c \
80         news_gtk.c \
81         noticeview.c \
82         partial_download.c \
83         pine.c \
84         pop.c \
85         prefs_account.c \
86         prefs_actions.c \
87         prefs_common.c \
88         prefs_customheader.c \
89         prefs_display_header.c \
90         prefs_ext_prog.c \
91         prefs_filtering_action.c \
92         prefs_filtering.c \
93         prefs_folder_item.c \
94         prefs_fonts.c \
95         prefs_gtk.c \
96         prefs_image_viewer.c \
97         prefs_matcher.c \
98         prefs_msg_colors.c \
99         prefs_spelling.c \
100         prefs_summary_column.c \
101         prefs_template.c \
102         prefs_themes.c \
103         prefs_toolbar.c \
104         prefs_wrapping.c \
105         privacy.c \
106         procheader.c \
107         procmime.c \
108         procmsg.c \
109         quote_fmt.c \
110         quote_fmt_lex.l \
111         quote_fmt_parse.y \
112         recv.c \
113         remotefolder.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         image_viewer.h \
179         imap.h \
180         imap_gtk.h \
181         import.h \
182         importldif.h \
183         importmutt.h \
184         importpine.h \
185         inc.h \
186         jpilot.h \
187         ldapctrl.h \
188         ldaplocate.h \
189         ldapquery.h \
190         ldapserver.h \
191         ldaputil.h \
192         ldif.h \
193         localfolder.h \
194         main.h \
195         mainwindow.h \
196         manual.h \
197         matcher.h \
198         matcher_parser.h \
199         matcher_parser_lex.h \
200         matcher_parser_parse.h \
201         mbox.h \
202         message_search.h \
203         messageview.h \
204         mh.h \
205         mh_gtk.h \
206         mimeview.h \
207         msgcache.h \
208         mutt.h \
209         news.h \
210         news_gtk.h \
211         noticeview.h \
212         partial_download.h \
213         pine.h \
214         pop.h \
215         prefs_account.h \
216         prefs_actions.h \
217         prefs_common.h \
218         prefs_customheader.h \
219         prefs_display_header.h \
220         prefs_ext_prog.h \
221         prefs_filtering_action.h \
222         prefs_filtering.h \
223         prefs_folder_item.h \
224         prefs_fonts.h \
225         prefs_gtk.h \
226         prefs_image_viewer.h \
227         prefs_matcher.h \
228         prefs_msg_colors.h \
229         prefs_spelling.h \
230         prefs_summary_column.h \
231         prefs_template.h \
232         prefs_themes.h \
233         prefs_toolbar.h \
234         prefs_wrapping.h \
235         privacy.h \
236         procheader.h \
237         procmime.h \
238         procmsg.h \
239         quote_fmt.h \
240         quote_fmt_lex.h \
241         quote_fmt_parse.h \
242         recv.h \
243         remotefolder.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_no_select.xpm \
280         pixmaps/dir_open_hrm.xpm \
281         pixmaps/dir_open.xpm \
282         pixmaps/down_arrow.xpm \
283         pixmaps/drafts_close.xpm \
284         pixmaps/drafts_open.xpm \
285         pixmaps/error.xpm \
286         pixmaps/exec.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/replied.xpm \
345         pixmaps/search.xpm \
346         pixmaps/sylpheed_icon.xpm \
347         pixmaps/sylpheed_logo.xpm \
348         pixmaps/sylpheed.xpm \
349         pixmaps/trash_hrm.xpm \
350         pixmaps/trash.xpm \
351         pixmaps/unread.xpm \
352         pixmaps/read.xpm \
353         pixmaps/up_arrow.xpm \
354         pixmaps/vcard.xpm
355
356 INCLUDES = \
357         -Icommon \
358         -Igtk
359
360 sylpheed_LDFLAGS = \
361         -export-dynamic
362
363 sylpheed_LDADD = \
364         gtk/libsylpheedgtk.la \
365         $(ASPELL_LIBS) \
366         $(INTLLIBS) \
367         $(GTK_LIBS) \
368         $(GPGME_LIBS) \
369         $(LDAP_LIBS) \
370         $(OPENSSL_LIBS) \
371         $(COMPFACE_LIBS) \
372         $(JPILOT_LIBS) \
373         $(PTHREAD_LIBS) \
374         $(LIBICONV) \
375         $(STARTUP_NOTIFICATION_LIBS)
376
377 AM_CPPFLAGS = \
378         -DG_LOG_DOMAIN=\"Sylpheed\" \
379         -DLOCALEDIR=\""$(localedir)"\" \
380         -DMANUALDIR=\""$(manualdir)"\" \
381         -DFAQDIR=\""$(faqdir)"\" \
382         -DTARGET_ALIAS=\""$(target_triplet)"\" \
383         -DSYSCONFDIR=\""$(sysconfdir)"\" \
384         $(ASPELL_CFLAGS) \
385         $(GTK_CFLAGS) \
386         $(GPGME_CFLAGS) \
387         $(OPENSSL_CFLAGS) \
388         $(STARTUP_NOTIFICATION_CFLAGS)
389
390 AM_YFLAGS = -d