premiere-libtorrent/src/Makefile.am

192 lines
6.2 KiB
Makefile
Raw Normal View History

AUTOMAKE_OPTIONS = subdir-objects
lib_LTLIBRARIES = libtorrent-rasterbar.la
if ENABLE_DHT
KADEMLIA_SOURCES = \
kademlia/dht_state.cpp \
kademlia/dht_storage.cpp \
kademlia/dht_tracker.cpp \
kademlia/find_data.cpp \
kademlia/put_data.cpp \
kademlia/msg.cpp \
kademlia/node.cpp \
kademlia/node_entry.cpp \
kademlia/node_id.cpp \
kademlia/refresh.cpp \
kademlia/routing_table.cpp \
kademlia/rpc_manager.cpp \
kademlia/traversal_algorithm.cpp \
2014-07-06 21:18:00 +02:00
kademlia/dos_blocker.cpp \
kademlia/get_peers.cpp \
kademlia/get_item.cpp \
kademlia/item.cpp \
kademlia/ed25519.cpp \
2017-06-12 11:54:11 +02:00
kademlia/sample_infohashes.cpp \
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 \
../ed25519/src/verify.cpp \
hasher512.cpp
endif
if ! WITH_OPENSSL
BUILTIN_CRYPTO_SOURCES = \
sha1.cpp \
sha512.cpp
endif
libtorrent_rasterbar_la_SOURCES = \
2014-07-06 21:18:00 +02:00
web_connection_base.cpp \
alert.cpp \
alert_manager.cpp \
allocator.cpp \
announce_entry.cpp \
assert.cpp \
bandwidth_limit.cpp \
bandwidth_manager.cpp \
bandwidth_queue_entry.cpp \
bdecode.cpp \
bitfield.cpp \
bloom_filter.cpp \
broadcast_socket.cpp \
2014-07-06 21:18:00 +02:00
block_cache.cpp \
bt_peer_connection.cpp \
chained_buffer.cpp \
choker.cpp \
close_reason.cpp \
ConvertUTF.cpp \
cpuid.cpp \
2014-07-06 21:18:00 +02:00
crc32c.cpp \
create_torrent.cpp \
disk_buffer_holder.cpp \
disk_buffer_pool.cpp \
2014-07-06 21:18:00 +02:00
disk_io_job.cpp \
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 \
entry.cpp \
enum_net.cpp \
error_code.cpp \
escape_string.cpp \
file.cpp \
path.cpp \
file_pool.cpp \
file_storage.cpp \
fingerprint.cpp \
gzip.cpp \
hasher.cpp \
2015-04-21 02:23:00 +02:00
hex.cpp \
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 \
ip_notifier.cpp \
ip_voter.cpp \
lazy_bdecode.cpp \
listen_socket_handle.cpp \
lsd.cpp \
magnet_uri.cpp \
merkle.cpp \
natpmp.cpp \
parse_url.cpp \
2014-07-06 21:18:00 +02:00
part_file.cpp \
pe_crypto.cpp \
2014-07-06 21:18:00 +02:00
performance_counters.cpp \
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 \
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 \
random.cpp \
receive_buffer.cpp \
2016-02-27 00:54:27 +01:00
read_resume_data.cpp \
write_resume_data.cpp \
2014-07-06 21:18:00 +02:00
request_blocks.cpp \
resolve_links.cpp \
2014-07-06 21:18:00 +02:00
resolver.cpp \
session.cpp \
session_call.cpp \
session_handle.cpp \
session_impl.cpp \
session_settings.cpp \
session_udp_sockets.cpp \
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 \
smart_ban.cpp \
socket_io.cpp \
2009-12-05 17:50:07 +01:00
socket_type.cpp \
socks5_stream.cpp \
stat.cpp \
2014-07-06 21:18:00 +02:00
stat_cache.cpp \
storage.cpp \
storage_piece_set.cpp \
storage_utils.cpp \
2014-07-06 21:18:00 +02:00
session_stats.cpp \
string_util.cpp \
torrent.cpp \
torrent_handle.cpp \
torrent_info.cpp \
2014-07-06 21:18:00 +02:00
torrent_peer.cpp \
torrent_peer_allocator.cpp \
torrent_status.cpp \
2009-11-25 07:55:34 +01:00
time.cpp \
2010-11-29 02:33:05 +01:00
timestamp_history.cpp \
tracker_manager.cpp \
udp_socket.cpp \
udp_tracker_connection.cpp \
upnp.cpp \
ut_metadata.cpp \
ut_pex.cpp \
utf8.cpp \
2010-11-29 02:33:05 +01:00
utp_socket_manager.cpp \
utp_stream.cpp \
web_peer_connection.cpp \
2014-05-03 23:10:44 +02:00
xml_parse.cpp \
version.cpp \
file_progress.cpp \
ffs.cpp \
add_torrent_params.cpp \
peer_info.cpp \
stack_allocator.cpp \
\
$(KADEMLIA_SOURCES) \
\
$(BUILTIN_CRYPTO_SOURCES)
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@
libtorrent_rasterbar_la_LDFLAGS = -version-info $(INTERFACE_VERSION_INFO)
libtorrent_rasterbar_la_LIBADD = @OPENSSL_LIBS@
libtorrent_rasterbar_la_CPPFLAGS = $(AM_CPPFLAGS)
if HAVE_ANDROID
libtorrent_rasterbar_la_LIBADD += -ldl
endif
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