Files
haiku-beta6/src/add-ons/mail_daemon/outbound_protocols/smtp/Jamfile
T
Ingo Weinhold ebb78dd9b7 Update openssl package
Also use the new build feature rules
2013-06-13 16:43:40 +02:00

42 lines
924 B
Plaintext

SubDir HAIKU_TOP src add-ons mail_daemon outbound_protocols smtp ;
UsePublicHeaders [ FDirName add-ons mail_daemon ] ;
UsePrivateHeaders mail shared ;
SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ;
local sources =
ConfigView.cpp
smtp.cpp
md5c.c
;
# use OpenSSL, if enabled
if [ FIsBuildFeatureEnabled openssl ] {
SubDirC++Flags -DUSE_SSL ;
UseBuildFeatureHeaders openssl ;
Includes [ FGristFiles $(sources) ]
: [ BuildFeatureAttribute openssl : headers ] ;
# Dependency needed to trigger downloading/unzipping the package before
# compiling the files.
SetupFeatureObjectsDir ssl ;
} else {
SetupFeatureObjectsDir no-ssl ;
}
AddResources SMTP : SMTP.rdef ;
Addon SMTP
: $(sources)
: be libmail.so $(TARGET_NETWORK_LIBS) $(TARGET_LIBSTDC++)
$(HAIKU_LOCALE_LIBS) [ BuildFeatureAttribute openssl : libraries ]
;
DoCatalogs SMTP :
x-vnd.Haiku-SMTP
:
ConfigView.cpp
smtp.cpp
;