2004-02-04 12:00:29 +01:00
|
|
|
project torrent
|
|
|
|
: usage-requirements
|
|
|
|
<include>./include
|
|
|
|
<include>$(BOOST_ROOT)
|
|
|
|
|
|
|
|
# devstudio fixes
|
|
|
|
|
|
|
|
<cxxflags>/Zc:wchar_t
|
|
|
|
<cxxflags>/D"WIN32"
|
|
|
|
;
|
|
|
|
|
|
|
|
|
2003-10-23 01:00:57 +02:00
|
|
|
SOURCES =
|
|
|
|
entry.cpp
|
2003-12-22 08:14:35 +01:00
|
|
|
identify_client.cpp
|
2003-10-23 01:00:57 +02:00
|
|
|
peer_connection.cpp
|
|
|
|
piece_picker.cpp
|
|
|
|
policy.cpp
|
|
|
|
session.cpp
|
|
|
|
socket_win.cpp
|
|
|
|
stat.cpp
|
|
|
|
storage.cpp
|
|
|
|
torrent.cpp
|
2003-10-30 00:28:09 +01:00
|
|
|
torrent_handle.cpp
|
2003-10-23 01:00:57 +02:00
|
|
|
torrent_info.cpp
|
2004-02-01 11:32:40 +01:00
|
|
|
tracker_manager.cpp
|
|
|
|
http_tracker_connection.cpp
|
|
|
|
udp_tracker_connection.cpp
|
|
|
|
file_win.cpp
|
2003-10-23 01:00:57 +02:00
|
|
|
sha1.c
|
|
|
|
;
|
|
|
|
|
2003-12-21 18:28:27 +01:00
|
|
|
|
2003-10-23 01:00:57 +02:00
|
|
|
lib torrent
|
2004-02-04 12:00:29 +01:00
|
|
|
:
|
|
|
|
# $(BOOST_ROOT)/libs/filesystem//boost_filesystem
|
|
|
|
# $(BOOST_ROOT)/libs/thread//boost_thread
|
|
|
|
# $(BOOST_ROOT)/libs/date_time//boost_date_time
|
|
|
|
zlib//zlib
|
|
|
|
src/$(SOURCES)
|
|
|
|
: <include>./include
|
2003-10-23 01:00:57 +02:00
|
|
|
<threading>multi
|
|
|
|
<link>static
|
|
|
|
: debug release
|
|
|
|
;
|
|
|
|
|
|
|
|
|
2003-10-23 18:55:52 +02:00
|
|
|
exe client_test
|
|
|
|
: examples/client_test.cpp
|
2004-02-04 12:00:29 +01:00
|
|
|
torrent
|
|
|
|
: <sysinclude>$(BOOST_ROOT)
|
2003-10-23 18:55:52 +02:00
|
|
|
<threading>multi
|
|
|
|
: debug release
|
|
|
|
;
|
2003-10-23 01:00:57 +02:00
|
|
|
|