SubDir HAIKU_TOP src add-ons mail_daemon inbound_protocols imap ; SetSubDirSupportedPlatformsBeOSCompatible ; if $(TARGET_PLATFORM) != haiku { UsePublicHeaders mail ; } UsePublicHeaders [ FDirName add-ons mail_daemon ] ; UsePrivateHeaders mail ; SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ; if $(USESSL) { SubDirC++Flags -DUSESSL ; SubDirHdrs [ FDirName / boot home config include ] ; } Addon IMAP : imap_client.cpp imap_config.cpp NestedString.cpp ; LinkAgainst IMAP : be libmail.so $(NETWORK_LIBS) ; if $(USESSL) { LinkAgainst IMAP : ssl crypto ; } Package haiku-maildaemon-cvs : IMAP : boot home config add-ons mail_daemon inbound_protocols ;