1SubDir HAIKU_TOP src preferences mail ; 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 14# for BObjectList.h 15UsePrivateHeaders shared ; 16 17# TODO(bga): E-mail preferences does not really need to link against the 18# OpenSSL libraries. Remove this after problems with the runtime loader are 19# sorted up. Details here: 20# 21# http://www.freelists.org/post/haiku-development/Runtime-loader-problem 22 23local sources = 24 Account.cpp 25 AutoConfig.cpp 26 AutoConfigWindow.cpp 27 AutoConfigView.cpp 28 CenterContainer.cpp 29 ConfigViews.cpp 30 ConfigWindow.cpp 31 DNSQuery.cpp 32 main.cpp 33; 34 35if $(HAIKU_OPENSSL_ENABLED) { 36 SubDirC++Flags -DUSE_SSL ; 37 SubDirSysHdrs $(HAIKU_OPENSSL_HEADERS) ; 38 Includes [ FGristFiles $(sources) ] : $(HAIKU_OPENSSL_HEADERS_DEPENDENCY) ; 39 # Dependency needed to trigger downloading/unzipping the package before 40 # compiling the files. 41 SetupFeatureObjectsDir ssl ; 42} else { 43 SetupFeatureObjectsDir no-ssl ; 44} 45 46Preference E-mail 47 : $(sources) 48 : be libmail.so $(HAIKU_NETWORK_LIBS) $(TARGET_NETAPI_LIB) 49 $(HAIKU_OPENSSL_LIBS) 50 : e-mail.rdef 51; 52 53Package haiku-maildaemon-cvs : 54 E-mail : 55 boot beos preferences 56; 57 58SubInclude HAIKU_TOP src preferences mail ProviderInfo ; 59