project :
	requirements
	<include>../../include/ManagementObjects
	<os>NT:<linkflags>"User32.lib"
	<os>NT:<define>MGMT_OBJETCS_EXPORTS
	<os>NT:<define>DEVICE_ADAPTER_EXPORTS
;


lib ManagementObjects : ManagementObjects/Common.cpp 
	ManagementObjects/DeviceUpdater.cpp 
	ManagementObjects/WiMAXSupp.cpp 
	ManagementObjects/WiMAX.cpp 
	ManagementObjects/DMAcc.cpp 
	ManagementObjects/DevInfo.cpp 
	ManagementObjects/DevDetail.cpp 
	#ManagementObjects/MgmtTreeTNDS.cpp
    ../common//Common 
    ..//funambol
    ../Logger//Logger 
   	./ManagementObjects/TNDSMgmtTree//TNDSMgmtTree 
:
	<os>NT:<link>static
    <os>LINUX:<library>..//boost
    <os>MACOSX:<library>..//boost
;


lib DummyDeviceAdapter : 
    DummyDeviceAdapter/DummyDeviceAdapter.cpp 
    FirmwareUpdate/DiskStorageFirmwareUpdater.cpp 
    DummyDeviceAdapter/CreateDeviceAdapter.cpp
    ../common//Common 
    ..//funambol
    ../Logger//Logger
    .//ManagementObjects
	./ManagementObjects/TNDSMgmtTree//TNDSMgmtTree
: 
    <os>LINUX:<library>..//boost
    <os>MACOSX:<library>..//boost
;


lib Diagnostics :
    ManagementObjects/WiMAX_Diagnostics.cpp
    Diagnostics/CollectDiagnosticsCommand.cpp
    Diagnostics/NotifyDiagnosticsReadyCommand.cpp
    Diagnostics/TranslateDiagnosticsStructures.cpp
    Diagnostics/SDKMocks/SDKMocks.cpp
:
	<link>static
;


unit-test UTestDeviceAdapter1 : 
	UTestDeviceAdapter/main.cpp 
	UTestDeviceAdapter/TestCommon.cpp
	UTestDeviceAdapter/TestDevDetail.cpp
	UTestDeviceAdapter/TestDevInfo.cpp
	UTestDeviceAdapter/TestDMAcc.cpp
	UTestDeviceAdapter/TestWiMAX.cpp
	UTestDeviceAdapter/TestWiMAXSupp.cpp
	
	../common/Buffer.cpp
    ../serverexchange//ServerExchangeManager 
	..//treemanager 
    ../DeviceAdapter//Diagnostics
    ../executionqueue//ExecutionQueue 				
	../Logger//Logger 
	../common//Common 
	..//funambol 
	../daemon//DaemonUtils 
	../daemon//DaemonEngine 
	./ManagementObjects/TNDSMgmtTree//TNDSMgmtTree
#	.//ManagementObjects
	.//DummyDeviceAdapter
	:
	<os>LINUX:<library>..//boost
	<os>MACOSX:<library>..//boost
;

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