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