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