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