2009-12-18 05:02:48 +00:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I. \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/third-party/ \
|
|
|
|
-D__TRANSMISSION__ \
|
|
|
|
-DPACKAGE_DATA_DIR=\""$(datadir)"\"
|
2008-08-14 10:35:11 +00:00
|
|
|
|
2008-11-09 15:43:31 +00:00
|
|
|
AM_CFLAGS = \
|
2009-12-18 05:02:48 +00:00
|
|
|
@DHT_CFLAGS@ \
|
2011-02-18 00:32:19 +00:00
|
|
|
@LIBUTP_CFLAGS@ \
|
2009-12-18 05:02:48 +00:00
|
|
|
@LIBEVENT_CFLAGS@ \
|
|
|
|
@LIBCURL_CFLAGS@ \
|
|
|
|
@OPENSSL_CFLAGS@ \
|
|
|
|
@PTHREAD_CFLAGS@ \
|
|
|
|
@ZLIB_CFLAGS@
|
2007-07-18 23:04:26 +00:00
|
|
|
|
|
|
|
noinst_LIBRARIES = libtransmission.a
|
|
|
|
|
|
|
|
libtransmission_a_SOURCES = \
|
2009-09-25 21:05:59 +00:00
|
|
|
announcer.c \
|
2008-11-24 04:21:23 +00:00
|
|
|
bandwidth.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
bencode.c \
|
2009-06-15 00:11:06 +00:00
|
|
|
bitfield.c \
|
2011-02-21 01:40:19 +00:00
|
|
|
bitset.c \
|
2008-03-29 18:37:07 +00:00
|
|
|
blocklist.c \
|
2010-06-19 14:25:11 +00:00
|
|
|
cache.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
clients.c \
|
|
|
|
completion.c \
|
2008-05-20 17:33:54 +00:00
|
|
|
ConvertUTF.c \
|
2007-09-20 16:32:01 +00:00
|
|
|
crypto.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
fdlimit.c \
|
2007-09-20 16:32:01 +00:00
|
|
|
handshake.c \
|
2010-03-08 04:29:58 +00:00
|
|
|
history.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
inout.c \
|
2008-05-11 22:42:53 +00:00
|
|
|
json.c \
|
2008-05-21 14:19:49 +00:00
|
|
|
JSON_parser.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
list.c \
|
2009-11-20 04:38:19 +00:00
|
|
|
magnet.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
makemeta.c \
|
|
|
|
metainfo.c \
|
|
|
|
natpmp.c \
|
|
|
|
net.c \
|
2007-09-20 16:32:01 +00:00
|
|
|
peer-io.c \
|
|
|
|
peer-mgr.c \
|
|
|
|
peer-msgs.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
platform.c \
|
2008-04-11 17:01:13 +00:00
|
|
|
port-forwarding.c \
|
2007-08-14 20:45:23 +00:00
|
|
|
ptrarray.c \
|
2008-04-13 14:29:11 +00:00
|
|
|
resume.c \
|
2008-09-05 14:31:58 +00:00
|
|
|
rpcimpl.c \
|
2008-05-18 16:44:30 +00:00
|
|
|
rpc-server.c \
|
2008-04-11 17:01:13 +00:00
|
|
|
session.c \
|
2007-11-21 20:03:53 +00:00
|
|
|
stats.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
torrent.c \
|
2007-12-21 16:51:42 +00:00
|
|
|
torrent-ctor.c \
|
2009-11-24 02:16:31 +00:00
|
|
|
torrent-magnet.c \
|
2009-05-19 18:38:26 +00:00
|
|
|
tr-dht.c \
|
2010-05-08 08:42:45 +00:00
|
|
|
tr-lpd.c \
|
2011-01-09 21:48:06 +00:00
|
|
|
tr-udp.c \
|
2011-02-18 00:23:47 +00:00
|
|
|
tr-utp.c \
|
2009-10-10 00:17:00 +00:00
|
|
|
tr-getopt.c \
|
2007-08-18 03:02:32 +00:00
|
|
|
trevent.c \
|
2007-07-18 23:04:26 +00:00
|
|
|
upnp.c \
|
2008-02-15 16:00:46 +00:00
|
|
|
utils.c \
|
2008-04-24 01:42:53 +00:00
|
|
|
verify.c \
|
2008-06-07 21:26:41 +00:00
|
|
|
web.c \
|
2008-09-25 18:48:09 +00:00
|
|
|
webseed.c \
|
|
|
|
wildmat.c
|
2007-07-18 23:04:26 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
2009-09-25 21:05:59 +00:00
|
|
|
announcer.h \
|
2008-11-27 10:23:54 +00:00
|
|
|
bandwidth.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
bencode.h \
|
2009-06-15 00:11:06 +00:00
|
|
|
bitfield.h \
|
2009-11-24 18:22:57 +00:00
|
|
|
bitset.h \
|
2008-03-29 18:37:07 +00:00
|
|
|
blocklist.h \
|
2010-06-19 14:25:11 +00:00
|
|
|
cache.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
clients.h \
|
2008-05-20 17:33:54 +00:00
|
|
|
ConvertUTF.h \
|
2007-09-20 16:32:01 +00:00
|
|
|
crypto.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
completion.h \
|
|
|
|
fdlimit.h \
|
2007-09-20 16:32:01 +00:00
|
|
|
handshake.h \
|
2010-03-08 04:29:58 +00:00
|
|
|
history.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
inout.h \
|
2008-05-13 12:52:58 +00:00
|
|
|
json.h \
|
2008-05-21 14:19:49 +00:00
|
|
|
JSON_parser.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
list.h \
|
2009-11-20 04:38:19 +00:00
|
|
|
magnet.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
makemeta.h \
|
|
|
|
metainfo.h \
|
|
|
|
natpmp.h \
|
|
|
|
net.h \
|
2008-06-07 21:26:41 +00:00
|
|
|
peer-common.h \
|
2007-09-20 16:32:01 +00:00
|
|
|
peer-io.h \
|
|
|
|
peer-mgr.h \
|
|
|
|
peer-msgs.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
platform.h \
|
2008-04-11 17:01:13 +00:00
|
|
|
port-forwarding.h \
|
2007-08-14 20:45:23 +00:00
|
|
|
ptrarray.h \
|
2008-04-13 14:29:11 +00:00
|
|
|
resume.h \
|
2008-09-05 14:31:58 +00:00
|
|
|
rpcimpl.h \
|
2008-05-18 16:44:30 +00:00
|
|
|
rpc-server.h \
|
2008-04-11 17:01:13 +00:00
|
|
|
session.h \
|
2007-12-30 19:01:00 +00:00
|
|
|
stats.h \
|
2007-12-30 18:58:17 +00:00
|
|
|
torrent.h \
|
2009-11-24 02:16:31 +00:00
|
|
|
torrent-magnet.h \
|
2008-07-08 14:29:05 +00:00
|
|
|
tr-getopt.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
transmission.h \
|
2009-05-19 18:38:26 +00:00
|
|
|
tr-dht.h \
|
2011-01-09 21:48:06 +00:00
|
|
|
tr-udp.h \
|
2011-02-18 00:23:47 +00:00
|
|
|
tr-utp.h \
|
2010-05-08 08:42:45 +00:00
|
|
|
tr-lpd.h \
|
2007-08-18 03:02:32 +00:00
|
|
|
trevent.h \
|
2007-07-18 23:04:26 +00:00
|
|
|
upnp.h \
|
2008-02-15 16:00:46 +00:00
|
|
|
utils.h \
|
2008-04-24 01:42:53 +00:00
|
|
|
verify.h \
|
2009-05-28 02:15:53 +00:00
|
|
|
version.h \
|
2008-06-07 21:26:41 +00:00
|
|
|
web.h \
|
|
|
|
webseed.h
|
2007-10-24 17:20:50 +00:00
|
|
|
|
2008-03-05 00:50:53 +00:00
|
|
|
TESTS = \
|
2008-03-29 21:05:51 +00:00
|
|
|
blocklist-test \
|
2008-01-30 15:39:41 +00:00
|
|
|
bencode-test \
|
2008-04-29 16:57:16 +00:00
|
|
|
clients-test \
|
2010-03-08 04:29:58 +00:00
|
|
|
history-test \
|
2008-05-11 22:42:53 +00:00
|
|
|
json-test \
|
2009-11-20 04:38:19 +00:00
|
|
|
magnet-test \
|
2008-12-02 17:10:54 +00:00
|
|
|
peer-msgs-test \
|
2008-06-04 17:14:58 +00:00
|
|
|
rpc-test \
|
2008-05-20 17:33:54 +00:00
|
|
|
test-peer-id \
|
|
|
|
utils-test
|
2008-01-06 21:56:30 +00:00
|
|
|
|
2008-03-05 00:50:53 +00:00
|
|
|
noinst_PROGRAMS = $(TESTS)
|
2008-01-06 21:56:30 +00:00
|
|
|
|
2008-11-12 04:25:38 +00:00
|
|
|
apps_ldflags = \
|
2009-12-18 05:02:48 +00:00
|
|
|
@ZLIB_LDFLAGS@
|
2008-11-09 15:43:31 +00:00
|
|
|
|
2008-11-12 04:25:38 +00:00
|
|
|
apps_ldadd = \
|
2008-01-06 21:56:30 +00:00
|
|
|
./libtransmission.a \
|
|
|
|
$(top_builddir)/third-party/miniupnp/libminiupnp.a \
|
|
|
|
$(top_builddir)/third-party/libnatpmp/libnatpmp.a \
|
2009-12-18 05:02:48 +00:00
|
|
|
@INTLLIBS@ \
|
|
|
|
@DHT_LIBS@ \
|
2011-02-18 00:32:19 +00:00
|
|
|
@LIBUTP_LIBS@ \
|
2009-12-18 05:02:48 +00:00
|
|
|
@LIBCURL_LIBS@ \
|
|
|
|
@LIBEVENT_LIBS@ \
|
|
|
|
@OPENSSL_LIBS@ \
|
|
|
|
@PTHREAD_LIBS@ \
|
|
|
|
@ZLIB_LIBS@
|
2008-01-06 21:56:30 +00:00
|
|
|
|
2008-01-30 15:39:41 +00:00
|
|
|
bencode_test_SOURCES = bencode-test.c
|
2008-11-12 04:25:38 +00:00
|
|
|
bencode_test_LDADD = ${apps_ldadd}
|
|
|
|
bencode_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2008-03-29 21:05:51 +00:00
|
|
|
blocklist_test_SOURCES = blocklist-test.c
|
2008-11-12 04:25:38 +00:00
|
|
|
blocklist_test_LDADD = ${apps_ldadd}
|
|
|
|
blocklist_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2008-04-29 16:57:16 +00:00
|
|
|
clients_test_SOURCES = clients-test.c
|
2008-11-12 04:25:38 +00:00
|
|
|
clients_test_LDADD = ${apps_ldadd}
|
|
|
|
clients_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2010-03-08 04:29:58 +00:00
|
|
|
history_test_SOURCES = history-test.c
|
|
|
|
history_test_LDADD = ${apps_ldadd}
|
|
|
|
history_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2008-05-11 22:42:53 +00:00
|
|
|
json_test_SOURCES = json-test.c
|
2008-11-12 04:25:38 +00:00
|
|
|
json_test_LDADD = ${apps_ldadd}
|
|
|
|
json_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2009-11-20 04:38:19 +00:00
|
|
|
magnet_test_SOURCES = magnet-test.c
|
|
|
|
magnet_test_LDADD = ${apps_ldadd}
|
|
|
|
magnet_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2008-06-04 17:14:58 +00:00
|
|
|
rpc_test_SOURCES = rpc-test.c
|
2008-11-12 04:25:38 +00:00
|
|
|
rpc_test_LDADD = ${apps_ldadd}
|
|
|
|
rpc_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2008-01-07 17:52:50 +00:00
|
|
|
test_peer_id_SOURCES = test-peer-id.c
|
2008-11-12 04:25:38 +00:00
|
|
|
test_peer_id_LDADD = ${apps_ldadd}
|
|
|
|
test_peer_id_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2008-12-02 17:10:54 +00:00
|
|
|
peer_msgs_test_SOURCES = peer-msgs-test.c
|
|
|
|
peer_msgs_test_LDADD = ${apps_ldadd}
|
|
|
|
peer_msgs_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2008-05-20 17:33:54 +00:00
|
|
|
utils_test_SOURCES = utils-test.c
|
2008-11-12 04:25:38 +00:00
|
|
|
utils_test_LDADD = ${apps_ldadd}
|
|
|
|
utils_test_LDFLAGS = ${apps_ldflags}
|