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