xref: /haiku/src/add-ons/mail_daemon/inbound_protocols/imap/Jamfile (revision b028e77473189065f2baefc6f5e10d451cf591e2)
1SubDir HAIKU_TOP src add-ons mail_daemon inbound_protocols imap ;
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 IMAP :
20	imap_client.cpp
21	imap_config.cpp
22	NestedString.cpp ;
23
24LinkAgainst IMAP : be libmail.so $(NETWORK_LIBS) ;
25
26if $(USESSL) {
27	LinkAgainst IMAP : ssl crypto ;
28}
29
30Package haiku-maildaemon-cvs :
31	IMAP :
32	boot home config add-ons mail_daemon inbound_protocols ;
33