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