xref: /haiku/src/add-ons/mail_daemon/inbound_protocols/imap/Jamfile (revision a2d9c45398ebcab924c89b2d4961bbebc2aeb3d6)
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	IMAPProtocol.cpp
20	ConfigView.cpp
21	FolderConfigWindow.cpp
22	IMAPFolder.cpp
23	IMAPConnectionWorker.cpp
24	IMAPMailbox.cpp
25	Settings.cpp
26	Utilities.cpp
27
28	# imap_lib
29	Commands.cpp
30	Protocol.cpp
31	Response.cpp
32;
33
34AddResources IMAP : IMAP.rdef ;
35
36if [ FIsBuildFeatureEnabled openssl ] {
37	SubDirC++Flags -DUSE_SSL ;
38	SetupFeatureObjectsDir ssl ;
39} else {
40	SetupFeatureObjectsDir no-ssl ;
41}
42
43Addon IMAP
44	:
45	$(sources)
46	:
47	be libmail.so localestub $(TARGET_NETWORK_LIBS) libbnetapi.so
48	libshared.a [ TargetLibsupc++ ] [ TargetLibstdc++ ]
49;
50
51SEARCH on [ FGristFiles Commands.cpp Protocol.cpp Response.cpp ]
52	= [ FDirName $(HAIKU_TOP) src add-ons mail_daemon inbound_protocols imap
53		imap_lib ] ;
54
55DoCatalogs IMAP :
56	x-vnd.Haiku-IMAP
57	:
58	ConfigView.cpp
59	FolderConfigWindow.cpp
60;
61