1SubDir HAIKU_TOP src add-ons mail_daemon outbound_protocols smtp ; 2 3 4UsePublicHeaders [ FDirName add-ons mail_daemon ] ; 5UsePrivateHeaders mail shared ; 6 7SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ; 8 9local sources = 10 ConfigView.cpp 11 smtp.cpp 12 md5c.c 13; 14 15# use OpenSSL, if enabled 16if $(HAIKU_BUILD_FEATURE_OPENSSL_ENABLED) { 17 SubDirC++Flags -DUSE_SSL ; 18 SubDirSysHdrs $(HAIKU_OPENSSL_HEADERS) ; 19 Includes [ FGristFiles $(sources) ] : $(HAIKU_OPENSSL_HEADERS_DEPENDENCY) ; 20 # Dependency needed to trigger downloading/unzipping the package before 21 # compiling the files. 22 SetupFeatureObjectsDir ssl ; 23} else { 24 SetupFeatureObjectsDir no-ssl ; 25} 26 27AddResources SMTP : SMTP.rdef ; 28 29Addon SMTP 30 : $(sources) 31 : be libmail.so $(TARGET_NETWORK_LIBS) $(TARGET_LIBSTDC++) 32 $(HAIKU_LOCALE_LIBS) $(HAIKU_OPENSSL_LIBS) 33; 34 35DoCatalogs SMTP : 36 x-vnd.Haiku-SMTP 37 : 38 ConfigView.cpp 39 smtp.cpp 40; 41