542beb772f0e0788a3f34c2bcab563e05c5c041b
[claws.git] / src / Makefile.am
1 SUBDIRS = common gtk plugins
2
3 bin_PROGRAMS = sylpheed
4
5 sylpheed_SOURCES = \
6         main.c main.h \
7         mainwindow.c mainwindow.h \
8         folderview.c folderview.h \
9         summaryview.c summaryview.h \
10         messageview.c messageview.h \
11         headerview.c headerview.h \
12         textview.c textview.h \
13         mimeview.c mimeview.h \
14         summary_search.c summary_search.h \
15         message_search.c message_search.h \
16         folder.c folder.h \
17         procmsg.c procmsg.h \
18         procheader.c procheader.h \
19         action.c action.h \
20         compose.c compose.h \
21         stock_pixmap.c stock_pixmap.h \
22         prefs_gtk.c prefs_gtk.h \
23         prefs_common.c prefs_common.h \
24         prefs_account.c prefs_account.h \
25         prefs_folder_item.c prefs_folder_item.h \
26         prefs_display_header.c prefs_display_header.h \
27         prefs_customheader.c prefs_customheader.h \
28         prefs_summary_column.c prefs_summary_column.h \
29         prefs_template.c prefs_template.h \
30         prefs_actions.c prefs_actions.h \
31         account.c account.h \
32         displayheader.c displayheader.h \
33         customheader.c customheader.h \
34         addressbook.c addressbook.h \
35         addr_compl.c addr_compl.h \
36         addressitem.h \
37         addrquery.h \
38         adbookbase.h \
39         addritem.c addritem.h \
40         addrcache.c addrcache.h \
41         addrclip.c addrclip.h \
42         addrselect.c addrselect.h \
43         addrbook.c addrbook.h \
44         addrindex.c addrindex.h \
45         vcard.c vcard.h \
46         ldif.c ldif.h \
47         importldif.c importldif.h \
48         mutt.c mutt.h \
49         importmutt.c importmutt.h \
50         pine.c pine.h \
51         importpine.c importpine.h \
52         jpilot.c jpilot.h \
53         ldapctrl.c ldapctrl.h \
54         ldapquery.c ldapquery.h \
55         ldapserver.c ldapserver.h \
56         ldaputil.c ldaputil.h \
57         editbook.c editbook.h \
58         editgroup.c editgroup.h \
59         editaddress.c editaddress.h \
60         editvcard.c editvcard.h \
61         editjpilot.c editjpilot.h \
62         editldap.c editldap.h \
63         editldap_basedn.c editldap_basedn.h \
64         addressadd.c addressadd.h \
65         addrharvest.c addrharvest.h \
66         addrgather.c addrgather.h \
67         exporthtml.c exporthtml.h \
68         exphtmldlg.c exphtmldlg.h \
69         foldersel.c foldersel.h \
70         statusbar.c statusbar.h \
71         logwindow.c logwindow.h \
72         sourcewindow.c sourcewindow.h \
73         undo.c undo.h \
74         alertpanel.c alertpanel.h \
75         inputdialog.c inputdialog.h \
76         progressdialog.c progressdialog.h \
77         grouplistdialog.c grouplistdialog.h \
78         setup.c setup.h \
79         codeconv.c codeconv.h \
80         unmime.c unmime.h \
81         ssl_manager.c ssl_manager.h \
82         pop.c pop.h \
83         mh.c mh.h \
84         mbox.c mbox.h \
85         send_message.c send_message.h \
86         recv.c recv.h \
87         inc.c inc.h \
88         import.c import.h \
89         export.c export.h \
90         news.c news.h \
91         imap.c imap.h \
92         html.c html.h \
93         enriched.c enriched.h \
94         procmime.c procmime.h \
95         rfc2015.c rfc2015.h \
96         passphrase.c passphrase.h \
97         select-keys.c select-keys.h \
98         sigstatus.c sigstatus.h \
99         simple-gettext.c \
100         manual.c manual.h \
101         scoring.c scoring.h \
102         matcher.c matcher.h \
103         prefs_matcher.c prefs_matcher.h \
104         prefs_scoring.c prefs_scoring.h \
105         filtering.c filtering.h \
106         prefs_filtering.c prefs_filtering.h \
107         mbox_folder.c mbox_folder.h \
108         quote_fmt_lex.l quote_fmt_lex.h \
109         quote_fmt_parse.y quote_fmt.c quote_fmt.h \
110         matcher_parser_lex.l matcher_parser_lex.h \
111         matcher_parser_parse.y matcher_parser.h matcher_parser_parse.h \
112         string_match.h string_match.c \
113         msgcache.h msgcache.c \
114         noticeview.h noticeview.c \
115         toolbar.c toolbar.h \
116         prefs_toolbar.c prefs_toolbar.h \
117         crash.c crash.h \
118         folder_item_prefs.c folder_item_prefs.h
119
120 BUILT_SOURCES = \
121         quote_fmt_lex.c \
122         quote_fmt_parse.c \
123         quote_fmt_parse.h \
124         matcher_parser_lex.c \
125         matcher_parser_parse.c \
126         matcher_parser_parse.h
127
128 EXTRA_DIST = \
129         quote_fmt_parse.h \
130         pixmaps/address_book.xpm \
131         pixmaps/address.xpm \
132         pixmaps/book.xpm \
133         pixmaps/category.xpm \
134         pixmaps/checkbox_off.xpm \
135         pixmaps/checkbox_on.xpm \
136         pixmaps/clipkey.xpm \
137         pixmaps/clip.xpm \
138         pixmaps/close.xpm \
139         pixmaps/complete.xpm \
140         pixmaps/continue.xpm \
141         pixmaps/deleted.xpm \
142         pixmaps/dir_close.xpm \
143         pixmaps/dir_open_hrm.xpm \
144         pixmaps/dir_open.xpm \
145         pixmaps/down_arrow.xpm \
146         pixmaps/drafts_close.xpm \
147         pixmaps/drafts_open.xpm \
148         pixmaps/error.xpm \
149         pixmaps/exec.xpm \
150         pixmaps/folder.xpm \
151         pixmaps/forwarded.xpm \
152         pixmaps/gpg_signed.xpm \
153         pixmaps/group.xpm \
154         pixmaps/ignorethread.xpm \
155         pixmaps/inbox_hrm.xpm \
156         pixmaps/inbox.xpm \
157         pixmaps/interface.xpm \
158         pixmaps/jpilot.xpm \
159         pixmaps/key.xpm \
160         pixmaps/ldap.xpm \
161         pixmaps/linewrap.xpm \
162         pixmaps/locked.xpm \
163         pixmaps/mail_attach.xpm \
164         pixmaps/mail_compose.xpm \
165         pixmaps/mail_forward.xpm \
166         pixmaps/mail_receive_all.xpm \
167         pixmaps/mail_receive.xpm \
168         pixmaps/mail_reply_to_all.xpm \
169         pixmaps/mail_reply_to_author.xpm \
170         pixmaps/mail_reply.xpm \
171         pixmaps/mail_send_queue.xpm \
172         pixmaps/mail_send.xpm \
173         pixmaps/mail.xpm \
174         pixmaps/mark.xpm \
175         pixmaps/messageview_text.xpm \
176         pixmaps/mime_application_octect_stream.xpm \
177         pixmaps/mime_application.xpm \
178         pixmaps/mime_audio.xpm \
179         pixmaps/mime_gpg_failed.xpm \
180         pixmaps/mime_gpg_passed.xpm \
181         pixmaps/mime_gpg_signed.xpm \
182         pixmaps/mime_image.xpm \
183         pixmaps/mime_text_enriched.xpm \
184         pixmaps/mime_text_html.xpm \
185         pixmaps/mime_text_plain.xpm \
186         pixmaps/mime_unknown.xpm \
187         pixmaps/news_compose.xpm \
188         pixmaps/new.xpm \
189         pixmaps/notice_error.xpm \
190         pixmaps/notice_note.xpm \
191         pixmaps/notice_warn.xpm \
192         pixmaps/outbox_hrm.xpm \
193         pixmaps/outbox.xpm \
194         pixmaps/paste.xpm \
195         pixmaps/preferences.xpm \
196         pixmaps/properties.xpm \
197         pixmaps/quicksearch.xpm \
198         pixmaps/regular.xpm \
199         pixmaps/replied.xpm \
200         pixmaps/search.xpm \
201         pixmaps/sylpheed_logo.xpm \
202         pixmaps/sylpheed.xpm \
203         pixmaps/trash_hrm.xpm \
204         pixmaps/trash.xpm \
205         pixmaps/unread.xpm \
206         pixmaps/up_arrow.xpm \
207         pixmaps/vcard.xpm \
208         pixmaps/work_offline.xpm \
209         pixmaps/work_online.xpm
210
211 INCLUDES = \
212         -Icommon \
213         -Igtk \
214         -DG_LOG_DOMAIN=\"Sylpheed\" \
215         -I$(top_srcdir)/intl \
216         $(ASPELL_CFLAGS) \
217         $(GTK_CFLAGS) \
218         $(GPGME_CFLAGS) \
219         $(OPENSSL_CFLAGS) \
220         -I$(includedir)
221
222 sylpheed_LDFLAGS = \
223         -export-dynamic
224
225 sylpheed_LDADD = \
226         $(ASPELL_LIBS) \
227         gtk/libsylpheedgtk.la \
228         $(INTLLIBS) \
229         $(GTK_LIBS) \
230         $(GPGME_LIBS) \
231         $(LDAP_LIBS) \
232         $(OPENSSL_LIBS) \
233         $(LIBICONV)
234
235 CPPFLAGS = \
236         -DLOCALEDIR=\""$(localedir)"\" \
237         -DMANUALDIR=\""$(manualdir)"\" \
238         -DFAQDIR=\""$(faqdir)"\" \
239         -DTARGET_ALIAS=\""$(target_triplet)"\" \
240         -DSYSCONFDIR=\""$(sysconfdir)"\"
241
242 YFLAGS = -d