xref: /haiku/src/add-ons/mail_daemon/inbound_protocols/imap/Jamfile (revision 99d027cd0238c1d86da86d7c3f4200509ccc61a6)
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 shared ;
11SubDirHdrs [ FDirName $(SUBDIR) imap_lib ] ;
12
13UseLibraryHeaders linprog alm ;
14
15
16SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ;
17
18local sources =
19	imap_config.cpp
20	IMAPInboundProtocol.cpp
21	IMAPRootInboundProtocol.cpp
22	IMAPFolderConfig.cpp
23	# imap_lib
24	IMAPFolders.cpp
25	IMAPHandler.cpp
26	IMAPMailbox.cpp
27	IMAPParser.cpp
28	IMAPProtocol.cpp
29	IMAPStorage.cpp
30;
31
32AddResources IMAP : IMAP.rdef ;
33
34if $(HAIKU_OPENSSL_ENABLED) {
35	SubDirC++Flags -DUSE_SSL ;
36	SetupFeatureObjectsDir ssl ;
37} else {
38	SetupFeatureObjectsDir no-ssl ;
39}
40
41Addon IMAP
42	:
43	$(sources)
44	:
45	be libmail.so $(HAIKU_LOCALE_LIBS) $(TARGET_NETWORK_LIBS) libalm.so
46		libshared.a $(TARGET_LIBSUPC++) $(TARGET_LIBSTDC++)
47;
48
49SEARCH on [ FGristFiles IMAPFolders.cpp IMAPHandler.cpp IMAPMailbox.cpp
50	IMAPParser.cpp IMAPProtocol.cpp IMAPStorage.cpp ServerConnection.cpp ]
51	= [ FDirName $(HAIKU_TOP) src add-ons mail_daemon inbound_protocols imap
52		imap_lib ] ;
53
54Package haiku-maildaemon-cvs :
55	IMAP :
56	boot home config add-ons mail_daemon inbound_protocols
57;
58
59DoCatalogs IMAP :
60	x-vnd.Haiku-IMAP
61	:
62	imap_config.cpp
63	IMAPFolderConfig.cpp
64;
65