Added SSL compilation support by defining USESSL as an environment variable.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9126 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Nathan Whitehorn 2004-09-30 21:24:20 +00:00
parent d3a2714980
commit 45abc8d70d
2 changed files with 22 additions and 16 deletions

View File

@ -6,20 +6,23 @@ SubDirHdrs [ FDirName $(OBOS_TOP) headers os add-ons mail_daemon ] ;
SubDirC++Flags -DBONE ;
#OpenSSL testing should be automated somehow
#SubDirC++Flags -DBONE -DUSESSL ;
#SubDirHdrs [ FDirName / boot home config include ] ;
if $(USESSL) {
SubDirC++Flags -DBONE -DUSESSL ;
SubDirHdrs [ FDirName / boot home config include ] ;
}
Addon IMAP : mail_daemon inbound_protocols :
imap_client.cpp
imap_config.cpp
NestedString.cpp ;
LinkSharedOSLibs IMAP :
be libmail.so socket bind ;
#LinkSharedOSLibs IMAP :
# be libmail.so socket bind ssl crypto ;
if $(USESSL) {
LinkSharedOSLibs IMAP :
be libmail.so socket bind ssl crypto ;
} else {
LinkSharedOSLibs IMAP :
be libmail.so socket bind ;
}
Package haiku-maildaemon-cvs :
IMAP :

View File

@ -5,9 +5,10 @@ SubDirHdrs [ FDirName $(OBOS_TOP) headers os add-ons mail_daemon ] ;
SubDirC++Flags -DBONE ;
#OpenSSL testing should be automated somehow
#SubDirC++Flags -DBONE -DUSESSL ;
#SubDirHdrs [ FDirName / boot home config include ] ;
if $(USESSL) {
SubDirC++Flags -DBONE -DUSESSL ;
SubDirHdrs [ FDirName / boot home config include ] ;
}
Addon POP3 : mail_daemon inbound_protocols :
MessageIO.cpp
@ -15,11 +16,13 @@ Addon POP3 : mail_daemon inbound_protocols :
SimpleMailProtocol.cpp
md5c.c ;
LinkSharedOSLibs POP3 :
be libmail.so socket bind ;
#LinkSharedOSLibs POP3 :
# be libmail.so socket bind ssl crypto ;
if $(USESSL) {
LinkSharedOSLibs POP3 :
be libmail.so socket bind ssl crypto ;
} else {
LinkSharedOSLibs POP3 :
be libmail.so socket bind ;
}
Package haiku-maildaemon-cvs :
POP3 :