Makefile.am changes for my last commit (removal of .xpm's)
[claws.git] / src / Makefile.am
1 SUBDIRS = common gtk plugins
2
3 bin_PROGRAMS = sylpheed
4
5 sylpheed_SOURCES = \
6         account.c \
7         action.c \
8         addrbook.c \
9         addrcache.c \
10         addrclip.c \
11         addr_compl.c \
12         addressadd.c \
13         addressbook.c \
14         addrgather.c \
15         addrharvest.c \
16         addrindex.c \
17         addritem.c \
18         addrquery.c \
19         addrselect.c \
20         alertpanel.c \
21         carray.c \
22         chash.c \
23         codeconv.c \
24         compose.c \
25         crash.c \
26         customheader.c \
27         displayheader.c \
28         editaddress.c \
29         editbook.c \
30         editgroup.c \
31         editjpilot.c \
32         editldap_basedn.c \
33         editldap.c \
34         editvcard.c \
35         enriched.c \
36         exphtmldlg.c \
37         expldifdlg.c \
38         export.c \
39         exporthtml.c \
40         exportldif.c \
41         filtering.c \
42         folder.c \
43         folder_item_prefs.c \
44         foldersel.c \
45         folderview.c \
46         grouplistdialog.c \
47         headerview.c \
48         html.c \
49         imap.c \
50         import.c \
51         importldif.c \
52         importmutt.c \
53         importpine.c \
54         inc.c \
55         inputdialog.c \
56         jpilot.c \
57         ldapctrl.c \
58         ldapquery.c \
59         ldapserver.c \
60         ldaputil.c \
61         ldif.c \
62         maillock.c \
63         main.c \
64         mainwindow.c \
65         manual.c \
66         matcher.c \
67         matcher_parser_lex.l \
68         matcher_parser_parse.y \
69         mbox.c \
70         mailmbox_folder.c \
71         mailmbox.c \
72         mailmbox_parse.c \
73         mailmbox_types.c \
74         message_search.c \
75         messageview.c \
76         mh.c \
77         mimeview.c \
78         msgcache.c \
79         mutt.c \
80         news.c \
81         noticeview.c \
82         passphrase.c \
83         pgpmime.c \
84         pine.c \
85         pop.c \
86         prefs_account.c \
87         prefs_actions.c \
88         prefs_common.c \
89         prefs_customheader.c \
90         prefs_display_header.c \
91         prefs_filtering_action.c \
92         prefs_filtering.c \
93         prefs_folder_item.c \
94         prefs_fonts.c \
95         prefs_gtk.c \
96         prefs_matcher.c \
97         prefs_scoring.c \
98         prefs_spelling.c \
99         prefs_summary_column.c \
100         prefs_template.c \
101         prefs_toolbar.c \
102         privacy.c \
103         procheader.c \
104         procmime.c \
105         procmsg.c \
106         quote_fmt.c \
107         quote_fmt_lex.l \
108         quote_fmt_parse.y \
109         recv.c \
110         rfc2015.c \
111         scoring.c \
112         select-keys.c \
113         send_message.c \
114         setup.c \
115         sgpgme.c \
116         sigstatus.c \
117         simple-gettext.c \
118         sourcewindow.c \
119         ssl_manager.c \
120         statusbar.c \
121         stock_pixmap.c \
122         string_match.c \
123         summary_search.c \
124         summaryview.c \
125         textview.c \
126         toolbar.c \
127         undo.c \
128         unmime.c \
129         vcard.c
130
131 sylpheedincludedir = $(pkgincludedir)
132 sylpheedinclude_HEADERS = \
133         account.h \
134         action.h \
135         adbookbase.h \
136         addrbook.h \
137         addrcache.h \
138         addrclip.h \
139         addr_compl.h \
140         addressadd.h \
141         addressbook.h \
142         addressitem.h \
143         addrgather.h \
144         addrharvest.h \
145         addrindex.h \
146         addritem.h \
147         addrquery.h \
148         addrselect.h \
149         alertpanel.h \
150         carray.h \
151         chash.h \
152         codeconv.h \
153         compose.h \
154         crash.h \
155         customheader.h \
156         displayheader.h \
157         editaddress.h \
158         editbook.h \
159         editgroup.h \
160         editjpilot.h \
161         editldap_basedn.h \
162         editldap.h \
163         editvcard.h \
164         enriched.h \
165         exphtmldlg.h \
166         expldifdlg.h \
167         export.h \
168         exporthtml.h \
169         exportldif.h \
170         filtering.h \
171         folder.h \
172         folder_item_prefs.h \
173         foldersel.h \
174         folderview.h \
175         grouplistdialog.h \
176         headerview.h \
177         html.h \
178         imap.h \
179         import.h \
180         importldif.h \
181         importmutt.h \
182         importpine.h \
183         inc.h \
184         inputdialog.h \
185         jpilot.h \
186         ldapctrl.h \
187         ldapquery.h \
188         ldapserver.h \
189         ldaputil.h \
190         ldif.h \
191         maillock.h \
192         main.h \
193         mainwindow.h \
194         manual.h \
195         matcher.h \
196         matcher_parser.h \
197         matcher_parser_lex.h \
198         matcher_parser_parse.h \
199         mbox.h \
200         mailmbox_folder.h \
201         mailmbox.h \
202         mailmbox_parse.h \
203         mailmbox_types.h \
204         message_search.h \
205         messageview.h \
206         mh.h \
207         mimeview.h \
208         msgcache.h \
209         mutt.h \
210         news.h \
211         noticeview.h \
212         passphrase.h \
213         pgpmime.h \
214         pine.h \
215         pop.h \
216         prefs_account.h \
217         prefs_actions.h \
218         prefs_common.h \
219         prefs_customheader.h \
220         prefs_display_header.h \
221         prefs_filtering_action.h \
222         prefs_filtering.h \
223         prefs_folder_item.h \
224         prefs_fonts.h \
225         prefs_gtk.h \
226         prefs_matcher.h \
227         prefs_scoring.h \
228         prefs_spelling.h \
229         prefs_summary_column.h \
230         prefs_template.h \
231         prefs_toolbar.h \
232         privacy.h \
233         procheader.h \
234         procmime.h \
235         procmsg.h \
236         quote_fmt.h \
237         quote_fmt_lex.h \
238         quote_fmt_parse.h \
239         recv.h \
240         rfc2015.h \
241         scoring.h \
242         select-keys.h \
243         send_message.h \
244         setup.h \
245         sgpgme.h \
246         sigstatus.h \
247         sourcewindow.h \
248         ssl_manager.h \
249         statusbar.h \
250         stock_pixmap.h \
251         string_match.h \
252         summary_search.h \
253         summaryview.h \
254         textview.h \
255         toolbar.h \
256         undo.h \
257         unmime.h \
258         vcard.h
259
260 BUILT_SOURCES = \
261         matcher_parser_parse.h \
262         quote_fmt_parse.h
263
264 EXTRA_DIST = \
265         pixmaps/address_book.xpm \
266         pixmaps/address_search.xpm \
267         pixmaps/address.xpm \
268         pixmaps/book.xpm \
269         pixmaps/category.xpm \
270         pixmaps/checkbox_off.xpm \
271         pixmaps/checkbox_on.xpm \
272         pixmaps/clipkey.xpm \
273         pixmaps/clip.xpm \
274         pixmaps/close.xpm \
275         pixmaps/complete.xpm \
276         pixmaps/continue.xpm \
277         pixmaps/deleted.xpm \
278         pixmaps/dir_close.xpm \
279         pixmaps/dir_open_hrm.xpm \
280         pixmaps/dir_open.xpm \
281         pixmaps/down_arrow.xpm \
282         pixmaps/drafts_close.xpm \
283         pixmaps/drafts_open.xpm \
284         pixmaps/error.xpm \
285         pixmaps/exec.xpm \
286         pixmaps/folder.xpm \
287         pixmaps/forwarded.xpm \
288         pixmaps/gpg_signed.xpm \
289         pixmaps/group.xpm \
290         pixmaps/ignorethread.xpm \
291         pixmaps/inbox_hrm.xpm \
292         pixmaps/inbox.xpm \
293         pixmaps/interface.xpm \
294         pixmaps/jpilot.xpm \
295         pixmaps/key.xpm \
296         pixmaps/ldap.xpm \
297         pixmaps/linewrap.xpm \
298         pixmaps/locked.xpm \
299         pixmaps/mail_attach.xpm \
300         pixmaps/mail_compose.xpm \
301         pixmaps/mail_forward.xpm \
302         pixmaps/mail_receive_all.xpm \
303         pixmaps/mail_receive.xpm \
304         pixmaps/mail_reply_to_all.xpm \
305         pixmaps/mail_reply_to_author.xpm \
306         pixmaps/mail_reply.xpm \
307         pixmaps/mail_send_queue.xpm \
308         pixmaps/mail_send.xpm \
309         pixmaps/mail.xpm \
310         pixmaps/mark.xpm \
311         pixmaps/mime_application.xpm \
312         pixmaps/mime_audio.xpm \
313         pixmaps/mime_gpg_expired.xpm \
314         pixmaps/mime_gpg_failed.xpm \
315         pixmaps/mime_gpg_passed.xpm \
316         pixmaps/mime_gpg_signed.xpm \
317         pixmaps/mime_gpg_unknown.xpm \
318         pixmaps/mime_image.xpm \
319         pixmaps/mime_text_enriched.xpm \
320         pixmaps/mime_text_html.xpm \
321         pixmaps/mime_text_plain.xpm \
322         pixmaps/mime_unknown.xpm \
323         pixmaps/news_compose.xpm \
324         pixmaps/new.xpm \
325         pixmaps/notice_error.xpm \
326         pixmaps/notice_note.xpm \
327         pixmaps/notice_warn.xpm \
328         pixmaps/outbox_hrm.xpm \
329         pixmaps/outbox.xpm \
330         pixmaps/paste.xpm \
331         pixmaps/preferences.xpm \
332         pixmaps/properties.xpm \
333         pixmaps/quicksearch.xpm \
334         pixmaps/regular.xpm \
335         pixmaps/replied.xpm \
336         pixmaps/search.xpm \
337         pixmaps/sylpheed_logo.xpm \
338         pixmaps/sylpheed.xpm \
339         pixmaps/trash_hrm.xpm \
340         pixmaps/trash.xpm \
341         pixmaps/unread.xpm \
342         pixmaps/up_arrow.xpm \
343         pixmaps/vcard.xpm \
344         pixmaps/work_offline.xpm \
345         pixmaps/work_online.xpm
346
347 INCLUDES = \
348         -Icommon \
349         -Igtk \
350         -I$(top_srcdir)/intl
351
352 sylpheed_LDFLAGS = \
353         -export-dynamic
354
355 sylpheed_LDADD = \
356         gtk/libsylpheedgtk.la \
357         $(ASPELL_LIBS) \
358         $(INTLLIBS) \
359         $(GTK_LIBS) \
360         $(GPGME_LIBS) \
361         $(LDAP_LIBS) \
362         $(OPENSSL_LIBS) \
363         $(LIBICONV)
364
365 AM_CPPFLAGS = \
366         -DG_LOG_DOMAIN=\"Sylpheed\" \
367         -DLOCALEDIR=\""$(localedir)"\" \
368         -DMANUALDIR=\""$(manualdir)"\" \
369         -DFAQDIR=\""$(faqdir)"\" \
370         -DTARGET_ALIAS=\""$(target_triplet)"\" \
371         -DSYSCONFDIR=\""$(sysconfdir)"\" \
372         $(ASPELL_CFLAGS) \
373         $(GTK_CFLAGS) \
374         $(GPGME_CFLAGS) \
375         $(OPENSSL_CFLAGS)
376
377 AM_YFLAGS = -d