2013-04-25 01:44:49 +00:00
|
|
|
SUBDIRS = includes
|
2006-02-17 13:35:04 +00:00
|
|
|
bin_PROGRAMS = aria2c
|
2013-04-26 14:55:51 +00:00
|
|
|
aria2c_SOURCES = main.cc
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS = \
|
|
|
|
a2algo.h\
|
|
|
|
a2functional.h\
|
|
|
|
a2io.h\
|
|
|
|
a2iterator.h\
|
|
|
|
a2netcompat.h\
|
|
|
|
A2STR.cc A2STR.h\
|
|
|
|
a2time.h\
|
|
|
|
AbstractAuthResolver.cc AbstractAuthResolver.h\
|
2006-02-17 13:35:04 +00:00
|
|
|
AbstractCommand.cc AbstractCommand.h\
|
|
|
|
AbstractDiskWriter.cc AbstractDiskWriter.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
AbstractHttpServerResponseCommand.cc \
|
|
|
|
AbstractHttpServerResponseCommand.h \
|
|
|
|
AbstractOptionHandler.cc AbstractOptionHandler.h\
|
2007-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
To handle Segment as SegmentHandle:
* src/AbstractCommand.cc (execute): Rewritten.
* src/SegmentMan.h: Segment -> SegmentHandle
Introducded HttpResponse class, HttpRequest class to improve
code
extensiveness and make it clear:
* src/HttpDownloadCommand.cc: transfer encoders are now managed
by
HttpResponse class.
* src/HttpRequest.h, src/HttpRequest.cc: New class.
* src/HttpResponse.h, src/HttpResponse.cc: New class.
* src/HttpConnection.cc: Contruction of http request were moved
to
HttpRequest class.
* src/HttpResponseCommand.h, src/HttpResponseCommand.cc:
Refactored.
* src/HttpRequestCommand.cc (executeInternal): Rewritten.
* src/HttpAuthConfig.h: New class.
* src/Range.h: New class.
To make FtpTunnel{Request, Response}Command and
HttpProxy{Request, Response}Command derived from
AbstractProxy{Request, Response}Command:
* src/FtpTunnelResponseCommand.h,
src/FtpTunnelResponseCommand.cc:
Derived from AbstractProxyRequestCommand class.
* src/FtpTunnelRequestCommand.h, src/FtpTunnelRequestCommand.cc:
Derived from AbstractProxyResponseCommand class.
* src/HttpProxyRequestCommand.h, src/HttpProxyRequestCommand.cc:
Derived from AbstractProxyRequestCommand class.
* src/HttpProxyResponseCommand.h,
src/HttpProxyResponseCommand.cc:
Derived from AbstractProxyResponseCommand class.
* src/AbstractProxyRequestCommand.h,
src/AbstractProxyRequestCommand.cc
: New class.
* src/AbstractProxyResponseCommand.h,
src/AbstractProxyResponseCommand.cc: New class.
To add netrc support:
* src/Netrc.h, src/Netrc.cc: New class.
* src/Util.h, src/Util.cc (split): New function.
* src/HttpHeader.cc (getRange): Fixed so that it inspects
"Content-Range" header instead of "Range" header.
* src/HttpHeader.h
(getStatus): Removed.
(setStatus): Removed.
* src/Segment.h
(getPositionToWrite): New function.
2007-03-15 15:07:18 +00:00
|
|
|
AbstractProxyRequestCommand.cc AbstractProxyRequestCommand.h\
|
|
|
|
AbstractProxyResponseCommand.cc AbstractProxyResponseCommand.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
AbstractSingleDiskAdaptor.cc AbstractSingleDiskAdaptor.h\
|
|
|
|
AdaptiveFileAllocationIterator.cc AdaptiveFileAllocationIterator.h\
|
|
|
|
AdaptiveURISelector.cc AdaptiveURISelector.h\
|
|
|
|
AnonDiskWriterFactory.h\
|
|
|
|
array_fun.h\
|
2007-03-21 10:19:23 +00:00
|
|
|
AuthConfig.cc AuthConfig.h\
|
2007-10-30 12:48:01 +00:00
|
|
|
AuthConfigFactory.cc AuthConfigFactory.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
AuthResolver.h\
|
2007-10-11 16:58:24 +00:00
|
|
|
AutoSaveCommand.cc AutoSaveCommand.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BackupIPv4ConnectCommand.h BackupIPv4ConnectCommand.cc\
|
|
|
|
base32.cc base32.h\
|
|
|
|
base64.h\
|
|
|
|
BinaryStream.h\
|
|
|
|
bitfield.cc bitfield.h\
|
|
|
|
BitfieldMan.cc BitfieldMan.h\
|
2007-10-11 16:58:24 +00:00
|
|
|
BtProgressInfoFile.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BufferedFile.cc BufferedFile.h\
|
|
|
|
ByteArrayDiskWriter.cc ByteArrayDiskWriter.h\
|
|
|
|
ByteArrayDiskWriterFactory.h\
|
|
|
|
CheckIntegrityCommand.cc CheckIntegrityCommand.h\
|
|
|
|
CheckIntegrityDispatcherCommand.cc CheckIntegrityDispatcherCommand.h\
|
|
|
|
CheckIntegrityEntry.cc CheckIntegrityEntry.h\
|
|
|
|
CheckIntegrityMan.h\
|
|
|
|
Checksum.cc Checksum.h\
|
|
|
|
ChecksumCheckIntegrityEntry.cc ChecksumCheckIntegrityEntry.h\
|
|
|
|
ChunkChecksum.cc ChunkChecksum.h\
|
|
|
|
ChunkedDecodingStreamFilter.cc ChunkedDecodingStreamFilter.h\
|
|
|
|
ColorizedStream.cc ColorizedStream.h\
|
|
|
|
Command.cc Command.h\
|
|
|
|
common.h\
|
|
|
|
ConnectCommand.cc ConnectCommand.h\
|
|
|
|
console.cc console.h\
|
|
|
|
ConsoleStatCalc.cc ConsoleStatCalc.h\
|
2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Rewritten to add content-type support.
* src/DownloadHandler.{h, cc}
* src/BtPostDownloadHandler.{h, cc}
* test/BtPostDownloadHandlerTest.cc
* src/MetalinkPostDownloadHandler.{h, cc}
* test/MetalinkPostDownloadHandlerTest.cc
* src/PostDownloadHandler.{h, cc}
* src/DownloadHandlerConstants.{h, cc}
* src/RequestGroup.cc
* src/HttpResponseCommand.cc
* src/FtpNegotiationCommand.cc
* src/SingleFileDownloadContext.{h, cc}
* src/RequestGroup.h
* src/RequestGroupCriteria.h
* src/ContentTypeRequestGroupCriteria.h
Added 'mem' option value for --follow-metalink,
--follow-torrent.
If it is give, metalink/torrent file is not written to the disk,
but
just is kept in memory. Parsing is occurred on memory.
* src/MetalinkHelper.{h, cc}
* src/MetalinkProcessor.h
* src/Xml2MetalinkProcessor.{h, cc}
* test/Xml2MetalinkProcessorTest.cc
* src/DownloadHandlerFactory.{h, cc}
* test/DownloadHandlerFactoryTest.cc
* src/PreDownloadHandler.{h, cc}
* src/OptionHandlerFactory.cc
* src/DefaultBtContext.{h, cc}
* test/DefaultBtContextTest.cc
* src/version_usage.cc
* src/Metalink2RequestGroup.{h, cc}
* src/RequestGroup.{h, cc}
* src/a2functional.h
* test/a2functionalTest.cc
* src/MemoryBufferPreDownloadHandler.{h, cc}
* src/OptionHandlerImpl.h
* src/prefs.h
* src/Util.{h, cc}
* test/UtilTest.cc
Keep DownloadResult rather than RequestGroup after downloads to
reduce
memory usage.
* src/RequestGroupMan.{h, cc}
* src/DownloadEngine.cc
* src/BtDependency.{h, cc}: Changed the type of dependee from
WeakHandle to SharedHandle because WeakHandle could be null.
* src/RequestGroup.{h, cc}
* src/DownloadEngineFactory.cc
* src/DownloadResult.h
Set totalLength after download finished
* src/UnknownLengthPieceStorage.{h, cc}
Keep torrent file specified in metalink in memory.
* src/Metalink2RequestGroup.cc
* src/BtDependency.cc
* src/TrueRequestGroupCriteria.h
Fixed the bug: seekg is used where seekp should be used.
* src/ByteArrayDiskWriter.cc
* test/ByteArraydiskWriterTest.cc
2007-11-27 12:27:10 +00:00
|
|
|
ContentTypeRequestGroupCriteria.cc ContentTypeRequestGroupCriteria.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
Context.cc Context.h\
|
|
|
|
ContextAttribute.cc ContextAttribute.h\
|
|
|
|
ControlChain.h\
|
|
|
|
Cookie.cc Cookie.h\
|
|
|
|
CookieStorage.cc CookieStorage.h\
|
|
|
|
cookie_helper.cc cookie_helper.h\
|
|
|
|
CreateRequestCommand.cc CreateRequestCommand.h\
|
2014-06-10 11:09:08 +00:00
|
|
|
crypto_endian.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
CUIDCounter.cc CUIDCounter.h\
|
|
|
|
DefaultAuthResolver.cc DefaultAuthResolver.h\
|
|
|
|
DefaultBtProgressInfoFile.cc DefaultBtProgressInfoFile.h\
|
|
|
|
DefaultDiskWriter.cc DefaultDiskWriter.h\
|
|
|
|
DefaultDiskWriterFactory.cc DefaultDiskWriterFactory.h\
|
|
|
|
DefaultPieceStorage.cc DefaultPieceStorage.h\
|
|
|
|
DefaultStreamPieceSelector.cc DefaultStreamPieceSelector.h\
|
2014-07-15 06:15:46 +00:00
|
|
|
DelayedCommand.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
Dependency.h\
|
|
|
|
DirectDiskAdaptor.cc DirectDiskAdaptor.h\
|
|
|
|
DiskAdaptor.cc DiskAdaptor.h\
|
|
|
|
DiskWriter.h\
|
|
|
|
DiskWriterFactory.h\
|
|
|
|
DlAbortEx.cc DlAbortEx.h\
|
|
|
|
DlRetryEx.cc DlRetryEx.h\
|
|
|
|
DNSCache.cc DNSCache.h\
|
|
|
|
DownloadCommand.cc DownloadCommand.h\
|
|
|
|
DownloadContext.cc DownloadContext.h\
|
|
|
|
DownloadEngine.cc DownloadEngine.h\
|
|
|
|
DownloadEngineFactory.cc DownloadEngineFactory.h\
|
|
|
|
DownloadFailureException.cc DownloadFailureException.h\
|
2007-11-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Rewritten to add content-type support.
* src/DownloadHandler.{h, cc}
* src/BtPostDownloadHandler.{h, cc}
* test/BtPostDownloadHandlerTest.cc
* src/MetalinkPostDownloadHandler.{h, cc}
* test/MetalinkPostDownloadHandlerTest.cc
* src/PostDownloadHandler.{h, cc}
* src/DownloadHandlerConstants.{h, cc}
* src/RequestGroup.cc
* src/HttpResponseCommand.cc
* src/FtpNegotiationCommand.cc
* src/SingleFileDownloadContext.{h, cc}
* src/RequestGroup.h
* src/RequestGroupCriteria.h
* src/ContentTypeRequestGroupCriteria.h
Added 'mem' option value for --follow-metalink,
--follow-torrent.
If it is give, metalink/torrent file is not written to the disk,
but
just is kept in memory. Parsing is occurred on memory.
* src/MetalinkHelper.{h, cc}
* src/MetalinkProcessor.h
* src/Xml2MetalinkProcessor.{h, cc}
* test/Xml2MetalinkProcessorTest.cc
* src/DownloadHandlerFactory.{h, cc}
* test/DownloadHandlerFactoryTest.cc
* src/PreDownloadHandler.{h, cc}
* src/OptionHandlerFactory.cc
* src/DefaultBtContext.{h, cc}
* test/DefaultBtContextTest.cc
* src/version_usage.cc
* src/Metalink2RequestGroup.{h, cc}
* src/RequestGroup.{h, cc}
* src/a2functional.h
* test/a2functionalTest.cc
* src/MemoryBufferPreDownloadHandler.{h, cc}
* src/OptionHandlerImpl.h
* src/prefs.h
* src/Util.{h, cc}
* test/UtilTest.cc
Keep DownloadResult rather than RequestGroup after downloads to
reduce
memory usage.
* src/RequestGroupMan.{h, cc}
* src/DownloadEngine.cc
* src/BtDependency.{h, cc}: Changed the type of dependee from
WeakHandle to SharedHandle because WeakHandle could be null.
* src/RequestGroup.{h, cc}
* src/DownloadEngineFactory.cc
* src/DownloadResult.h
Set totalLength after download finished
* src/UnknownLengthPieceStorage.{h, cc}
Keep torrent file specified in metalink in memory.
* src/Metalink2RequestGroup.cc
* src/BtDependency.cc
* src/TrueRequestGroupCriteria.h
Fixed the bug: seekg is used where seekp should be used.
* src/ByteArrayDiskWriter.cc
* test/ByteArraydiskWriterTest.cc
2007-11-27 12:27:10 +00:00
|
|
|
DownloadHandler.cc DownloadHandler.h\
|
|
|
|
DownloadHandlerConstants.cc DownloadHandlerConstants.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DownloadResult.cc DownloadResult.h\
|
2013-11-10 08:14:54 +00:00
|
|
|
download_handlers.cc download_handlers.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
download_helper.cc download_helper.h\
|
|
|
|
error_code.h\
|
|
|
|
Event.h\
|
|
|
|
EventPoll.h\
|
|
|
|
Exception.cc Exception.h\
|
|
|
|
FatalException.cc FatalException.h\
|
|
|
|
FeatureConfig.cc FeatureConfig.h\
|
|
|
|
FeedbackURISelector.cc FeedbackURISelector.h\
|
|
|
|
File.cc File.h\
|
|
|
|
FileAllocationCommand.cc FileAllocationCommand.h\
|
|
|
|
FileAllocationDispatcherCommand.cc FileAllocationDispatcherCommand.h\
|
|
|
|
FileAllocationEntry.cc FileAllocationEntry.h\
|
|
|
|
FileAllocationIterator.h\
|
|
|
|
FileAllocationMan.h\
|
|
|
|
FileEntry.cc FileEntry.h\
|
|
|
|
FillRequestGroupCommand.cc FillRequestGroupCommand.h\
|
|
|
|
fmt.cc fmt.h\
|
|
|
|
FtpConnection.cc FtpConnection.h\
|
|
|
|
FtpDownloadCommand.cc FtpDownloadCommand.h\
|
|
|
|
FtpFinishDownloadCommand.cc FtpFinishDownloadCommand.h\
|
|
|
|
FtpInitiateConnectionCommand.cc FtpInitiateConnectionCommand.h\
|
|
|
|
FtpNegotiationCommand.cc FtpNegotiationCommand.h\
|
|
|
|
FtpNegotiationConnectChain.h\
|
|
|
|
FtpTunnelRequestCommand.cc FtpTunnelRequestCommand.h\
|
|
|
|
FtpTunnelRequestConnectChain.h\
|
|
|
|
FtpTunnelResponseCommand.cc FtpTunnelResponseCommand.h\
|
|
|
|
GenericParser.h\
|
|
|
|
GeomStreamPieceSelector.cc GeomStreamPieceSelector.h\
|
|
|
|
GroupId.cc GroupId.h\
|
|
|
|
GrowSegment.cc GrowSegment.h\
|
|
|
|
HashFuncEntry.h \
|
2007-10-11 16:58:24 +00:00
|
|
|
HaveEraseCommand.cc HaveEraseCommand.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
help_tags.cc help_tags.h\
|
|
|
|
HttpConnection.cc HttpConnection.h\
|
|
|
|
HttpDownloadCommand.cc HttpDownloadCommand.h\
|
|
|
|
HttpHeader.cc HttpHeader.h\
|
|
|
|
HttpHeaderProcessor.cc HttpHeaderProcessor.h\
|
|
|
|
HttpInitiateConnectionCommand.cc HttpInitiateConnectionCommand.h\
|
|
|
|
HttpListenCommand.cc HttpListenCommand.h\
|
|
|
|
HttpProxyRequestCommand.cc HttpProxyRequestCommand.h\
|
|
|
|
HttpProxyRequestConnectChain.h\
|
|
|
|
HttpProxyResponseCommand.cc HttpProxyResponseCommand.h\
|
|
|
|
HttpRequest.cc HttpRequest.h\
|
|
|
|
HttpRequestCommand.cc HttpRequestCommand.h\
|
|
|
|
HttpRequestConnectChain.h\
|
|
|
|
HttpResponse.cc HttpResponse.h\
|
|
|
|
HttpResponseCommand.cc HttpResponseCommand.h\
|
|
|
|
HttpServer.cc HttpServer.h\
|
|
|
|
HttpServerBodyCommand.cc HttpServerBodyCommand.h\
|
|
|
|
HttpServerCommand.cc HttpServerCommand.h\
|
|
|
|
HttpServerResponseCommand.cc HttpServerResponseCommand.h\
|
|
|
|
HttpSkipResponseCommand.cc HttpSkipResponseCommand.h\
|
|
|
|
IndexedList.h\
|
|
|
|
InitiateConnectionCommand.cc InitiateConnectionCommand.h\
|
|
|
|
InitiateConnectionCommandFactory.cc InitiateConnectionCommandFactory.h\
|
|
|
|
InorderStreamPieceSelector.cc InorderStreamPieceSelector.h\
|
2015-02-14 09:33:37 +00:00
|
|
|
RandomStreamPieceSelector.cc RandomStreamPieceSelector.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
InorderURISelector.cc InorderURISelector.h\
|
|
|
|
IOFile.cc IOFile.h\
|
|
|
|
IteratableChecksumValidator.cc IteratableChecksumValidator.h\
|
|
|
|
IteratableChunkChecksumValidator.cc IteratableChunkChecksumValidator.h\
|
2007-11-14 10:10:38 +00:00
|
|
|
IteratableValidator.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
json.cc json.h\
|
|
|
|
JsonDiskWriter.h\
|
|
|
|
JsonParser.cc JsonParser.h\
|
|
|
|
Lock.h \
|
|
|
|
LogFactory.cc LogFactory.h\
|
|
|
|
Logger.cc Logger.h\
|
|
|
|
LongestSequencePieceSelector.cc LongestSequencePieceSelector.h\
|
|
|
|
MemoryBufferPreDownloadHandler.h\
|
|
|
|
MemoryPreDownloadHandler.h\
|
|
|
|
message.h\
|
|
|
|
MessageDigest.cc MessageDigest.h\
|
|
|
|
MessageDigestImpl.h\
|
|
|
|
message_digest_helper.cc message_digest_helper.h\
|
|
|
|
MetadataInfo.cc MetadataInfo.h\
|
|
|
|
MetalinkHttpEntry.cc MetalinkHttpEntry.h\
|
2007-11-14 10:10:38 +00:00
|
|
|
MultiDiskAdaptor.cc MultiDiskAdaptor.h\
|
|
|
|
MultiFileAllocationIterator.cc MultiFileAllocationIterator.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
MultiUrlRequestInfo.cc MultiUrlRequestInfo.h\
|
|
|
|
NameResolver.cc NameResolver.h\
|
|
|
|
Netrc.cc Netrc.h\
|
|
|
|
NetrcAuthResolver.cc NetrcAuthResolver.h\
|
|
|
|
NetStat.cc NetStat.h\
|
|
|
|
Notifier.cc Notifier.h\
|
|
|
|
NsCookieParser.cc NsCookieParser.h\
|
|
|
|
NullHandle.h\
|
|
|
|
NullOutputFile.h\
|
|
|
|
NullProgressInfoFile.h\
|
|
|
|
NullSinkStreamFilter.cc NullSinkStreamFilter.h\
|
|
|
|
NullStatCalc.h\
|
|
|
|
Option.cc Option.h\
|
|
|
|
OptionHandler.cc OptionHandler.h\
|
|
|
|
OptionHandlerException.cc OptionHandlerException.h\
|
|
|
|
OptionHandlerFactory.cc OptionHandlerFactory.h\
|
|
|
|
OptionHandlerImpl.cc OptionHandlerImpl.h\
|
|
|
|
OptionParser.cc OptionParser.h\
|
|
|
|
option_processing.cc\
|
|
|
|
OutputFile.h\
|
|
|
|
paramed_string.cc paramed_string.h\
|
|
|
|
PeerStat.cc PeerStat.h\
|
|
|
|
Piece.cc Piece.h\
|
|
|
|
PiecedSegment.cc PiecedSegment.h\
|
|
|
|
PieceHashCheckIntegrityEntry.cc PieceHashCheckIntegrityEntry.h\
|
|
|
|
PieceSelector.h\
|
|
|
|
PieceStatMan.cc PieceStatMan.h\
|
|
|
|
PieceStorage.h\
|
|
|
|
Platform.cc Platform.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
PostDownloadHandler.h\
|
|
|
|
PreDownloadHandler.h\
|
2008-05-19 10:25:38 +00:00
|
|
|
prefs.cc prefs.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
ProgressAwareEntry.h\
|
2008-04-22 10:29:48 +00:00
|
|
|
ProtocolDetector.cc ProtocolDetector.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
Randomizer.h\
|
|
|
|
Range.cc Range.h\
|
2008-06-29 14:29:36 +00:00
|
|
|
RarestPieceSelector.cc RarestPieceSelector.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
RealtimeCommand.cc RealtimeCommand.h\
|
|
|
|
RecoverableException.cc RecoverableException.h\
|
|
|
|
Request.cc Request.h\
|
|
|
|
RequestGroup.cc RequestGroup.h\
|
|
|
|
RequestGroupCriteria.h\
|
|
|
|
RequestGroupEntry.cc RequestGroupEntry.h\
|
|
|
|
RequestGroupMan.cc RequestGroupMan.h\
|
|
|
|
RpcMethod.cc RpcMethod.h\
|
|
|
|
RpcMethodFactory.cc RpcMethodFactory.h\
|
|
|
|
RpcMethodImpl.cc RpcMethodImpl.h\
|
|
|
|
RpcRequest.cc RpcRequest.h\
|
|
|
|
RpcResponse.cc RpcResponse.h\
|
|
|
|
rpc_helper.cc rpc_helper.h\
|
|
|
|
SaveSessionCommand.h SaveSessionCommand.cc\
|
|
|
|
SegList.h\
|
|
|
|
Segment.h\
|
|
|
|
SegmentMan.cc SegmentMan.h\
|
|
|
|
SelectEventPoll.cc SelectEventPoll.h\
|
|
|
|
SequentialDispatcherCommand.h\
|
|
|
|
SequentialPicker.h\
|
2008-08-04 17:06:47 +00:00
|
|
|
ServerStat.cc ServerStat.h\
|
|
|
|
ServerStatMan.cc ServerStatMan.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
SessionSerializer.cc SessionSerializer.h\
|
|
|
|
Signature.cc Signature.h\
|
|
|
|
SimpleRandomizer.cc SimpleRandomizer.h\
|
|
|
|
SingleFileAllocationIterator.cc SingleFileAllocationIterator.h\
|
|
|
|
SingletonHolder.h\
|
|
|
|
SinkStreamFilter.cc SinkStreamFilter.h\
|
2008-09-26 16:05:45 +00:00
|
|
|
SocketBuffer.cc SocketBuffer.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
SocketCore.cc SocketCore.h\
|
2011-01-16 07:55:41 +00:00
|
|
|
SocketRecvBuffer.cc SocketRecvBuffer.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
SpeedCalc.cc SpeedCalc.h\
|
|
|
|
StatCalc.h\
|
|
|
|
StreamCheckIntegrityEntry.cc StreamCheckIntegrityEntry.h\
|
|
|
|
StreamFileAllocationEntry.cc StreamFileAllocationEntry.h\
|
|
|
|
StreamFilter.cc StreamFilter.h\
|
|
|
|
StreamPieceSelector.h\
|
|
|
|
StructParserStateMachine.h\
|
|
|
|
TimeA2.cc TimeA2.h\
|
|
|
|
TimeBasedCommand.cc TimeBasedCommand.h\
|
|
|
|
TimedHaltCommand.cc TimedHaltCommand.h\
|
|
|
|
TimerA2.cc TimerA2.h\
|
2010-06-18 14:47:09 +00:00
|
|
|
timespec.h\
|
2010-11-14 07:17:55 +00:00
|
|
|
TorrentAttribute.cc TorrentAttribute.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
TransferStat.cc TransferStat.h\
|
2012-08-12 07:52:53 +00:00
|
|
|
TruncFileAllocationIterator.cc TruncFileAllocationIterator.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
UnknownLengthPieceStorage.cc UnknownLengthPieceStorage.h\
|
|
|
|
UnknownOptionException.cc UnknownOptionException.h\
|
2010-09-26 05:47:12 +00:00
|
|
|
uri.cc uri.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
UriListParser.cc UriListParser.h\
|
|
|
|
URIResult.cc URIResult.h\
|
|
|
|
URISelector.h\
|
2012-10-13 15:14:50 +00:00
|
|
|
uri_split.c uri_split.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
usage_text.h\
|
|
|
|
util.cc util.h\
|
|
|
|
util_security.cc util_security.h\
|
|
|
|
ValueBase.cc ValueBase.h\
|
|
|
|
ValueBaseDiskWriter.h\
|
2012-07-09 16:42:42 +00:00
|
|
|
ValueBaseJsonParser.h\
|
|
|
|
ValueBaseStructParserState.h\
|
|
|
|
ValueBaseStructParserStateImpl.cc ValueBaseStructParserStateImpl.h\
|
|
|
|
ValueBaseStructParserStateMachine.cc ValueBaseStructParserStateMachine.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
version_usage.cc\
|
|
|
|
wallclock.cc wallclock.h\
|
2011-12-03 07:30:00 +00:00
|
|
|
WatchProcessCommand.cc WatchProcessCommand.h\
|
2012-11-27 13:04:59 +00:00
|
|
|
WrDiskCache.cc WrDiskCache.h\
|
2012-12-16 07:00:18 +00:00
|
|
|
WrDiskCacheEntry.cc WrDiskCacheEntry.h\
|
2014-06-08 08:03:34 +00:00
|
|
|
XmlRpcRequestParserController.cc XmlRpcRequestParserController.h\
|
2015-11-10 14:02:21 +00:00
|
|
|
OpenedFileCounter.cc OpenedFileCounter.h \
|
2015-11-11 13:31:00 +00:00
|
|
|
SHA1IOFile.cc SHA1IOFile.h \
|
|
|
|
EvictSocketPoolCommand.cc EvictSocketPoolCommand.h
|
2011-08-09 14:33:55 +00:00
|
|
|
|
2013-09-18 14:10:25 +00:00
|
|
|
if ANDROID
|
|
|
|
SRCS += android/android.c
|
|
|
|
endif # ANDROID
|
|
|
|
|
2013-05-06 09:56:32 +00:00
|
|
|
# Android NDK R8e does not provide ftruncate64. Use assembly code from
|
|
|
|
# android source code and link it.
|
|
|
|
if ANDROID_ARM
|
|
|
|
SRCS += android/arm-ftruncate64.S
|
|
|
|
endif # ANDROID_ARM
|
|
|
|
|
|
|
|
if ANDROID_MIPS
|
|
|
|
SRCS += android/mips-ftruncate64.S
|
|
|
|
endif # ANDROID_MIPS
|
|
|
|
|
|
|
|
if ANDROID_X86
|
|
|
|
SRCS += android/x86-ftruncate64.S android/x86-asm.h
|
|
|
|
endif # ANDROID_X86
|
|
|
|
|
2011-08-09 14:33:55 +00:00
|
|
|
if MINGW_BUILD
|
|
|
|
SRCS += WinConsoleFile.cc WinConsoleFile.h
|
|
|
|
endif # MINGW_BUILD
|
2009-01-15 15:23:16 +00:00
|
|
|
|
2012-04-07 15:50:25 +00:00
|
|
|
if ENABLE_WEBSOCKET
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
WebSocketInteractionCommand.cc WebSocketInteractionCommand.h\
|
2012-04-07 15:50:25 +00:00
|
|
|
WebSocketResponseCommand.cc WebSocketResponseCommand.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
WebSocketSession.cc WebSocketSession.h\
|
|
|
|
WebSocketSessionMan.cc WebSocketSessionMan.h
|
2012-04-07 15:50:25 +00:00
|
|
|
endif # ENABLE_WEBSOCKET
|
|
|
|
|
|
|
|
if !ENABLE_WEBSOCKET
|
2012-04-08 08:51:01 +00:00
|
|
|
SRCS += NullWebSocketSessionMan.h
|
2012-04-07 15:50:25 +00:00
|
|
|
endif # !ENABLE_WEBSOCKET
|
|
|
|
|
2011-11-10 13:38:01 +00:00
|
|
|
if HAVE_SOME_XMLLIB
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
ParserStateMachine.h\
|
|
|
|
XmlAttr.cc XmlAttr.h\
|
|
|
|
XmlParser.cc XmlParser.h
|
2011-11-10 13:38:01 +00:00
|
|
|
endif # HAVE_SOME_XMLLIB
|
|
|
|
|
2011-12-10 15:08:13 +00:00
|
|
|
if HAVE_LIBXML2
|
|
|
|
SRCS += Xml2XmlParser.cc Xml2XmlParser.h
|
|
|
|
endif # HAVE_LIBXML2
|
|
|
|
|
|
|
|
if HAVE_LIBEXPAT
|
|
|
|
SRCS += ExpatXmlParser.cc ExpatXmlParser.h
|
|
|
|
endif # HAVE_LIBEXPAT
|
|
|
|
|
2009-05-08 07:58:50 +00:00
|
|
|
if ENABLE_XML_RPC
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
XmlRpcDiskWriter.cc XmlRpcDiskWriter.h\
|
2009-05-08 07:58:50 +00:00
|
|
|
XmlRpcRequestParserState.h\
|
2012-07-14 09:59:56 +00:00
|
|
|
XmlRpcRequestParserStateImpl.cc XmlRpcRequestParserStateImpl.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
XmlRpcRequestParserStateMachine.cc XmlRpcRequestParserStateMachine.h
|
2009-05-08 07:58:50 +00:00
|
|
|
|
2009-05-15 08:21:55 +00:00
|
|
|
endif # ENABLE_XML_RPC
|
|
|
|
|
2010-07-04 15:03:35 +00:00
|
|
|
if HAVE_SOME_FALLOCATE
|
2009-03-25 05:43:07 +00:00
|
|
|
SRCS += FallocFileAllocationIterator.cc FallocFileAllocationIterator.h
|
2010-07-04 15:03:35 +00:00
|
|
|
endif # HAVE_SOME_FALLOCATE
|
2009-03-25 05:43:07 +00:00
|
|
|
|
2009-01-15 15:23:16 +00:00
|
|
|
if HAVE_EPOLL
|
|
|
|
SRCS += EpollEventPoll.cc EpollEventPoll.h
|
|
|
|
endif # HAVE_EPOLL
|
2008-06-29 14:29:36 +00:00
|
|
|
|
2008-11-08 10:48:02 +00:00
|
|
|
if ENABLE_SSL
|
2013-04-06 07:33:15 +00:00
|
|
|
SRCS += TLSContext.h TLSSession.h
|
2008-11-08 10:48:02 +00:00
|
|
|
endif # ENABLE_SSL
|
|
|
|
|
2013-04-05 03:55:57 +00:00
|
|
|
if USE_APPLE_MD
|
2013-09-20 05:54:30 +00:00
|
|
|
SRCS += AppleMessageDigestImpl.cc
|
2013-04-06 07:34:49 +00:00
|
|
|
endif # USE_APPLE_MD
|
2013-04-05 03:55:57 +00:00
|
|
|
|
|
|
|
if HAVE_APPLETLS
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
AppleTLSContext.cc AppleTLSContext.h \
|
|
|
|
AppleTLSSession.cc AppleTLSSession.h
|
2013-04-06 07:34:49 +00:00
|
|
|
endif # HAVE_APPLETLS
|
2013-04-05 03:55:57 +00:00
|
|
|
|
2013-09-22 03:28:22 +00:00
|
|
|
if HAVE_WINTLS
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
WinTLSContext.cc WinTLSContext.h \
|
2013-09-22 03:28:22 +00:00
|
|
|
WinTLSSession.cc WinTLSSession.h
|
|
|
|
endif # HAVE_WINTLS
|
|
|
|
|
2013-09-23 22:39:55 +00:00
|
|
|
if USE_INTERNAL_BIGNUM
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
bignum.h\
|
|
|
|
InternalDHKeyExchange.cc InternalDHKeyExchange.h
|
2013-09-23 22:39:55 +00:00
|
|
|
endif
|
|
|
|
|
2013-09-24 00:22:00 +00:00
|
|
|
if USE_INTERNAL_ARC4
|
|
|
|
SRCS += InternalARC4Encryptor.cc InternalARC4Encryptor.h
|
|
|
|
endif
|
|
|
|
|
2013-09-20 20:39:33 +00:00
|
|
|
if USE_INTERNAL_MD
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
InternalMessageDigestImpl.cc\
|
2014-06-10 11:09:08 +00:00
|
|
|
crypto_hash.cc crypto_hash.h
|
2013-09-20 20:39:33 +00:00
|
|
|
endif # USE_WINDOWS_MD
|
|
|
|
|
2008-11-08 10:48:02 +00:00
|
|
|
if HAVE_LIBGNUTLS
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
LibgnutlsTLSContext.cc LibgnutlsTLSContext.h \
|
2013-04-05 03:55:57 +00:00
|
|
|
LibgnutlsTLSSession.cc LibgnutlsTLSSession.h
|
2011-08-10 17:24:42 +00:00
|
|
|
endif # HAVE_LIBGNUTLS
|
|
|
|
|
|
|
|
if HAVE_LIBGCRYPT
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
LibgcryptARC4Encryptor.cc LibgcryptARC4Encryptor.h \
|
2013-04-05 03:55:57 +00:00
|
|
|
LibgcryptDHKeyExchange.cc LibgcryptDHKeyExchange.h
|
|
|
|
if USE_LIBGCRYPT_MD
|
2013-09-20 05:54:30 +00:00
|
|
|
SRCS += LibgcryptMessageDigestImpl.cc
|
2013-04-06 07:34:49 +00:00
|
|
|
endif # USE_LIBGCRYPT_MD
|
2011-08-10 17:24:42 +00:00
|
|
|
endif # HAVE_LIBGCRYPT
|
|
|
|
|
|
|
|
if HAVE_LIBNETTLE
|
2013-04-05 03:55:57 +00:00
|
|
|
SRCS += LibnettleARC4Encryptor.cc LibnettleARC4Encryptor.h
|
|
|
|
if USE_LIBNETTLE_MD
|
2013-09-20 05:54:30 +00:00
|
|
|
SRCS += LibnettleMessageDigestImpl.cc
|
2013-04-06 07:34:49 +00:00
|
|
|
endif # USE_LIBNETTLE_MD
|
2011-08-10 17:24:42 +00:00
|
|
|
endif # HAVE_LIBNETTLE
|
|
|
|
|
|
|
|
if HAVE_LIBGMP
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
a2gmp.cc a2gmp.h \
|
2013-04-05 03:55:57 +00:00
|
|
|
LibgmpDHKeyExchange.cc LibgmpDHKeyExchange.h
|
2011-08-10 17:24:42 +00:00
|
|
|
endif # HAVE_LIBGMP
|
2008-11-08 10:48:02 +00:00
|
|
|
|
2011-02-18 13:43:50 +00:00
|
|
|
if HAVE_OPENSSL
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
LibsslARC4Encryptor.cc LibsslARC4Encryptor.h \
|
2013-04-05 03:55:57 +00:00
|
|
|
LibsslDHKeyExchange.cc LibsslDHKeyExchange.h
|
|
|
|
if !HAVE_APPLETLS
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
LibsslTLSContext.cc LibsslTLSContext.h \
|
2013-04-05 03:55:57 +00:00
|
|
|
LibsslTLSSession.cc LibsslTLSSession.h
|
2013-04-06 07:34:49 +00:00
|
|
|
endif # !HAVE_APPLETLS
|
2013-04-05 03:55:57 +00:00
|
|
|
if USE_OPENSSL_MD
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += LibsslMessageDigestImpl.cc
|
|
|
|
endif
|
|
|
|
endif # HAVE_OPENSSL
|
|
|
|
|
|
|
|
if HAVE_ZLIB
|
|
|
|
SRCS += \
|
|
|
|
GZipDecodingStreamFilter.cc GZipDecodingStreamFilter.h\
|
|
|
|
GZipEncoder.cc GZipEncoder.h\
|
2014-09-11 15:49:55 +00:00
|
|
|
GZipFile.cc GZipFile.h \
|
|
|
|
Adler32MessageDigestImpl.cc Adler32MessageDigestImpl.h
|
2014-05-27 19:35:42 +00:00
|
|
|
endif # HAVE_ZLIB
|
|
|
|
|
|
|
|
if HAVE_SQLITE3
|
|
|
|
SRCS += \
|
|
|
|
Sqlite3CookieParser.cc Sqlite3CookieParser.h\
|
|
|
|
Sqlite3CookieParserImpl.cc Sqlite3CookieParserImpl.h
|
|
|
|
endif # HAVE_SQLITE3
|
|
|
|
|
2015-05-09 15:00:23 +00:00
|
|
|
if HAVE_LIBSSH2
|
2015-05-11 15:21:22 +00:00
|
|
|
SRCS += SSHSession.cc SSHSession.h \
|
|
|
|
SftpNegotiationCommand.cc SftpNegotiationCommand.h \
|
|
|
|
SftpNegotiationConnectChain.h \
|
|
|
|
SftpDownloadCommand.cc SftpDownloadCommand.h \
|
|
|
|
SftpFinishDownloadCommand.cc SftpFinishDownloadCommand.h
|
2015-05-09 15:00:23 +00:00
|
|
|
endif # HAVE_LIBSSH2
|
|
|
|
|
2014-05-27 19:35:42 +00:00
|
|
|
if ENABLE_ASYNC_DNS
|
|
|
|
SRCS += \
|
|
|
|
AsyncNameResolver.cc AsyncNameResolver.h\
|
|
|
|
AsyncNameResolverMan.cc AsyncNameResolverMan.h
|
|
|
|
endif # ENABLE_ASYNC_DNS
|
|
|
|
|
|
|
|
if ENABLE_BITTORRENT
|
|
|
|
SRCS += \
|
2008-03-01 04:42:53 +00:00
|
|
|
AbstractBtMessage.cc AbstractBtMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
ActivePeerConnectionCommand.cc ActivePeerConnectionCommand.h\
|
|
|
|
AnnounceList.h AnnounceList.cc\
|
|
|
|
AnnounceTier.cc AnnounceTier.h\
|
|
|
|
ARC4Encryptor.h\
|
|
|
|
bencode2.cc bencode2.h\
|
|
|
|
BencodeDiskWriter.h\
|
|
|
|
BencodeDiskWriterFactory.h\
|
|
|
|
BencodeParser.cc BencodeParser.h\
|
|
|
|
bittorrent_helper.cc bittorrent_helper.h\
|
|
|
|
BtAbortOutstandingRequestEvent.cc BtAbortOutstandingRequestEvent.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
BtAllowedFastMessage.cc BtAllowedFastMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BtAnnounce.cc BtAnnounce.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
BtBitfieldMessage.cc BtBitfieldMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BtBitfieldMessageValidator.cc BtBitfieldMessageValidator.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
BtCancelMessage.cc BtCancelMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BtCancelSendingPieceEvent.h\
|
|
|
|
BtCheckIntegrityEntry.cc BtCheckIntegrityEntry.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
BtChokeMessage.cc BtChokeMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BtChokingEvent.h\
|
|
|
|
BtConstants.h\
|
|
|
|
BtDependency.cc BtDependency.h\
|
|
|
|
BtExtendedMessage.cc BtExtendedMessage.h\
|
|
|
|
BtFileAllocationEntry.cc BtFileAllocationEntry.h\
|
|
|
|
BtHandshakeMessage.cc BtHandshakeMessage.h\
|
|
|
|
BtHandshakeMessageValidator.cc BtHandshakeMessageValidator.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
BtHaveAllMessage.cc BtHaveAllMessage.h\
|
|
|
|
BtHaveMessage.cc BtHaveMessage.h\
|
|
|
|
BtHaveNoneMessage.cc BtHaveNoneMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BtInteractive.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
BtInterestedMessage.cc BtInterestedMessage.h\
|
|
|
|
BtKeepAliveMessage.cc BtKeepAliveMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BtLeecherStateChoke.cc BtLeecherStateChoke.h\
|
|
|
|
BtMessage.h\
|
|
|
|
BtMessageDispatcher.h\
|
|
|
|
BtMessageFactory.h\
|
|
|
|
BtMessageReceiver.h\
|
|
|
|
BtMessageValidator.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
BtNotInterestedMessage.cc BtNotInterestedMessage.h\
|
|
|
|
BtPieceMessage.cc BtPieceMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BtPieceMessageValidator.cc BtPieceMessageValidator.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
BtPortMessage.cc BtPortMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BtPostDownloadHandler.cc BtPostDownloadHandler.h\
|
|
|
|
BtRegistry.cc BtRegistry.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
BtRejectMessage.cc BtRejectMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BtRequestFactory.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
BtRequestMessage.cc BtRequestMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
BtRuntime.cc BtRuntime.h\
|
|
|
|
BtSeederStateChoke.cc BtSeederStateChoke.h\
|
|
|
|
BtSetup.cc BtSetup.h\
|
|
|
|
BtStopDownloadCommand.cc BtStopDownloadCommand.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
BtSuggestPieceMessage.cc BtSuggestPieceMessage.h\
|
|
|
|
BtUnchokeMessage.cc BtUnchokeMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DefaultBtAnnounce.cc DefaultBtAnnounce.h\
|
|
|
|
DefaultBtInteractive.cc DefaultBtInteractive.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
DefaultBtMessageDispatcher.cc DefaultBtMessageDispatcher.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DefaultBtMessageFactory.cc DefaultBtMessageFactory.h\
|
2006-12-24 06:25:21 +00:00
|
|
|
DefaultBtMessageReceiver.cc DefaultBtMessageReceiver.h\
|
|
|
|
DefaultBtRequestFactory.cc DefaultBtRequestFactory.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
DefaultExtensionMessageFactory.cc DefaultExtensionMessageFactory.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DefaultPeerStorage.cc DefaultPeerStorage.h\
|
|
|
|
DHKeyExchange.h\
|
|
|
|
DHTAbstractMessage.cc DHTAbstractMessage.h\
|
|
|
|
DHTAbstractNodeLookupTask.h\
|
|
|
|
DHTAbstractTask.cc DHTAbstractTask.h\
|
|
|
|
DHTAnnouncePeerMessage.cc DHTAnnouncePeerMessage.h\
|
|
|
|
DHTAnnouncePeerReplyMessage.cc DHTAnnouncePeerReplyMessage.h\
|
|
|
|
DHTAutoSaveCommand.cc DHTAutoSaveCommand.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
DHTBucket.cc DHTBucket.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTBucketRefreshCommand.cc DHTBucketRefreshCommand.h\
|
|
|
|
DHTBucketRefreshTask.cc DHTBucketRefreshTask.h\
|
|
|
|
DHTBucketTree.cc DHTBucketTree.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
DHTConnection.h\
|
|
|
|
DHTConnectionImpl.cc DHTConnectionImpl.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTConstants.h\
|
|
|
|
DHTEntryPointNameResolveCommand.cc DHTEntryPointNameResolveCommand.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
DHTFindNodeMessage.cc DHTFindNodeMessage.h\
|
|
|
|
DHTFindNodeReplyMessage.cc DHTFindNodeReplyMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTGetPeersCommand.cc DHTGetPeersCommand.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
DHTGetPeersMessage.cc DHTGetPeersMessage.h\
|
|
|
|
DHTGetPeersReplyMessage.cc DHTGetPeersReplyMessage.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTIDCloser.h\
|
|
|
|
DHTInteractionCommand.cc DHTInteractionCommand.h\
|
|
|
|
DHTMessage.cc DHTMessage.h\
|
|
|
|
DHTMessageCallback.h\
|
|
|
|
DHTMessageDispatcher.h\
|
|
|
|
DHTMessageDispatcherImpl.cc DHTMessageDispatcherImpl.h\
|
|
|
|
DHTMessageEntry.cc DHTMessageEntry.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
DHTMessageFactory.h\
|
|
|
|
DHTMessageFactoryImpl.cc DHTMessageFactoryImpl.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTMessageReceiver.cc DHTMessageReceiver.h\
|
|
|
|
DHTMessageTracker.cc DHTMessageTracker.h\
|
|
|
|
DHTMessageTrackerEntry.cc DHTMessageTrackerEntry.h\
|
|
|
|
DHTNode.cc DHTNode.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
DHTNodeLookupEntry.cc DHTNodeLookupEntry.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTNodeLookupTask.cc DHTNodeLookupTask.h\
|
2010-06-13 11:25:21 +00:00
|
|
|
DHTNodeLookupTaskCallback.cc DHTNodeLookupTaskCallback.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTPeerAnnounceCommand.cc DHTPeerAnnounceCommand.h\
|
|
|
|
DHTPeerAnnounceEntry.cc DHTPeerAnnounceEntry.h\
|
|
|
|
DHTPeerAnnounceStorage.cc DHTPeerAnnounceStorage.h\
|
|
|
|
DHTPeerLookupTask.cc DHTPeerLookupTask.h\
|
2010-06-13 11:25:21 +00:00
|
|
|
DHTPeerLookupTaskCallback.cc DHTPeerLookupTaskCallback.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTPingMessage.cc DHTPingMessage.h\
|
|
|
|
DHTPingReplyMessage.cc DHTPingReplyMessage.h\
|
|
|
|
DHTPingReplyMessageCallback.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
DHTPingTask.cc DHTPingTask.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTQueryMessage.cc DHTQueryMessage.h\
|
|
|
|
DHTRegistry.cc DHTRegistry.h\
|
|
|
|
DHTReplaceNodeTask.cc DHTReplaceNodeTask.h\
|
|
|
|
DHTResponseMessage.cc DHTResponseMessage.h\
|
|
|
|
DHTRoutingTable.cc DHTRoutingTable.h\
|
|
|
|
DHTRoutingTableDeserializer.cc DHTRoutingTableDeserializer.h\
|
|
|
|
DHTRoutingTableSerializer.cc DHTRoutingTableSerializer.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
DHTSetup.cc DHTSetup.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTTask.h\
|
|
|
|
DHTTaskExecutor.cc DHTTaskExecutor.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
DHTTaskFactory.h\
|
|
|
|
DHTTaskFactoryImpl.cc DHTTaskFactoryImpl.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTTaskQueue.h\
|
|
|
|
DHTTaskQueueImpl.cc DHTTaskQueueImpl.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
DHTTokenTracker.cc DHTTokenTracker.h\
|
|
|
|
DHTTokenUpdateCommand.cc DHTTokenUpdateCommand.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
DHTUnknownMessage.cc DHTUnknownMessage.h\
|
|
|
|
ExtensionMessage.h\
|
|
|
|
ExtensionMessageFactory.h\
|
|
|
|
ExtensionMessageRegistry.cc ExtensionMessageRegistry.h\
|
|
|
|
HandshakeExtensionMessage.cc HandshakeExtensionMessage.h\
|
2009-03-12 15:54:43 +00:00
|
|
|
IndexBtMessage.cc IndexBtMessage.h\
|
2010-11-14 07:17:55 +00:00
|
|
|
IndexBtMessageValidator.cc IndexBtMessageValidator.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
InitiatorMSEHandshakeCommand.cc InitiatorMSEHandshakeCommand.h\
|
|
|
|
LpdDispatchMessageCommand.cc LpdDispatchMessageCommand.h\
|
|
|
|
LpdMessage.cc LpdMessage.h\
|
2010-02-20 14:23:25 +00:00
|
|
|
LpdMessageDispatcher.cc LpdMessageDispatcher.h\
|
|
|
|
LpdMessageReceiver.cc LpdMessageReceiver.h\
|
|
|
|
LpdReceiveMessageCommand.cc LpdReceiveMessageCommand.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
magnet.cc magnet.h\
|
2013-02-24 15:56:49 +00:00
|
|
|
MemoryBencodePreDownloadHandler.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
MSEHandshake.cc MSEHandshake.h\
|
|
|
|
NameResolveCommand.cc NameResolveCommand.h\
|
|
|
|
Peer.cc Peer.h\
|
|
|
|
PeerAbstractCommand.cc PeerAbstractCommand.h\
|
|
|
|
PeerAddrEntry.cc PeerAddrEntry.h\
|
|
|
|
PeerChokeCommand.cc PeerChokeCommand.h\
|
|
|
|
PeerConnection.cc PeerConnection.h\
|
|
|
|
PeerInitiateConnectionCommand.cc PeerInitiateConnectionCommand.h\
|
|
|
|
PeerInteractionCommand.cc PeerInteractionCommand.h\
|
|
|
|
PeerListenCommand.cc PeerListenCommand.h\
|
|
|
|
PeerReceiveHandshakeCommand.cc PeerReceiveHandshakeCommand.h\
|
|
|
|
PeerSessionResource.cc PeerSessionResource.h\
|
|
|
|
PeerStorage.h\
|
|
|
|
PriorityPieceSelector.cc PriorityPieceSelector.h\
|
|
|
|
RangeBtMessage.cc RangeBtMessage.h\
|
|
|
|
RangeBtMessageValidator.cc RangeBtMessageValidator.h\
|
|
|
|
ReceiverMSEHandshakeCommand.cc ReceiverMSEHandshakeCommand.h\
|
|
|
|
RequestSlot.cc RequestSlot.h\
|
|
|
|
SeedCheckCommand.cc SeedCheckCommand.h\
|
|
|
|
SeedCriteria.h\
|
|
|
|
ShareRatioSeedCriteria.cc ShareRatioSeedCriteria.h\
|
|
|
|
SimpleBtMessage.cc SimpleBtMessage.h\
|
|
|
|
TimeSeedCriteria.cc TimeSeedCriteria.h\
|
|
|
|
TrackerWatcherCommand.cc TrackerWatcherCommand.h\
|
2013-02-24 15:56:49 +00:00
|
|
|
UDPTrackerClient.cc UDPTrackerClient.h\
|
|
|
|
UDPTrackerRequest.cc UDPTrackerRequest.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
UnionSeedCriteria.cc UnionSeedCriteria.h\
|
|
|
|
UTMetadataDataExtensionMessage.cc UTMetadataDataExtensionMessage.h\
|
|
|
|
UTMetadataExtensionMessage.cc UTMetadataExtensionMessage.h\
|
|
|
|
UTMetadataPostDownloadHandler.cc UTMetadataPostDownloadHandler.h\
|
|
|
|
UTMetadataRejectExtensionMessage.cc UTMetadataRejectExtensionMessage.h\
|
|
|
|
UTMetadataRequestExtensionMessage.cc\
|
|
|
|
UTMetadataRequestExtensionMessage.h\
|
|
|
|
UTMetadataRequestFactory.cc UTMetadataRequestFactory.h\
|
|
|
|
UTMetadataRequestTracker.cc UTMetadataRequestTracker.h\
|
|
|
|
UTPexExtensionMessage.cc UTPexExtensionMessage.h\
|
|
|
|
ValueBaseBencodeParser.h\
|
|
|
|
XORCloser.h\
|
|
|
|
ZeroBtMessage.cc ZeroBtMessage.h
|
2006-07-04 10:57:56 +00:00
|
|
|
endif # ENABLE_BITTORRENT
|
|
|
|
|
|
|
|
if ENABLE_METALINK
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
Metalink2RequestGroup.cc Metalink2RequestGroup.h\
|
2006-07-03 14:19:23 +00:00
|
|
|
MetalinkEntry.cc MetalinkEntry.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
Metalinker.cc Metalinker.h\
|
2010-02-25 16:00:24 +00:00
|
|
|
MetalinkMetaurl.cc MetalinkMetaurl.h\
|
2008-03-01 04:42:53 +00:00
|
|
|
MetalinkParserController.cc MetalinkParserController.h\
|
2010-11-14 07:17:55 +00:00
|
|
|
MetalinkParserState.cc MetalinkParserState.h\
|
2009-10-03 12:52:16 +00:00
|
|
|
MetalinkParserStateImpl.cc MetalinkParserStateImpl.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
MetalinkParserStateMachine.cc MetalinkParserStateMachine.h\
|
2010-02-25 14:40:18 +00:00
|
|
|
MetalinkParserStateV3Impl.cc MetalinkParserStateV3Impl.h\
|
|
|
|
MetalinkParserStateV4Impl.cc MetalinkParserStateV4Impl.h\
|
2007-11-03 12:03:53 +00:00
|
|
|
MetalinkPostDownloadHandler.cc MetalinkPostDownloadHandler.h\
|
2014-05-27 19:35:42 +00:00
|
|
|
MetalinkResource.cc MetalinkResource.h\
|
2011-02-05 14:21:06 +00:00
|
|
|
metalink_helper.cc metalink_helper.h
|
2006-07-04 10:57:56 +00:00
|
|
|
|
2011-11-10 13:38:01 +00:00
|
|
|
endif # ENABLE_METALINK
|
2007-12-14 00:46:32 +00:00
|
|
|
|
2008-06-16 11:19:45 +00:00
|
|
|
if !HAVE_ASCTIME_R
|
|
|
|
SRCS += asctime_r.c asctime_r.h
|
|
|
|
endif # !HAVE_ASCTIME_R
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
if !HAVE_BASENAME
|
|
|
|
SRCS += libgen.c libgen.h
|
|
|
|
endif # !HAVE_BASENAME
|
|
|
|
|
|
|
|
if !HAVE_GETADDRINFO
|
|
|
|
SRCS += getaddrinfo.c getaddrinfo.h
|
|
|
|
endif # !HAVE_GETADDRINFO
|
|
|
|
|
2007-07-31 16:45:16 +00:00
|
|
|
if !HAVE_GAI_STRERROR
|
|
|
|
SRCS += gai_strerror.c gai_strerror.h
|
|
|
|
endif # !HAVE_GAI_STRERROR
|
|
|
|
|
|
|
|
if !HAVE_GETTIMEOFDAY
|
|
|
|
SRCS += gettimeofday.c gettimeofday.h
|
|
|
|
endif # !HAVE_GETTIMEOFDAY
|
|
|
|
|
2007-07-23 13:04:48 +00:00
|
|
|
if !HAVE_LOCALTIME_R
|
|
|
|
SRCS += localtime_r.c localtime_r.h
|
|
|
|
endif # !HAVE_LOCALTIME_R
|
|
|
|
|
|
|
|
if !HAVE_STRPTIME
|
|
|
|
SRCS += strptime.c strptime.h
|
|
|
|
endif # !HAVE_STRPTIME
|
|
|
|
|
2007-08-14 14:51:08 +00:00
|
|
|
if !HAVE_TIMEGM
|
|
|
|
SRCS += timegm.c timegm.h
|
|
|
|
endif # !HAVE_TIMEGM
|
|
|
|
|
2009-09-19 09:05:20 +00:00
|
|
|
if !HAVE_DAEMON
|
|
|
|
SRCS += daemon.cc daemon.h
|
|
|
|
endif # !HAVE_DAEMON
|
|
|
|
|
2010-04-19 12:53:58 +00:00
|
|
|
if HAVE_POLL
|
|
|
|
SRCS += PollEventPoll.cc PollEventPoll.h
|
|
|
|
endif # HAVE_POLL
|
|
|
|
|
2010-04-21 14:31:44 +00:00
|
|
|
if HAVE_PORT_ASSOCIATE
|
|
|
|
SRCS += PortEventPoll.cc PortEventPoll.h
|
|
|
|
endif # HAVE_PORT_ASSOCIATE
|
|
|
|
|
2010-04-24 13:07:35 +00:00
|
|
|
if HAVE_KQUEUE
|
|
|
|
SRCS += KqueueEventPoll.cc KqueueEventPoll.h
|
|
|
|
endif # HAVE_KQUEUE
|
|
|
|
|
2014-12-30 17:17:44 +00:00
|
|
|
if HAVE_GETRANDOM_INTERFACE
|
|
|
|
SRCS += getrandom_linux.c getrandom_linux.h
|
|
|
|
endif # HAVE_GETRANDOM_INTERFACE
|
|
|
|
|
2013-04-10 06:47:20 +00:00
|
|
|
if HAVE_LIBUV
|
|
|
|
SRCS += LibuvEventPoll.cc LibuvEventPoll.h
|
|
|
|
endif # HAVE_LIBUV
|
|
|
|
|
2011-01-29 12:33:57 +00:00
|
|
|
AR = @AR@
|
2013-04-26 14:55:51 +00:00
|
|
|
|
2013-05-10 12:12:30 +00:00
|
|
|
if ENABLE_LIBARIA2
|
2013-04-26 14:55:51 +00:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = libaria2.pc
|
|
|
|
DISTCLEANFILES = $(pkgconfig_DATA)
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libaria2.la
|
2014-05-27 19:35:42 +00:00
|
|
|
SRCS += \
|
|
|
|
ApiCallbackDownloadEventListener.cc ApiCallbackDownloadEventListener.h\
|
2013-05-02 03:44:55 +00:00
|
|
|
aria2api.cc aria2api.h \
|
2014-05-27 19:35:42 +00:00
|
|
|
KeepRunningCommand.cc KeepRunningCommand.h
|
2013-05-04 15:37:11 +00:00
|
|
|
else # !ENABLE_LIBARIA2
|
|
|
|
noinst_LTLIBRARIES = libaria2.la
|
|
|
|
endif # !ENABLE_LIBARIA2
|
|
|
|
|
2014-05-27 19:35:42 +00:00
|
|
|
libaria2_la_SOURCES = $(SRCS)
|
|
|
|
|
2015-04-02 22:40:06 +00:00
|
|
|
libaria2_la_LIBADD = @WSLAY_LIBS@ @LTLIBINTL@
|
2013-04-26 14:55:51 +00:00
|
|
|
|
2016-01-22 13:27:39 +00:00
|
|
|
AM_CPPFLAGS = \
|
2010-12-02 13:38:36 +00:00
|
|
|
-I$(top_srcdir)/lib -I$(top_srcdir)/intl\
|
2013-04-26 14:55:51 +00:00
|
|
|
-I$(srcdir)/includes -I$(builddir)/includes\
|
2016-01-22 13:27:39 +00:00
|
|
|
-DLOCALEDIR=\"@localedir@\" @DEFS@ \
|
|
|
|
@EXTRACPPFLAGS@ \
|
|
|
|
@ZLIB_CFLAGS@ \
|
|
|
|
@LIBUV_CFLAGS@ \
|
|
|
|
@XML_CPPFLAGS@ \
|
|
|
|
@EXPAT_CFLAGS@ \
|
|
|
|
@SQLITE3_CFLAGS@ \
|
|
|
|
@LIBGNUTLS_CFLAGS@ \
|
|
|
|
@OPENSSL_CFLAGS@ \
|
|
|
|
@LIBNETTLE_CFLAGS@ \
|
|
|
|
@LIBGMP_CFLAGS@ \
|
|
|
|
@LIBGCRYPT_CFLAGS@ \
|
|
|
|
@LIBSSH2_CFLAGS@ \
|
|
|
|
@LIBCARES_CFLAGS@ \
|
|
|
|
@WSLAY_CFLAGS@ \
|
|
|
|
@TCMALLOC_CFLAGS@ \
|
|
|
|
@JEMALLOC_CFLAGS@
|
|
|
|
|
|
|
|
AM_LDFLAGS = \
|
|
|
|
@EXTRALDFLAGS@ \
|
|
|
|
@APPLETLS_LDFLAGS@
|
|
|
|
|
|
|
|
LDADD = libaria2.la @ALLOCA@ \
|
|
|
|
@EXTRALIBS@ \
|
|
|
|
@ZLIB_LIBS@ \
|
|
|
|
@LIBUV_LIBS@ \
|
|
|
|
@XML_LIBS@ \
|
|
|
|
@EXPAT_LIBS@ \
|
|
|
|
@SQLITE3_LIBS@ \
|
|
|
|
@WINTLS_LIBS@ \
|
|
|
|
@LIBGNUTLS_LIBS@ \
|
|
|
|
@OPENSSL_LIBS@ \
|
|
|
|
@LIBNETTLE_LIBS@ \
|
|
|
|
@LIBGMP_LIBS@ \
|
|
|
|
@LIBGCRYPT_LIBS@ \
|
|
|
|
@LIBSSH2_LIBS@ \
|
|
|
|
@LIBCARES_LIBS@ \
|
|
|
|
@WSLAY_LIBS@ \
|
|
|
|
@TCMALLOC_LIBS@ \
|
|
|
|
@JEMALLOC_LIBS@
|
|
|
|
|
|
|
|
AM_CFLAGS = @EXTRACFLAGS@
|
|
|
|
|
2016-01-30 10:14:38 +00:00
|
|
|
AM_CXXFLAGS = @WARNCXXFLAGS@ @CXX1XCXXFLAGS@ @EXTRACXXFLAGS@
|
2016-01-22 13:27:39 +00:00
|
|
|
|