1 SubDir HAIKU_TOP src kits mail ;
3 UsePrivateHeaders mail shared ;
4 UsePublicHeaders [ FDirName add-ons mail_daemon ] ;
7 SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ;
10 SubDirC++Flags -D_BUILDING_mail=1 ;
12 UsePrivateHeaders textencoding ;
21 HaikuMailFormatFilter.cpp
35 ProtocolConfigView.cpp
39 local architectureObject ;
40 for architectureObject in [ MultiArchSubDirSetup ] {
41 on $(architectureObject) {
42 # use OpenSSL, if enabled
43 if [ FIsBuildFeatureEnabled openssl ] {
44 SubDirC++Flags -DUSE_SSL ;
45 UseBuildFeatureHeaders openssl ;
46 Includes [ FGristFiles $(sources) ]
47 : [ BuildFeatureAttribute openssl : headers ] ;
48 # Dependency needed to trigger downloading/unzipping the package before
49 # compiling the files.
50 SetupFeatureObjectsDir ssl ;
52 SetupFeatureObjectsDir no-ssl ;
55 local libmail = [ MultiArchDefaultGristFiles libmail.so ] ;
56 AddResources $(libmail) : libmail.rdef ;
58 SharedLibrary $(libmail) :
61 be bnetapi textencoding tracker
63 $(TARGET_NETWORK_LIBS)
64 $(TARGET_SELECT_UNAME_ETC_LIB)
65 [ BuildFeatureAttribute openssl : libraries ]
72 DoCatalogs libmail.so :
76 ProtocolConfigView.cpp