4 etpan_library = etpan/libclawsetpan.la
10 SUBDIRS = common gtk $(etpan_dir) . plugins
12 bin_PROGRAMS = claws-mail
14 @rm -f $(DESTDIR)$(bindir)/sylpheed-claws
15 @ln -s claws-mail $(DESTDIR)$(bindir)/sylpheed-claws
17 claws_mail_SOURCES = \
26 addressbook_foldersel.c \
85 matcher_parser_lex.l \
86 matcher_parser_parse.y \
104 prefs_compose_writing.c \
105 prefs_customheader.c \
106 prefs_display_header.c \
108 prefs_filtering_action.c \
110 prefs_folder_item.c \
113 prefs_image_viewer.c \
124 prefs_summary_column.c \
125 prefs_summary_open.c \
126 prefs_folder_column.c \
157 claws_mailincludedir = $(pkgincludedir)
158 claws_mailinclude_HEADERS = \
169 addressbook_foldersel.h \
200 folder_item_prefs.h \
230 matcher_parser_lex.h \
231 matcher_parser_parse.h \
249 prefs_compose_writing.h \
250 prefs_customheader.h \
251 prefs_display_header.h \
253 prefs_filtering_action.h \
255 prefs_folder_item.h \
258 prefs_image_viewer.h \
269 prefs_summary_column.h \
270 prefs_summary_open.h \
271 prefs_folder_column.h \
302 matcher_parser_parse.h \
306 pixmaps/addr_one.xpm \
307 pixmaps/addr_two.xpm \
308 pixmaps/address_book.xpm \
309 pixmaps/address_search.xpm \
310 pixmaps/address.xpm \
312 pixmaps/category.xpm \
313 pixmaps/checkbox_off.xpm \
314 pixmaps/checkbox_on.xpm \
315 pixmaps/check_spelling.xpm \
316 pixmaps/clipkey.xpm \
318 pixmaps/clip_gpg_signed.xpm \
320 pixmaps/complete.xpm \
321 pixmaps/continue.xpm \
322 pixmaps/deleted.xpm \
323 pixmaps/dir_close.xpm \
324 pixmaps/dir_close_hrm.xpm \
325 pixmaps/dir_noselect.xpm \
326 pixmaps/dir_open_hrm.xpm \
327 pixmaps/dir_open.xpm \
328 pixmaps/down_arrow.xpm \
329 pixmaps/drafts_close.xpm \
330 pixmaps/drafts_open.xpm \
331 pixmaps/drafts_close.xpm \
332 pixmaps/drafts_open.xpm \
333 pixmaps/edit_extern.xpm \
336 pixmaps/forwarded.xpm \
337 pixmaps/gpg_signed.xpm \
339 pixmaps/ham_btn.xpm \
340 pixmaps/ignorethread.xpm \
341 pixmaps/inbox_open_hrm.xpm \
342 pixmaps/inbox_open.xpm \
343 pixmaps/inbox_close_hrm.xpm \
344 pixmaps/inbox_close.xpm \
345 pixmaps/interface.xpm \
349 pixmaps/linewrap.xpm \
350 pixmaps/linewrapcurrent.xpm \
352 pixmaps/mail_attach.xpm \
353 pixmaps/mail_compose.xpm \
354 pixmaps/mail_forward.xpm \
355 pixmaps/mail_receive_all.xpm \
356 pixmaps/mail_receive.xpm \
357 pixmaps/mail_reply_to_all.xpm \
358 pixmaps/mail_reply_to_author.xpm \
359 pixmaps/mail_reply.xpm \
360 pixmaps/mail_send_queue.xpm \
361 pixmaps/mail_send.xpm \
362 pixmaps/mail_sign.xpm \
365 pixmaps/mime_application.xpm \
366 pixmaps/mime_audio.xpm \
367 pixmaps/mime_image.xpm \
368 pixmaps/mime_message.xpm \
369 pixmaps/mime_pdf.xpm \
370 pixmaps/mime_ps.xpm \
371 pixmaps/mime_calendar.xpm \
372 pixmaps/mime_pgpsig.xpm \
373 pixmaps/mime_text_enriched.xpm \
374 pixmaps/mime_text_html.xpm \
375 pixmaps/mime_text_plain.xpm \
376 pixmaps/mime_unknown.xpm \
377 pixmaps/news_compose.xpm \
379 pixmaps/notice_error.xpm \
380 pixmaps/notice_note.xpm \
381 pixmaps/notice_warn.xpm \
382 pixmaps/offline.xpm \
384 pixmaps/open_mail.xpm \
385 pixmaps/outbox_close.xpm \
386 pixmaps/outbox_close_hrm.xpm \
387 pixmaps/outbox_open.xpm \
388 pixmaps/outbox_open_hrm.xpm \
389 pixmaps/outbox_close_mark.xpm \
390 pixmaps/outbox_close_hrm_mark.xpm \
391 pixmaps/outbox_open_mark.xpm \
392 pixmaps/outbox_open_hrm_mark.xpm \
394 pixmaps/preferences.xpm \
395 pixmaps/printer.xpm \
396 pixmaps/privacy_expired.xpm \
397 pixmaps/privacy_failed.xpm \
398 pixmaps/privacy_passed.xpm \
399 pixmaps/privacy_signed.xpm \
400 pixmaps/privacy_unknown.xpm \
401 pixmaps/privacy_warn.xpm \
402 pixmaps/privacy_emblem_encrypted.xpm \
403 pixmaps/privacy_emblem_failed.xpm \
404 pixmaps/privacy_emblem_passed.xpm \
405 pixmaps/privacy_emblem_signed.xpm \
406 pixmaps/privacy_emblem_warn.xpm \
407 pixmaps/properties.xpm \
408 pixmaps/queue_close.xpm \
409 pixmaps/queue_close_hrm.xpm \
410 pixmaps/queue_close_hrm_mark.xpm \
411 pixmaps/queue_close_mark.xpm \
412 pixmaps/queue_open.xpm \
413 pixmaps/queue_open_hrm.xpm \
414 pixmaps/queue_open_hrm_mark.xpm \
415 pixmaps/queue_open_mark.xpm \
416 pixmaps/quicksearch.xpm \
417 pixmaps/replied.xpm \
419 pixmaps/selection.xpm \
421 pixmaps/spam_btn.xpm \
422 pixmaps/claws-mail_icon.xpm \
423 pixmaps/claws-mail_logo.xpm \
424 pixmaps/claws-mail.xpm \
425 pixmaps/trash_hrm.xpm \
427 pixmaps/trash_btn.xpm \
430 pixmaps/up_arrow.xpm \
432 pixmaps/dir_close_mark.xpm \
433 pixmaps/dir_close_hrm_mark.xpm \
434 pixmaps/dir_open_hrm_mark.xpm \
435 pixmaps/dir_open_mark.xpm \
436 pixmaps/drafts_close_mark.xpm \
437 pixmaps/drafts_open_mark.xpm \
438 pixmaps/inbox_open_hrm_mark.xpm \
439 pixmaps/inbox_open_mark.xpm \
440 pixmaps/inbox_close_hrm_mark.xpm \
441 pixmaps/inbox_close_mark.xpm \
442 pixmaps/trash_hrm_mark.xpm \
443 pixmaps/trash_mark.xpm \
456 arch_ldflags := -export-all-symbols
461 claws_mail_LDFLAGS = \
462 $(arch_ldflags) -export-dynamic
479 $(STARTUP_NOTIFICATION_LIBS) \
484 -DG_LOG_DOMAIN=\"Claws-Mail\" \
485 -DLOCALEDIR=\""$(localedir)"\" \
486 -DMANUALDIR=\""$(manualdir)"\" \
487 -DFAQDIR=\""$(faqdir)"\" \
488 -DTARGET_ALIAS=\""$(target_triplet)"\" \
489 -DSYSCONFDIR=\""$(sysconfdir)"\" \
490 -DDATAROOTDIR=\""$(datarootdir)"\" \
495 $(GNOMEPRINT_CFLAGS) \
496 $(LIBETPAN_CPPFLAGS) \
497 $(STARTUP_NOTIFICATION_CFLAGS) \
501 #no-unused-function is there because of bison stuff
502 #no-deprecated-declarations because of gpgme_data_rewind, which we have
503 #to call inside gpgme due to our lack of LARGEFILE support
508 claws-mail$(EXEEXT): $(claws_mail_OBJECTS) $(claws_mail_DEPENDENCIES)
509 @rm -f claws-mail$(EXEEXT)
510 @rm -f claws-mail.def claws-mail.base claws-mail.exp libclaws-mail.a .libs/libclaws-mail.a
511 $(LINK) -shared $(claws_mailLDFLAGS) -Wl,--out-implib=libclaws-mail.a -Wl,--export-all-symbols,--exclude-symbols,main $(claws_mail_OBJECTS) -Wl,--no-whole-archive $(claws_mail_LDADD) $(LIBS)
512 dlltool --output-def claws-mail.def --dllname claws-mail$(EXEEXT) --export-all-symbols --exclude-symbols main $(claws_mail_OBJECTS) gtk/.libs/libclawsgtk.a
513 $(LINK) $(claws_mail_LDFLAGS) -Wl,--base-file,claws-mail.base $(claws_mail_OBJECTS) $(claws_mail_LDADD) $(LIBS)
515 dlltool --base-file claws-mail.base --input-def claws-mail.def --output-exp claws-mail.exp
516 $(LINK) $(claws_mail_LDFLAGS) -Wl,claws-mail.exp $(claws_mail_OBJECTS) $(claws_mail_LDADD) $(LIBS)
517 @cp libclaws-mail.a .libs/libclaws-mail.a
519 #claws-mail$(EXEEXT): $(claws_mail_OBJECTS) $(claws_mail_DEPENDENCIES)
520 # @rm -f claws-mail$(EXEEXT)
521 # $(LINK) $(claws_mail_LDFLAGS) $(claws_mail_OBJECTS) $(claws_mail_LDADD) $(LIBS)