sync with 0.8.11cvs27
[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         adbookbase.h \
38         addrquery.h \
39         addritem.c addritem.h \
40         addrcache.c addrcache.h \
41         addrcindex.c addrcindex.h \
42         addrclip.c addrclip.h \
43         addrselect.c addrselect.h \
44         addrbook.c addrbook.h \
45         addrindex.c addrindex.h \
46         vcard.c vcard.h \
47         ldif.c ldif.h \
48         importldif.c importldif.h \
49         mutt.c mutt.h \
50         importmutt.c importmutt.h \
51         pine.c pine.h \
52         importpine.c importpine.h \
53         jpilot.c jpilot.h \
54         syldap.c syldap.h \
55         ldapserver.c ldapserver.h \
56         ldapctrl.c ldapctrl.h \
57         ldapquery.c ldapquery.h \
58         ldaputil.c ldaputil.h \
59         editbook.c editbook.h \
60         editgroup.c editgroup.h \
61         editaddress.c editaddress.h \
62         editvcard.c editvcard.h \
63         editjpilot.c editjpilot.h \
64         editldap.c editldap.h \
65         editldap_basedn.c editldap_basedn.h \
66         addressadd.c addressadd.h \
67         addrharvest.c addrharvest.h \
68         addrgather.c addrgather.h \
69         exporthtml.c exporthtml.h \
70         exphtmldlg.c exphtmldlg.h \
71         filesel.c filesel.h \
72         foldersel.c foldersel.h \
73         statusbar.c statusbar.h \
74         logwindow.c logwindow.h \
75         sourcewindow.c sourcewindow.h \
76         undo.c undo.h \
77         alertpanel.c alertpanel.h \
78         inputdialog.c inputdialog.h \
79         progressdialog.c progressdialog.h \
80         grouplistdialog.c grouplistdialog.h \
81         setup.c setup.h \
82         codeconv.c codeconv.h \
83         unmime.c unmime.h \
84         ssl_manager.c ssl_manager.h \
85         pop.c pop.h \
86         mh.c mh.h \
87         mbox.c mbox.h \
88         send_message.c send_message.h \
89         recv.c recv.h \
90         inc.c inc.h \
91         import.c import.h \
92         export.c export.h \
93         news.c news.h \
94         imap.c imap.h \
95         html.c html.h \
96         enriched.c enriched.h \
97         procmime.c procmime.h \
98         rfc2015.c rfc2015.h \
99         passphrase.c passphrase.h \
100         pgptext.c pgptext.h \
101         select-keys.c select-keys.h \
102         sigstatus.c sigstatus.h \
103         simple-gettext.c \
104         manual.c manual.h \
105         scoring.c scoring.h \
106         matcher.c matcher.h \
107         prefs_matcher.c prefs_matcher.h \
108         prefs_scoring.c prefs_scoring.h \
109         filtering.c filtering.h \
110         prefs_filtering.c prefs_filtering.h \
111         mbox_folder.c mbox_folder.h \
112         quote_fmt_lex.l quote_fmt_lex.h \
113         quote_fmt_parse.y quote_fmt.c quote_fmt.h \
114         gtkaspell.c gtkaspell.h \
115         matcher_parser_lex.l matcher_parser_lex.h \
116         matcher_parser_parse.y matcher_parser.h matcher_parser_parse.h \
117         string_match.h string_match.c \
118         msgcache.h msgcache.c \
119         noticeview.h noticeview.c \
120         toolbar.c toolbar.h \
121         prefs_toolbar.c prefs_toolbar.h \
122         crash.c crash.h
123
124 BUILT_SOURCES = \
125         quote_fmt_lex.c \
126         quote_fmt_parse.c \
127         quote_fmt_parse.h \
128         matcher_parser_lex.c \
129         matcher_parser_parse.c \
130         matcher_parser_parse.h
131
132 EXTRA_DIST = \
133         quote_fmt_parse.h \
134         pixmaps/address_book.xpm \
135         pixmaps/address.xpm \
136         pixmaps/book.xpm \
137         pixmaps/category.xpm \
138         pixmaps/checkbox_off.xpm \
139         pixmaps/checkbox_on.xpm \
140         pixmaps/clip.xpm \
141         pixmaps/clipkey.xpm \
142         pixmaps/close.xpm \
143         pixmaps/complete.xpm \
144         pixmaps/continue.xpm \
145         pixmaps/deleted.xpm \
146         pixmaps/dir_close.xpm \
147         pixmaps/dir_open.xpm \
148         pixmaps/dir_open_hrm.xpm \
149         pixmaps/drafts_close.xpm \
150         pixmaps/drafts_open.xpm \
151         pixmaps/down_arrow.xpm \
152         pixmaps/error.xpm \
153         pixmaps/exec.xpm \
154         pixmaps/folder.xpm \
155         pixmaps/forwarded.xpm \
156         pixmaps/gpg_signed.xpm \
157         pixmaps/group.xpm \
158         pixmaps/ignorethread.xpm \
159         pixmaps/inbox.xpm \
160         pixmaps/inbox_hrm.xpm \
161         pixmaps/interface.xpm \
162         pixmaps/jpilot.xpm \
163         pixmaps/key.xpm \
164         pixmaps/ldap.xpm \
165         pixmaps/linewrap.xpm \
166         pixmaps/locked.xpm \
167         pixmaps/mail.xpm \
168         pixmaps/mail_attach.xpm \
169         pixmaps/mail_compose.xpm \
170         pixmaps/mail_forward.xpm \
171         pixmaps/mail_receive.xpm \
172         pixmaps/mail_receive_all.xpm \
173         pixmaps/mail_reply.xpm \
174         pixmaps/mail_reply_to_all.xpm \
175         pixmaps/mail_reply_to_author.xpm \
176         pixmaps/mail_send.xpm \
177         pixmaps/mail_send_queue.xpm \
178         pixmaps/mark.xpm \
179         pixmaps/new.xpm \
180         pixmaps/news_compose.xpm \
181         pixmaps/outbox.xpm \
182         pixmaps/outbox_hrm.xpm \
183         pixmaps/paste.xpm \
184         pixmaps/preferences.xpm \
185         pixmaps/properties.xpm \
186         pixmaps/regular.xpm \
187         pixmaps/replied.xpm \
188         pixmaps/search.xpm \
189         pixmaps/sylpheed.xpm \
190         pixmaps/sylpheed_logo.xpm \
191         pixmaps/trash.xpm \
192         pixmaps/trash_hrm.xpm \
193         pixmaps/unread.xpm \
194         pixmaps/up_arrow.xpm \
195         pixmaps/vcard.xpm \
196         pixmaps/work_offline.xpm \
197         pixmaps/work_online.xpm \
198         pixmaps/notice_warn.xpm \
199         pixmaps/notice_error.xpm \
200         pixmaps/notice_note.xpm \
201         pixmaps/quicksearch.xpm
202
203 INCLUDES = \
204         -Icommon \
205         -Igtk \
206         -DG_LOG_DOMAIN=\"Sylpheed\" \
207         -I$(top_srcdir)/intl \
208         $(ASPELL_CFLAGS)    \
209         $(GTK_CFLAGS) \
210         $(GPGME_CFLAGS) \
211         $(OPENSSL_CFLAGS) \
212         -I$(includedir)
213
214 sylpheed_LDADD = \
215         $(ASPELL_LIBS) \
216         gtk/libsylpheedgtk.la \
217         $(INTLLIBS) \
218         $(GTK_LIBS) \
219         $(GPGME_LIBS) \
220         $(LDAP_LIBS) \
221         $(OPENSSL_LIBS) \
222         $(LIBICONV)
223
224 CPPFLAGS = \
225         -DLOCALEDIR=\""$(localedir)"\" \
226         -DMANUALDIR=\""$(manualdir)"\" \
227         -DFAQDIR=\""$(faqdir)"\" \
228         -DTARGET_ALIAS=\""$(target_triplet)"\" \
229         -DSYSCONFDIR=\""$(sysconfdir)"\"
230
231 YFLAGS = -d