0.8.6claws67
[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         nntp.c nntp.h \
104         news.c news.h \
105         imap.c imap.h \
106         xml.c xml.h \
107         html.c html.h \
108         enriched.c enriched.h \
109         procmime.c procmime.h \
110         rfc2015.c rfc2015.h \
111         passphrase.c passphrase.h \
112         pgptext.c pgptext.h \
113         select-keys.c select-keys.h \
114         sigstatus.c sigstatus.h \
115         simple-gettext.c \
116         manual.c manual.h \
117         stringtable.c stringtable.h \
118         scoring.c scoring.h \
119         matcher.c matcher.h \
120         prefs_matcher.c prefs_matcher.h \
121         prefs_scoring.c prefs_scoring.h \
122         filtering.c filtering.h \
123         prefs_filtering.c prefs_filtering.h \
124         mbox_folder.c mbox_folder.h \
125         quote_fmt_lex.l quote_fmt_lex.h \
126         quote_fmt_parse.y quote_fmt.c quote_fmt.h \
127         gtkaspell.c gtkaspell.h gtkxtext.h \
128         matcher_parser_lex.l matcher_parser_lex.h \
129         matcher_parser_parse.y matcher_parser.h matcher_parser_parse.h \
130         string_match.h string_match.c \
131         selective_download.c selective_download.h \
132         msgcache.h msgcache.c \
133         noticeview.h noticeview.c \
134         toolbar.c toolbar.h \
135         prefs_toolbar.c prefs_toolbar.h \
136         crash.c crash.h
137
138 BUILT_SOURCES = \
139         quote_fmt_lex.c \
140         quote_fmt_parse.c \
141         quote_fmt_parse.h \
142         matcher_parser_lex.c \
143         matcher_parser_parse.c \
144         matcher_parser_parse.h
145
146 EXTRA_DIST = \
147         quote_fmt_parse.h \
148         version.h.in \
149         pixmaps/address_book.xpm \
150         pixmaps/address.xpm \
151         pixmaps/book.xpm \
152         pixmaps/category.xpm \
153         pixmaps/checkbox_off.xpm \
154         pixmaps/checkbox_on.xpm \
155         pixmaps/clip.xpm \
156         pixmaps/clipkey.xpm \
157         pixmaps/close.xpm \
158         pixmaps/complete.xpm \
159         pixmaps/continue.xpm \
160         pixmaps/deleted.xpm \
161         pixmaps/dir_close.xpm \
162         pixmaps/dir_open.xpm \
163         pixmaps/dir_open_hrm.xpm \
164         pixmaps/down_arrow.xpm \
165         pixmaps/error.xpm \
166         pixmaps/exec.xpm \
167         pixmaps/folder.xpm \
168         pixmaps/forwarded.xpm \
169         pixmaps/group.xpm \
170         pixmaps/ignorethread.xpm \
171         pixmaps/inbox.xpm \
172         pixmaps/inbox_hrm.xpm \
173         pixmaps/interface.xpm \
174         pixmaps/jpilot.xpm \
175         pixmaps/key.xpm \
176         pixmaps/ldap.xpm \
177         pixmaps/linewrap.xpm \
178         pixmaps/locked.xpm \
179         pixmaps/mail.xpm \
180         pixmaps/mail_attach.xpm \
181         pixmaps/mail_compose.xpm \
182         pixmaps/mail_forward.xpm \
183         pixmaps/mail_receive.xpm \
184         pixmaps/mail_receive_all.xpm \
185         pixmaps/mail_reply.xpm \
186         pixmaps/mail_reply_to_all.xpm \
187         pixmaps/mail_reply_to_author.xpm \
188         pixmaps/mail_send.xpm \
189         pixmaps/mail_send_queue.xpm \
190         pixmaps/mark.xpm \
191         pixmaps/new.xpm \
192         pixmaps/news_compose.xpm \
193         pixmaps/outbox.xpm \
194         pixmaps/outbox_hrm.xpm \
195         pixmaps/paste.xpm \
196         pixmaps/preferences.xpm \
197         pixmaps/properties.xpm \
198         pixmaps/regular.xpm \
199         pixmaps/replied.xpm \
200         pixmaps/search.xpm \
201         pixmaps/sylpheed.xpm \
202         pixmaps/sylpheed_logo.xpm \
203         pixmaps/trash.xpm \
204         pixmaps/trash_hrm.xpm \
205         pixmaps/unread.xpm \
206         pixmaps/up_arrow.xpm \
207         pixmaps/vcard.xpm \
208         pixmaps/work_offline.xpm \
209         pixmaps/work_online.xpm \
210         pixmaps/notice_warn.xpm \
211         pixmaps/notice_error.xpm \
212         pixmaps/notice_note.xpm \
213         pixmaps/quicksearch.xpm
214
215 INCLUDES = \
216         -Icommon \
217         -Igtk \
218         -DG_LOG_DOMAIN=\"Sylpheed\" \
219         -I$(top_srcdir)/intl \
220         $(ASPELL_CFLAGS)    \
221         $(GTK_CFLAGS) \
222         $(GDK_IMLIB_CFLAGS) \
223         $(GDK_PIXBUF_CFLAGS) \
224         $(GPGME_CFLAGS) \
225         -I$(includedir)
226
227 sylpheed_LDADD = \
228         gtk/libsylpheedgtk.la \
229         $(INTLLIBS) \
230         $(ASPELL_LIBS) \
231         $(GTK_LIBS) \
232         $(GDK_IMLIB_LIBS) \
233         $(GDK_PIXBUF_LIBS) \
234         $(GPGME_LIBS) \
235         $(LDAP_LIBS)
236
237 CPPFLAGS = \
238         -DLOCALEDIR=\""$(localedir)"\" \
239         -DMANUALDIR=\""$(manualdir)"\" \
240         -DFAQDIR=\""$(faqdir)"\" \
241         -DTARGET_ALIAS=\""$(target_alias)"\" \
242         -DSYSCONFDIR=\""$(sysconfdir)"\"
243
244 YFLAGS = -d