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