2005-08-17 02:24:41 +02:00
|
|
|
lib_LTLIBRARIES = libtorrent.la
|
|
|
|
|
2007-04-13 18:11:11 +02:00
|
|
|
if USE_DHT
|
|
|
|
kademlia_sources = kademlia/closest_nodes.cpp \
|
2006-08-01 17:27:08 +02:00
|
|
|
kademlia/dht_tracker.cpp \
|
|
|
|
kademlia/find_data.cpp \
|
|
|
|
kademlia/node.cpp \
|
|
|
|
kademlia/node_id.cpp \
|
|
|
|
kademlia/refresh.cpp \
|
|
|
|
kademlia/routing_table.cpp \
|
|
|
|
kademlia/rpc_manager.cpp \
|
|
|
|
kademlia/traversal_algorithm.cpp
|
2007-04-13 18:11:11 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
libtorrent_la_SOURCES = allocate_resources.cpp \
|
2007-07-06 11:02:27 +02:00
|
|
|
entry.cpp escape_string.cpp \
|
2007-04-13 18:11:11 +02:00
|
|
|
peer_connection.cpp bt_peer_connection.cpp web_peer_connection.cpp \
|
|
|
|
natpmp.cpp piece_picker.cpp policy.cpp session.cpp session_impl.cpp sha1.cpp \
|
2007-06-06 02:41:20 +02:00
|
|
|
stat.cpp storage.cpp torrent.cpp torrent_handle.cpp pe_crypto.cpp \
|
2007-04-13 18:11:11 +02:00
|
|
|
torrent_info.cpp tracker_manager.cpp http_connection.cpp \
|
|
|
|
http_tracker_connection.cpp udp_tracker_connection.cpp \
|
|
|
|
alert.cpp identify_client.cpp ip_filter.cpp file.cpp metadata_transfer.cpp \
|
2007-04-25 20:26:35 +02:00
|
|
|
logger.cpp file_pool.cpp ut_pex.cpp lsd.cpp upnp.cpp instantiate_connection.cpp \
|
2007-05-31 01:35:14 +02:00
|
|
|
socks5_stream.cpp socks4_stream.cpp http_stream.cpp connection_queue.cpp \
|
2007-06-13 03:48:24 +02:00
|
|
|
disk_io_thread.cpp \
|
2007-05-31 01:35:14 +02:00
|
|
|
$(kademlia_sources)
|
2005-08-17 02:24:41 +02:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
$(top_srcdir)/include/libtorrent/alert.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/alert_types.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/allocate_resources.hpp \
|
2006-10-11 22:57:54 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/aux_/allocate_resources_impl.hpp \
|
2006-11-14 14:36:10 +01:00
|
|
|
$(top_srcdir)/include/libtorrent/aux_/session_impl.hpp \
|
2007-01-10 16:02:25 +01:00
|
|
|
$(top_srcdir)/include/libtorrent/bandwidth_manager.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/bencode.hpp \
|
2005-09-28 23:46:35 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/buffer.hpp \
|
2007-05-05 02:29:33 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/connection_queue.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/debug.hpp \
|
2007-06-13 03:48:24 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/disk_io_thread.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/entry.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/escape_string.hpp \
|
2006-11-14 14:36:10 +01:00
|
|
|
$(top_srcdir)/include/libtorrent/extensions.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/extensions/metadata_transfer.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/extensions/logger.hpp \
|
2006-11-26 18:44:51 +01:00
|
|
|
$(top_srcdir)/include/libtorrent/extensions/ut_pex.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/file.hpp \
|
2006-11-14 14:36:10 +01:00
|
|
|
$(top_srcdir)/include/libtorrent/file_pool.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/fingerprint.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/hasher.hpp \
|
2007-03-27 09:04:31 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/http_connection.hpp \
|
2007-04-25 20:26:35 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/http_stream.hpp \
|
2006-05-21 02:09:00 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/session_settings.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/http_tracker_connection.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/identify_client.hpp \
|
2007-04-25 20:26:35 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/instantiate_connection.hpp \
|
2007-06-13 03:48:24 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/intrusive_ptr_base.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/invariant_check.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/io.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/ip_filter.hpp \
|
2007-04-04 04:06:07 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/lsd.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/peer.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/peer_connection.hpp \
|
2006-04-25 23:04:48 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/bt_peer_connection.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/web_peer_connection.hpp \
|
2007-06-06 02:41:20 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/pe_crypto.hpp \
|
2007-03-15 23:03:56 +01:00
|
|
|
$(top_srcdir)/include/libtorrent/natpmp.hpp \
|
2007-03-17 18:15:16 +01:00
|
|
|
$(top_srcdir)/include/libtorrent/pch.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/peer_id.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/peer_info.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/peer_request.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/piece_block_progress.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/piece_picker.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/policy.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/resource_request.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/session.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/size_type.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/socket.hpp \
|
2007-04-25 20:26:35 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/socket_type.hpp \
|
2007-05-31 01:35:14 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/socks4_stream.hpp \
|
2007-04-25 20:26:35 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/socks5_stream.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/stat.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/storage.hpp \
|
2007-04-13 18:11:11 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/time.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/torrent.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/torrent_handle.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/torrent_info.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/tracker_manager.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/udp_tracker_connection.hpp \
|
|
|
|
$(top_srcdir)/include/libtorrent/utf8.hpp \
|
2007-03-27 09:04:31 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/xml_parse.hpp \
|
2007-04-25 20:26:35 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/variant_stream.hpp \
|
2005-08-17 02:24:41 +02:00
|
|
|
$(top_srcdir)/include/libtorrent/version.hpp
|
|
|
|
|
|
|
|
|
2007-05-21 10:16:13 +02:00
|
|
|
libtorrent_la_LDFLAGS = $(LDFLAGS) -release @VERSION@
|
2007-04-13 18:11:11 +02:00
|
|
|
libtorrent_la_LIBADD = @ZLIB@ -l@BOOST_DATE_TIME_LIB@ -l@BOOST_FILESYSTEM_LIB@ -l@BOOST_THREAD_LIB@ @PTHREAD_LIBS@
|
2005-08-17 02:24:41 +02:00
|
|
|
|
2007-08-01 09:26:10 +02:00
|
|
|
AM_CXXFLAGS= -ftemplate-depth-50 -I$(top_srcdir)/include -I$(top_srcdir)/include/libtorrent @ZLIBINCL@ @DEBUGFLAGS@ @PTHREAD_CFLAGS@ -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION
|
2007-04-13 18:11:11 +02:00
|
|
|
AM_LDFLAGS= $(LDFLAGS) -l@BOOST_DATE_TIME_LIB@ -l@BOOST_FILESYSTEM_LIB@ -l@BOOST_THREAD_LIB@ @PTHREAD_LIBS@
|
2006-11-26 18:44:51 +01:00
|
|
|
|