1SubDir HAIKU_TOP src kits mail ; 2 3UsePrivateHeaders mail shared ; 4UsePublicHeaders [ FDirName add-ons mail_daemon ] ; 5 6if $(CHECK_MALLOC) { 7 SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ; 8} 9 10SubDirC++Flags -D_BUILDING_mail=1 ; 11 12UsePrivateHeaders textencoding ; 13 14 15local sources = 16 b_mail_message.cpp 17 c_mail_api.cpp 18 crypt.cpp 19 FileConfigView.cpp 20 HaikuMailFormatFilter.cpp 21 mail_encoding.cpp 22 mail_util.cpp 23 MailAttachment.cpp 24 MailComponent.cpp 25 MailContainer.cpp 26 MailDaemon.cpp 27 MailFilter.cpp 28 MailMessage.cpp 29 MailProtocol.cpp 30 MailSettings.cpp 31 MailSettingsView.cpp 32 NodeMessage.cpp 33 numailkit.cpp 34 ProtocolConfigView.cpp 35; 36 37 38local architectureObject ; 39for architectureObject in [ MultiArchSubDirSetup ] { 40 on $(architectureObject) { 41 local libmail = [ MultiArchDefaultGristFiles libmail.so ] ; 42 AddResources $(libmail) : libmail.rdef ; 43 44 SharedLibrary $(libmail) : 45 $(sources) 46 : 47 be bnetapi textencoding tracker shared 48 [ TargetLibstdc++ ] 49 $(TARGET_NETWORK_LIBS) 50 $(TARGET_SELECT_UNAME_ETC_LIB) 51 localestub 52 ; 53 } 54} 55 56 57DoCatalogs libmail.so : 58 x-vnd.Haiku-libmail 59 : 60 FileConfigView.cpp 61 ProtocolConfigView.cpp 62; 63