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