Import("swiften_env", "env")

sources = [
		"ByteArrayReadBytestream.cpp",
		"OutgoingFileTransfer.cpp",
		"OutgoingSIFileTransfer.cpp",
		"OutgoingJingleFileTransfer.cpp",
		"OutgoingFileTransferManager.cpp",
		"IncomingFileTransfer.cpp",
		"IncomingJingleFileTransfer.cpp",
		"IncomingFileTransferManager.cpp",
		"JingleFileTransfer.cpp",
		"FileTransferOptions.cpp",
		"FileTransferTransporter.cpp",
		"FileTransferTransporterFactory.cpp",
		"DefaultFileTransferTransporter.cpp",
		"DefaultFileTransferTransporterFactory.cpp",
		"RemoteJingleTransportCandidateSelector.cpp",
		"LocalJingleTransportCandidateGenerator.cpp",
		"ReadBytestream.cpp",
		"WriteBytestream.cpp",
		"FileReadBytestream.cpp",
		"FileWriteBytestream.cpp",
		"FileTransfer.cpp",
		"TransportSession.cpp",
		"IBBSendTransportSession.cpp",
		"IBBReceiveTransportSession.cpp",
		"SOCKS5BytestreamClientSession.cpp",
		"SOCKS5BytestreamServerManager.cpp",
		"SOCKS5BytestreamServer.cpp",
		"SOCKS5BytestreamServerSession.cpp",
		"SOCKS5BytestreamRegistry.cpp",
		"SOCKS5BytestreamProxiesManager.cpp",
		"SOCKS5BytestreamProxyFinder.cpp",
		"IBBSendSession.cpp",
		"IBBReceiveSession.cpp",
		"FileTransferManager.cpp",
		"FileTransferManagerImpl.cpp",
		"IncrementalBytestreamHashCalculator.cpp",
		"SOCKS5BytestreamServerResourceUser.cpp",
		"SOCKS5BytestreamServerPortForwardingUser.cpp",
	]

swiften_env.Append(SWIFTEN_OBJECTS = swiften_env.SwiftenObject(sources))

env.Append(UNITTEST_SOURCES = [
			File("UnitTest/SOCKS5BytestreamServerSessionTest.cpp"),
			File("UnitTest/SOCKS5BytestreamClientSessionTest.cpp"),
			File("UnitTest/IBBSendSessionTest.cpp"),
			File("UnitTest/IBBReceiveSessionTest.cpp"),
			File("UnitTest/IncomingJingleFileTransferTest.cpp"),
			File("UnitTest/OutgoingJingleFileTransferTest.cpp"),
	])