1 SubDir HAIKU_TOP src tests add-ons mail imap ;
3 SetSubDirSupportedPlatformsBeOSCompatible ;
5 UsePrivateHeaders mail shared ;
6 SubDirHdrs [ FDirName $(HAIKU_TOP) src tests add-ons kernel file_systems
8 SubDirHdrs [ FDirName $(HAIKU_TOP) src add-ons mail_daemon inbound_protocols
11 local libSources = Commands.cpp Protocol.cpp Response.cpp ;
14 # use OpenSSL, if enabled
15 if $(HAIKU_BUILD_FEATURE_OPENSSL_ENABLED) {
16 SubDirC++Flags -DUSE_SSL ;
17 SubDirSysHdrs $(HAIKU_OPENSSL_HEADERS) ;
18 Includes [ FGristFiles $(sources) ] : $(HAIKU_OPENSSL_HEADERS_DEPENDENCY) ;
19 # Dependency needed to trigger downloading/unzipping the package before
20 # compiling the files.
21 SetupFeatureObjectsDir ssl ;
23 SetupFeatureObjectsDir no-ssl ;
26 SimpleTest imap_tester :
33 : be [ TargetLibstdc++ ] [ TargetLibsupc++ ] bnetapi mail
36 SimpleTest rfc3501_encoding_test :
37 rfc3501_encoding_test.cpp
40 : be $(TARGET_LIBSTDC++) $(TARGET_LIBSUPC++) bnetapi
43 SEARCH on [ FGristFiles $(libSources) ]
44 = [ FDirName $(HAIKU_TOP) src add-ons mail_daemon inbound_protocols imap
47 SEARCH on [ FGristFiles argv.c ] = [ FDirName $(HAIKU_TOP) src tests add-ons
48 kernel file_systems fs_shell ] ;