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