2014-05-11 05:14:53 +02:00
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
|
|
|
2008-06-23 02:09:12 +02:00
|
|
|
lib_LTLIBRARIES = libtorrent-rasterbar.la
|
2005-08-17 02:24:41 +02:00
|
|
|
|
2009-09-10 04:22:13 +02:00
|
|
|
if ENABLE_DHT
|
|
|
|
KADEMLIA_SOURCES = \
|
2016-09-17 15:42:04 +02:00
|
|
|
kademlia/dht_state.cpp \
|
2015-09-08 22:12:54 +02:00
|
|
|
kademlia/dht_storage.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
kademlia/dht_tracker.cpp \
|
|
|
|
kademlia/find_data.cpp \
|
2015-12-06 02:27:01 +01:00
|
|
|
kademlia/put_data.cpp \
|
|
|
|
kademlia/msg.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
kademlia/node.cpp \
|
2015-03-16 05:38:28 +01:00
|
|
|
kademlia/node_entry.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
kademlia/node_id.cpp \
|
|
|
|
kademlia/refresh.cpp \
|
|
|
|
kademlia/routing_table.cpp \
|
|
|
|
kademlia/rpc_manager.cpp \
|
2013-08-18 18:01:20 +02:00
|
|
|
kademlia/traversal_algorithm.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
kademlia/dos_blocker.cpp \
|
2013-12-27 05:28:25 +01:00
|
|
|
kademlia/get_peers.cpp \
|
|
|
|
kademlia/get_item.cpp \
|
|
|
|
kademlia/item.cpp \
|
2016-08-30 02:28:42 +02:00
|
|
|
kademlia/ed25519.cpp \
|
2017-06-12 11:54:11 +02:00
|
|
|
kademlia/sample_infohashes.cpp \
|
2017-09-02 23:58:10 +02:00
|
|
|
kademlia/dht_settings.cpp \
|
2014-07-12 08:20:16 +02:00
|
|
|
../ed25519/src/add_scalar.cpp \
|
|
|
|
../ed25519/src/fe.cpp \
|
|
|
|
../ed25519/src/ge.cpp \
|
|
|
|
../ed25519/src/key_exchange.cpp \
|
|
|
|
../ed25519/src/keypair.cpp \
|
|
|
|
../ed25519/src/sc.cpp \
|
|
|
|
../ed25519/src/sign.cpp \
|
2016-08-26 01:07:16 +02:00
|
|
|
../ed25519/src/verify.cpp \
|
|
|
|
hasher512.cpp
|
|
|
|
endif
|
|
|
|
|
2009-09-10 04:22:13 +02:00
|
|
|
libtorrent_rasterbar_la_SOURCES = \
|
2014-07-06 21:18:00 +02:00
|
|
|
web_connection_base.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
alert.cpp \
|
2013-04-09 04:38:11 +02:00
|
|
|
alert_manager.cpp \
|
2015-09-18 06:23:45 +02:00
|
|
|
announce_entry.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
assert.cpp \
|
2009-09-18 21:23:04 +02:00
|
|
|
bandwidth_limit.cpp \
|
|
|
|
bandwidth_manager.cpp \
|
|
|
|
bandwidth_queue_entry.cpp \
|
2015-03-12 06:20:12 +01:00
|
|
|
bdecode.cpp \
|
2016-04-20 13:50:57 +02:00
|
|
|
bitfield.cpp \
|
2010-12-24 02:31:41 +01:00
|
|
|
bloom_filter.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
broadcast_socket.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
block_cache.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
bt_peer_connection.cpp \
|
2011-08-14 01:01:38 +02:00
|
|
|
chained_buffer.cpp \
|
2014-10-23 00:06:56 +02:00
|
|
|
choker.cpp \
|
2015-02-28 20:51:15 +01:00
|
|
|
close_reason.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
ConvertUTF.cpp \
|
2015-04-26 20:46:45 +02:00
|
|
|
cpuid.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
crc32c.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
create_torrent.cpp \
|
|
|
|
disk_buffer_holder.cpp \
|
2011-07-31 04:24:36 +02:00
|
|
|
disk_buffer_pool.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
disk_io_job.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
disk_io_thread.cpp \
|
2016-06-16 02:49:28 +02:00
|
|
|
disk_io_thread_pool.cpp \
|
2017-01-22 00:36:51 +01:00
|
|
|
disk_job_fence.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
disk_job_pool.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
entry.cpp \
|
|
|
|
enum_net.cpp \
|
|
|
|
error_code.cpp \
|
|
|
|
escape_string.cpp \
|
|
|
|
file.cpp \
|
2017-04-11 06:52:46 +02:00
|
|
|
path.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
file_pool.cpp \
|
|
|
|
file_storage.cpp \
|
2016-10-25 14:03:26 +02:00
|
|
|
fingerprint.cpp \
|
2018-07-23 09:56:09 +02:00
|
|
|
generate_peer_id.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
gzip.cpp \
|
2013-05-08 09:57:16 +02:00
|
|
|
hasher.cpp \
|
2015-04-21 02:23:00 +02:00
|
|
|
hex.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
http_connection.cpp \
|
|
|
|
http_parser.cpp \
|
|
|
|
http_seed_connection.cpp \
|
|
|
|
http_stream.cpp \
|
|
|
|
http_tracker_connection.cpp \
|
|
|
|
i2p_stream.cpp \
|
|
|
|
identify_client.cpp \
|
|
|
|
instantiate_connection.cpp \
|
|
|
|
ip_filter.cpp \
|
2016-11-07 13:40:09 +01:00
|
|
|
ip_notifier.cpp \
|
2013-01-02 00:12:16 +01:00
|
|
|
ip_voter.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
lazy_bdecode.cpp \
|
2017-07-21 05:19:28 +02:00
|
|
|
listen_socket_handle.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
lsd.cpp \
|
|
|
|
magnet_uri.cpp \
|
2015-04-24 08:06:41 +02:00
|
|
|
merkle.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
natpmp.cpp \
|
|
|
|
parse_url.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
part_file.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
pe_crypto.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
performance_counters.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
peer_connection.cpp \
|
2015-07-02 06:13:26 +02:00
|
|
|
peer_connection_handle.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
peer_class.cpp \
|
|
|
|
peer_class_set.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
piece_picker.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
platform_util.cpp \
|
2010-11-29 02:33:05 +01:00
|
|
|
packet_buffer.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
proxy_base.cpp \
|
2014-10-26 08:34:31 +01:00
|
|
|
peer_list.cpp \
|
2010-03-16 07:14:22 +01:00
|
|
|
puff.cpp \
|
2011-02-26 08:55:51 +01:00
|
|
|
random.cpp \
|
2014-11-23 07:14:47 +01:00
|
|
|
receive_buffer.cpp \
|
2016-02-27 00:54:27 +01:00
|
|
|
read_resume_data.cpp \
|
2017-03-05 15:31:28 +01:00
|
|
|
write_resume_data.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
request_blocks.cpp \
|
2015-03-21 01:12:40 +01:00
|
|
|
resolve_links.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
resolver.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
session.cpp \
|
2014-08-26 06:51:09 +02:00
|
|
|
session_call.cpp \
|
2015-06-28 23:12:27 +02:00
|
|
|
session_handle.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
session_impl.cpp \
|
2015-01-06 09:08:49 +01:00
|
|
|
session_settings.cpp \
|
2015-08-25 04:18:10 +02:00
|
|
|
proxy_settings.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
settings_pack.cpp \
|
2016-05-05 06:28:31 +02:00
|
|
|
sha1_hash.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
smart_ban.cpp \
|
2009-09-16 05:46:36 +02:00
|
|
|
socket_io.cpp \
|
2009-12-05 17:50:07 +01:00
|
|
|
socket_type.cpp \
|
2009-11-02 03:10:38 +01:00
|
|
|
socks5_stream.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
stat.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
stat_cache.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
storage.cpp \
|
2017-01-22 08:38:52 +01:00
|
|
|
storage_piece_set.cpp \
|
2017-01-11 06:42:10 +01:00
|
|
|
storage_utils.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
session_stats.cpp \
|
2012-08-26 17:26:17 +02:00
|
|
|
string_util.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
torrent.cpp \
|
|
|
|
torrent_handle.cpp \
|
|
|
|
torrent_info.cpp \
|
2014-07-06 21:18:00 +02:00
|
|
|
torrent_peer.cpp \
|
|
|
|
torrent_peer_allocator.cpp \
|
2016-04-08 03:44:24 +02:00
|
|
|
torrent_status.cpp \
|
2009-11-25 07:55:34 +01:00
|
|
|
time.cpp \
|
2010-11-29 02:33:05 +01:00
|
|
|
timestamp_history.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
tracker_manager.cpp \
|
|
|
|
udp_socket.cpp \
|
|
|
|
udp_tracker_connection.cpp \
|
|
|
|
upnp.cpp \
|
|
|
|
ut_metadata.cpp \
|
|
|
|
ut_pex.cpp \
|
2012-03-20 04:53:07 +01:00
|
|
|
utf8.cpp \
|
2010-11-29 02:33:05 +01:00
|
|
|
utp_socket_manager.cpp \
|
|
|
|
utp_stream.cpp \
|
2009-09-10 04:22:13 +02:00
|
|
|
web_peer_connection.cpp \
|
2014-05-03 23:10:44 +02:00
|
|
|
xml_parse.cpp \
|
2015-11-11 06:57:51 +01:00
|
|
|
version.cpp \
|
2015-06-29 04:47:11 +02:00
|
|
|
file_progress.cpp \
|
2016-08-05 21:51:37 +02:00
|
|
|
ffs.cpp \
|
2017-06-07 16:41:28 +02:00
|
|
|
add_torrent_params.cpp \
|
2017-07-16 20:26:00 +02:00
|
|
|
peer_info.cpp \
|
2017-07-23 17:13:07 +02:00
|
|
|
stack_allocator.cpp \
|
2019-02-12 11:26:05 +01:00
|
|
|
sha1.cpp \
|
|
|
|
sha512.cpp \
|
2009-09-18 21:23:04 +02:00
|
|
|
\
|
2019-02-12 11:26:05 +01:00
|
|
|
$(KADEMLIA_SOURCES)
|
2009-09-10 04:22:13 +02:00
|
|
|
|
2018-03-10 13:49:32 +01:00
|
|
|
AM_CFLAGS = -I$(top_srcdir)/ed25519/src -std=c99
|
|
|
|
AM_CPPFLAGS = -DTORRENT_BUILDING_LIBRARY -I$(top_srcdir)/include -I$(top_srcdir)/ed25519/src @DEBUGFLAGS@ @OPENSSL_INCLUDES@
|
|
|
|
AM_LDFLAGS = @OPENSSL_LDFLAGS@
|
|
|
|
|
2009-09-10 04:22:13 +02:00
|
|
|
libtorrent_rasterbar_la_LDFLAGS = -version-info $(INTERFACE_VERSION_INFO)
|
2016-05-01 14:35:28 +02:00
|
|
|
libtorrent_rasterbar_la_LIBADD = @OPENSSL_LIBS@
|
2018-03-10 13:49:32 +01:00
|
|
|
libtorrent_rasterbar_la_CPPFLAGS = $(AM_CPPFLAGS)
|
2005-08-17 02:24:41 +02:00
|
|
|
|
2018-03-08 17:43:34 +01:00
|
|
|
if HAVE_ANDROID
|
|
|
|
libtorrent_rasterbar_la_LIBADD += -ldl
|
|
|
|
endif
|
|
|
|
|
2018-03-10 13:49:32 +01:00
|
|
|
if HAVE_WINDOWS
|
|
|
|
libtorrent_rasterbar_la_LIBADD += -liphlpapi -lws2_32 -lwsock32
|
|
|
|
libtorrent_rasterbar_la_CPPFLAGS += -DWIN32_LEAN_AND_MEAN -D__USE_W32_SOCKETS -DWIN32 -D_WIN32
|
|
|
|
endif
|
2006-11-26 18:44:51 +01:00
|
|
|
|
2009-09-10 04:22:13 +02:00
|
|
|
|