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
18 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
19 `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
20 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
23 $(LTRCCOMPILE) -i $< -o $@
25 claws_mail_res_ldflag = -Wl,w32-resource.o
26 claws_mail_deps = w32-resource.o
28 claws_mail_res_ldflag =
39 addressbook_foldersel.c \
46 editaddress_other_attributes_ldap.c \
74 abook_source = $(new_abook_source)
75 abook_extra = $(old_abook_source)
77 abook_source = $(old_abook_source)
78 abook_extra = $(new_abook_source)
88 addressbook_foldersel.h \
95 editaddress_other_attributes_ldap.h \
122 claws_mail_SOURCES = \
144 folder_item_prefs.c \
161 matcher_parser_lex.l \
162 matcher_parser_parse.y \
178 prefs_compose_writing.c \
179 prefs_customheader.c \
180 prefs_display_header.c \
182 prefs_filtering_action.c \
184 prefs_folder_item.c \
187 prefs_image_viewer.c \
198 prefs_summary_column.c \
199 prefs_summary_open.c \
200 prefs_folder_column.c \
232 claws_mailincludedir = $(pkgincludedir)
233 claws_mailinclude_HEADERS = \
257 folder_item_prefs.h \
276 matcher_parser_lex.h \
277 matcher_parser_parse.h \
293 prefs_compose_writing.h \
294 prefs_customheader.h \
295 prefs_display_header.h \
297 prefs_filtering_action.h \
299 prefs_folder_item.h \
302 prefs_image_viewer.h \
313 prefs_summary_column.h \
314 prefs_summary_open.h \
315 prefs_folder_column.h \
349 matcher_parser_parse.h \
353 client-bindings.h: claws-contacts.xml
355 dbus-binding-tool --prefix=abook --mode=glib-client --output=$@ claws-contacts.xml
362 w32-logo.ico w32-resource.rc \
363 pixmaps/addr_one.xpm \
364 pixmaps/addr_two.xpm \
365 pixmaps/address_book.xpm \
366 pixmaps/address_search.xpm \
367 pixmaps/address.xpm \
368 pixmaps/anonymous.xpm \
371 pixmaps/category.xpm \
372 pixmaps/checkbox_off.xpm \
373 pixmaps/checkbox_on.xpm \
374 pixmaps/check_spelling.xpm \
375 pixmaps/clipkey.xpm \
376 pixmaps/claws-mail_icon.xpm \
377 pixmaps/claws-mail_compose_logo.xpm \
378 pixmaps/claws-mail_logo.xpm \
379 pixmaps/claws-mail_logo-small.xpm \
380 pixmaps/claws-mail.xpm \
382 pixmaps/clip_gpg_signed.xpm \
384 pixmaps/complete.xpm \
385 pixmaps/continue.xpm \
386 pixmaps/delete_btn.xpm \
387 pixmaps/deleted.xpm \
388 pixmaps/dir_close.xpm \
389 pixmaps/dir_close_hrm.xpm \
390 pixmaps/dir_noselect.xpm \
391 pixmaps/dir_open_hrm.xpm \
392 pixmaps/dir_open.xpm \
393 pixmaps/down_arrow.xpm \
394 pixmaps/drafts_close.xpm \
395 pixmaps/drafts_open.xpm \
396 pixmaps/drafts_close.xpm \
397 pixmaps/drafts_open.xpm \
398 pixmaps/edit_extern.xpm \
401 pixmaps/forwarded.xpm \
402 pixmaps/gpg_signed.xpm \
403 pixmaps/go_folders.xpm \
405 pixmaps/ham_btn.xpm \
406 pixmaps/ignorethread.xpm \
407 pixmaps/inbox_open_hrm.xpm \
408 pixmaps/inbox_open.xpm \
409 pixmaps/inbox_close_hrm.xpm \
410 pixmaps/inbox_close.xpm \
411 pixmaps/interface.xpm \
412 pixmaps/insert_file.xpm \
415 pixmaps/key_gpg_signed.xpm \
417 pixmaps/linewrap.xpm \
418 pixmaps/linewrapcurrent.xpm \
420 pixmaps/mail_attach.xpm \
421 pixmaps/mail_compose.xpm \
422 pixmaps/mail_forward.xpm \
423 pixmaps/mail_receive_all.xpm \
424 pixmaps/mail_receive.xpm \
425 pixmaps/mail_reply_to_all.xpm \
426 pixmaps/mail_reply_to_author.xpm \
427 pixmaps/mail_reply_to_list.xpm \
428 pixmaps/mail_reply.xpm \
429 pixmaps/mail_send_queue.xpm \
430 pixmaps/mail_send.xpm \
431 pixmaps/mail_sign.xpm \
434 pixmaps/mime_application.xpm \
435 pixmaps/mime_audio.xpm \
436 pixmaps/mime_image.xpm \
437 pixmaps/mime_message.xpm \
438 pixmaps/mime_pdf.xpm \
439 pixmaps/mime_ps.xpm \
440 pixmaps/mime_calendar.xpm \
441 pixmaps/mime_pgpsig.xpm \
442 pixmaps/mime_text_enriched.xpm \
443 pixmaps/mime_text_html.xpm \
444 pixmaps/mime_text_patch.xpm \
445 pixmaps/mime_text_plain.xpm \
446 pixmaps/mime_unknown.xpm \
447 pixmaps/news_compose.xpm \
449 pixmaps/notice_error.xpm \
450 pixmaps/notice_note.xpm \
451 pixmaps/notice_warn.xpm \
452 pixmaps/offline.xpm \
454 pixmaps/open_mail.xpm \
455 pixmaps/outbox_close.xpm \
456 pixmaps/outbox_close_hrm.xpm \
457 pixmaps/outbox_open.xpm \
458 pixmaps/outbox_open_hrm.xpm \
459 pixmaps/outbox_close_mark.xpm \
460 pixmaps/outbox_close_hrm_mark.xpm \
461 pixmaps/outbox_open_mark.xpm \
462 pixmaps/outbox_open_hrm_mark.xpm \
464 pixmaps/preferences.xpm \
465 pixmaps/printer.xpm \
466 pixmaps/privacy_expired.xpm \
467 pixmaps/privacy_failed.xpm \
468 pixmaps/privacy_passed.xpm \
469 pixmaps/privacy_signed.xpm \
470 pixmaps/privacy_unknown.xpm \
471 pixmaps/privacy_warn.xpm \
472 pixmaps/privacy_emblem_encrypted.xpm \
473 pixmaps/privacy_emblem_failed.xpm \
474 pixmaps/privacy_emblem_passed.xpm \
475 pixmaps/privacy_emblem_signed.xpm \
476 pixmaps/privacy_emblem_warn.xpm \
477 pixmaps/properties.xpm \
478 pixmaps/queue_close.xpm \
479 pixmaps/queue_close_hrm.xpm \
480 pixmaps/queue_close_hrm_mark.xpm \
481 pixmaps/queue_close_mark.xpm \
482 pixmaps/queue_open.xpm \
483 pixmaps/queue_open_hrm.xpm \
484 pixmaps/queue_open_hrm_mark.xpm \
485 pixmaps/queue_open_mark.xpm \
486 pixmaps/quicksearch.xpm \
487 pixmaps/replied.xpm \
489 pixmaps/selection.xpm \
491 pixmaps/spam_btn.xpm \
492 pixmaps/trash_hrm.xpm \
494 pixmaps/trash_btn.xpm \
497 pixmaps/up_arrow.xpm \
499 pixmaps/dir_close_mark.xpm \
500 pixmaps/dir_close_hrm_mark.xpm \
501 pixmaps/dir_open_hrm_mark.xpm \
502 pixmaps/dir_open_mark.xpm \
503 pixmaps/drafts_close_mark.xpm \
504 pixmaps/drafts_open_mark.xpm \
505 pixmaps/inbox_open_hrm_mark.xpm \
506 pixmaps/inbox_open_mark.xpm \
507 pixmaps/inbox_close_hrm_mark.xpm \
508 pixmaps/inbox_close_mark.xpm \
509 pixmaps/trash_hrm_mark.xpm \
510 pixmaps/trash_mark.xpm \
513 pixmaps/watchthread.xpm \
514 pixmaps/tray_newmail.offline.xpm \
515 pixmaps/tray_newmail.xpm \
516 pixmaps/tray_newmarkedmail.offline.xpm \
517 pixmaps/tray_newmarkedmail.xpm \
518 pixmaps/tray_nomail.offline.xpm \
519 pixmaps/tray_nomail.xpm \
520 pixmaps/tray_unreadmail.offline.xpm \
521 pixmaps/tray_unreadmail.xpm \
522 pixmaps/tray_unreadmarkedmail.offline.xpm \
523 pixmaps/tray_unreadmarkedmail.xpm \
525 pixmaps/replied_and_forwarded.xpm \
537 arch_ldflags := -export-all-symbols
542 claws_mail_LDFLAGS = \
543 $(arch_ldflags) -export-dynamic $(claws_mail_res_ldflag)
545 claws_mail_DEPENDENCIES = $(claws_mail_deps) \
563 $(STARTUP_NOTIFICATION_LIBS) \
568 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
571 -DG_LOG_DOMAIN=\"Claws-Mail\" \
572 -DLOCALEDIR=\""$(localedir)"\" \
573 -DPIXMAP_DIR=\""$(pixmapdir)"\" \
574 -DMANUALDIR=\""$(manualdir)"\" \
575 -DFAQDIR=\""$(faqdir)"\" \
576 -DTARGET_ALIAS=\""$(target_triplet)"\" \
577 -DSYSCONFDIR=\""$(sysconfdir)"\" \
578 -DDATAROOTDIR=\""$(datarootdir)"\" \
582 $(LIBETPAN_CPPFLAGS) \
583 $(STARTUP_NOTIFICATION_CFLAGS) \
585 $(NETWORKMANAGER_SUPPORT_CFLAGS) \
589 #no-unused-function is there because of bison stuff
590 #no-deprecated-declarations because of gpgme_data_rewind, which we have
591 #to call inside gpgme due to our lack of LARGEFILE support
596 claws-mail$(EXEEXT): $(claws_mail_OBJECTS) $(claws_mail_DEPENDENCIES)
597 @rm -f claws-mail$(EXEEXT)
598 @rm -f claws-mail.def claws-mail.base claws-mail.exp libclaws-mail.a .libs/libclaws-mail.a
599 $(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)
600 dlltool --output-def claws-mail.def --dllname claws-mail$(EXEEXT) --export-all-symbols --exclude-symbols main $(claws_mail_OBJECTS) gtk/.libs/libclawsgtk.a
601 $(LINK) $(claws_mail_LDFLAGS) -Wl,--base-file,claws-mail.base $(claws_mail_OBJECTS) $(claws_mail_LDADD) $(LIBS)
603 dlltool --base-file claws-mail.base --input-def claws-mail.def --output-exp claws-mail.exp
604 $(LINK) $(claws_mail_LDFLAGS) -Wl,claws-mail.exp $(claws_mail_OBJECTS) $(claws_mail_LDADD) $(LIBS)
605 @cp libclaws-mail.a .libs/libclaws-mail.a
607 #claws-mail$(EXEEXT): $(claws_mail_OBJECTS) $(claws_mail_DEPENDENCIES)
608 # @rm -f claws-mail$(EXEEXT)
609 # $(LINK) $(claws_mail_LDFLAGS) $(claws_mail_OBJECTS) $(claws_mail_LDADD) $(LIBS)