alias platform-src-Common :
	windows/CondVariable.cpp
	windows/CritSection.cpp 
	windows/Event.cpp 
	windows/Timer.cpp 
	windows/TimeLog.cpp 
	windows/FileSystemUtils.cpp
	windows/DynamicLoader.cpp 
	windows/FInStream.cpp
	windows/FOutStream.cpp
	: <os>NT ;
	
alias platform-src-Common : 
	posix/CritSection.cpp 
	posix/Event.cpp 	
	posix/Timer.cpp 
	posix/TimeLog.cpp 
	posix/DynamicLoader.cpp 
	posix/FileSystemUtils.cpp
	posix/FInStream.cpp
	: <os>LINUX ;
	
alias platform-src-Common : 
	posix/CritSection.cpp 
	posix/Event.cpp 	
	mac/Timer.mm 
	mac/TimeLog.cpp 
	posix/DynamicLoader.cpp 
	posix/FileSystemUtils.cpp
	posix/FInStream.cpp
	: <os>MACOSX ;

lib Common : 
	platform-src-Common
	Buffer.cpp
	CurlDownloader.cpp 
	Downloader.cpp
#	FString.cpp
	hash.cpp 
	PropertiesReader.cpp 
	Starter.cpp 
	SyncCall.cpp
	WBXMLUtils.cpp 
	Utils.cpp 
	TimeStamp.cpp
	IConfigurationParser.cpp
	XMLConfigurationParser.cpp
: <link>static ;

alias platform-src-Fifo :
    windows/FIFOWrapper.cpp 
	: <os>NT ;
	
alias platform-src-Fifo : 
    posix/FIFOWrapper.cpp 
	: <os>LINUX ;
	
alias platform-src-Fifo : 
    posix/FIFOWrapper.cpp 
	: <os>MACOSX ;

lib FifoWrapper : platform-src-Fifo
: <link>static ;


unit-test UT_Common : 
	UnitTests/main.cpp 
	UnitTests/UT_Downloader.cpp 
	UnitTests/UT_Timer.cpp
	UnitTests/UT_Utils.cpp
	.//Common 
	../Logger//Logger 
	..//funambol 
	..//libcurl
	: <os>LINUX:<library>..//boost
	 <os>MACOSX:<library>..//boost
; 
