1SubDir HAIKU_TOP src add-ons mail_daemon inbound_protocols pop3 ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5if $(TARGET_PLATFORM) != haiku { 6 UsePublicHeaders mail ; 7} 8 9UsePublicHeaders [ FDirName add-ons mail_daemon ] ; 10UsePrivateHeaders mail shared ; 11 12SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ; 13 14local sources = 15 ConfigView.cpp 16 MessageIO.cpp 17 pop3.cpp 18 md5c.c 19; 20 21# use OpenSSL, if enabled 22if $(HAIKU_OPENSSL_ENABLED) { 23 SubDirC++Flags -DUSE_SSL ; 24 SubDirSysHdrs $(HAIKU_OPENSSL_HEADERS) ; 25 Includes [ FGristFiles $(sources) ] : $(HAIKU_OPENSSL_HEADERS_DEPENDENCY) ; 26 # Dependency needed to trigger downloading/unzipping the package before 27 # compiling the files. 28 SetupFeatureObjectsDir ssl ; 29} else { 30 SetupFeatureObjectsDir no-ssl ; 31} 32 33Addon POP3 34 : $(sources) 35 : be libmail.so $(TARGET_NETWORK_LIBS) $(HAIKU_OPENSSL_LIBS) 36 $(TARGET_LIBSUPC++) 37; 38 39Package haiku-maildaemon-cvs : 40 POP3 : 41 boot home config add-ons mail_daemon inbound_protocols 42; 43