1example_programs =  \
2  client_test       \
3  stats_counters    \
4  dump_torrent      \
5  make_torrent      \
6  simple_client     \
7  custom_storage    \
8  upnp_test         \
9  bt_get            \
10  bt_get2           \
11  connection_tester
12
13if ENABLE_EXAMPLES
14bin_PROGRAMS = $(example_programs)
15endif
16
17EXTRA_PROGRAMS = $(example_programs)
18EXTRA_DIST = Jamfile CMakeLists.txt session_view.hpp torrent_view.hpp print.hpp cmake/FindLibtorrentRasterbar.cmake
19
20client_test_SOURCES = client_test.cpp print.cpp session_view.cpp torrent_view.cpp
21stats_counters_SOURCES = stats_counters.cpp
22bt_get_SOURCES = bt-get.cpp
23bt_get2_SOURCES = bt-get2.cpp
24dump_torrent_SOURCES = dump_torrent.cpp
25make_torrent_SOURCES = make_torrent.cpp
26simple_client_SOURCES = simple_client.cpp
27custom_storage_SOURCES = custom_storage.cpp
28connection_tester_SOURCES = connection_tester.cpp
29upnp_test_SOURCES = upnp_test.cpp
30
31LDADD = $(top_builddir)/src/libtorrent-rasterbar.la
32
33AM_CPPFLAGS = -ftemplate-depth-50 @DEBUGFLAGS@
34AM_LDFLAGS = @BOOST_SYSTEM_LIB@ @OPENSSL_LDFLAGS@ @OPENSSL_LIBS@
35DEFAULT_INCLUDES = -I$(top_srcdir)/include @OPENSSL_INCLUDES@
36