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