project
	:
	requirements
	<os>NT:<linkflags>"Wininet.lib Advapi32.lib"
	<os>NT:<define>DM_IPCENGINE_EXPORTS
	;

lib UIAPI :
    MessageListener.cpp
    MessageListenerActionThread.cpp
    Messenger.cpp
    MessengerDefs.cpp
    UserInteraction.cpp
    IPCDaemonEngine.cpp
    IPCDaemonEngineActionThread.cpp
    ProfileManager.cpp
    TestingAPI.cpp
    ../ClientAdapter/clientadapterstub//ClientAdapterStub
    ..//funambol
    ..//libwbxml
    ..//libcrypto
    ../common//Common
    ../common//FifoWrapper
    ../CryptoAPI//CryptoAPI
    ../DataStorage//DataStorage
    ../Logger//Logger
    ../DeviceAdapter//Diagnostics
    ../treemanager//MOTreeManager
    ../treemanager/commands//MOTreeCommands
    ../daemon//DaemonUtils
    ../serverexchange//ServerExchangeManager
    ../executionqueue//ExecutionQueue
    ../NotificationListener//NotificationListener
    ../DeviceAdapter//ManagementObjects
	../DeviceAdapter/ManagementObjects/TNDSMgmtTree//TNDSMgmtTree
    ;

alias platform-src :
	windows/main.cpp
	windows/Service.cpp
	: <os>NT ;

alias platform-src :
	posix/main.cpp
	: <os>LINUX ;

alias platform-src :
	posix/main.cpp
	: <os>MACOSX ;

exe oma_dm_client : platform-src
    branding.cpp
    ..//funambol
    ..//libwbxml
    ..//libcrypto
    ../common//Common
   ../common//FifoWrapper
    ../CryptoAPI//CryptoAPI
    ../DataStorage//DataStorage
    ../Logger//Logger
    ../DeviceAdapter//Diagnostics
    ../treemanager//MOTreeManager
    ../treemanager/commands//MOTreeCommands
    ../daemon//DaemonEngine
    ../daemon//DaemonUtils
    ../serverexchange//ServerExchangeManager
    ../executionqueue//ExecutionQueue
    ../NotificationListener//NotificationListener
    ../DeviceAdapter//ManagementObjects
	../DeviceAdapter/ManagementObjects/TNDSMgmtTree//TNDSMgmtTree
    .//UIAPI
	:
	<os>LINUX:<library>..//libcurl
	<os>MACOSX:<library>..//libcurl
	<os>NT:<library>..//libcurl
	<os>LINUX:<library>..//boost
	<os>MACOSX:<library>..//boost
	<os>LINUX:<library>..//libcrypto
	<os>MACOSX:<library>..//libcrypto

;

install dist :
    .//UIAPI
	:
	<os>LINUX:<location>usr/local/lib
	;
