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