1SubDir HAIKU_TOP src add-ons mail_daemon inbound_protocols imap ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5if $(TARGET_PLATFORM) != haiku { 6 UsePublicHeaders mail ; 7} 8 9UsePublicHeaders [ FDirName add-ons mail_daemon ] ; 10UsePrivateHeaders mail ; 11 12SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ; 13 14if $(USE_SSL) { 15 SubDirC++Flags -DUSE_SSL ; 16 if ! $(SSL_DIR) { 17 sslDir = [ FDirName $(HAIKU_OUTPUT_DIR) cross-ssl config ] ; 18 } else { 19 sslDir = $(SSL_DIR) ; 20 } 21 SubDirSysHdrs [ FDirName $(sslDir) include ] ; 22} 23 24Addon IMAP : 25 imap_client.cpp 26 imap_config.cpp 27 NestedString.cpp ; 28 29LinkAgainst IMAP : be libmail.so $(TARGET_NETWORK_LIBS) ; 30 31if $(USE_SSL) { 32 LinkAgainst IMAP : $(sslDir)/lib/libssl.so $(sslDir)/lib/libcrypto.so ; 33} 34 35Package haiku-maildaemon-cvs : 36 IMAP : 37 boot home config add-ons mail_daemon inbound_protocols ; 38