xref: /haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/Jamfile (revision d9cebac2b77547b7064f22497514eecd2d047160)
1SubDir HAIKU_TOP src add-ons mail_daemon outbound_protocols smtp ;
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 $(USESSL) {
15	SubDirC++Flags -DUSESSL ;
16	SubDirHdrs [ FDirName / boot home config include ] ;
17}
18
19Addon SMTP :
20	smtp.cpp
21	md5c.c ;
22
23LinkAgainst SMTP : be libmail.so $(TARGET_NETWORK_LIBS) ;
24
25if $(USESSL) {
26	LinkAgainst SMTP : ssl crypto ;
27}
28
29Package haiku-maildaemon-cvs :
30	SMTP :
31	boot home config add-ons mail_daemon outbound_protocols ;
32