2009-12-18 05:02:48 +00:00
|
|
|
AM_CPPFLAGS = \
|
2013-01-19 08:43:26 +00:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-D__TRANSMISSION__ \
|
|
|
|
-DPACKAGE_DATA_DIR=\""$(datadir)"\"
|
2008-08-14 10:35:11 +00:00
|
|
|
|
2008-11-09 15:43:31 +00:00
|
|
|
AM_CFLAGS = \
|
2013-01-19 08:43:26 +00:00
|
|
|
@DHT_CFLAGS@ \
|
|
|
|
@LIBUTP_CFLAGS@ \
|
|
|
|
@LIBUPNP_CFLAGS@ \
|
|
|
|
@LIBNATPMP_CFLAGS@ \
|
|
|
|
@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 = \
|
2013-01-19 08:43:26 +00:00
|
|
|
announcer.c \
|
|
|
|
announcer-http.c \
|
|
|
|
announcer-udp.c \
|
|
|
|
bandwidth.c \
|
|
|
|
bitfield.c \
|
|
|
|
blocklist.c \
|
|
|
|
cache.c \
|
|
|
|
clients.c \
|
|
|
|
completion.c \
|
|
|
|
ConvertUTF.c \
|
|
|
|
crypto.c \
|
|
|
|
fdlimit.c \
|
|
|
|
handshake.c \
|
|
|
|
history.c \
|
|
|
|
inout.c \
|
|
|
|
list.c \
|
2013-01-25 23:34:20 +00:00
|
|
|
log.c \
|
2013-01-19 08:43:26 +00:00
|
|
|
magnet.c \
|
|
|
|
makemeta.c \
|
|
|
|
metainfo.c \
|
|
|
|
natpmp.c \
|
|
|
|
net.c \
|
|
|
|
peer-io.c \
|
|
|
|
peer-mgr.c \
|
|
|
|
peer-msgs.c \
|
|
|
|
platform.c \
|
2013-07-08 17:07:31 +00:00
|
|
|
platform-quota.c \
|
2013-01-19 08:43:26 +00:00
|
|
|
port-forwarding.c \
|
|
|
|
ptrarray.c \
|
|
|
|
quark.c \
|
|
|
|
resume.c \
|
|
|
|
rpcimpl.c \
|
|
|
|
rpc-server.c \
|
|
|
|
session.c \
|
|
|
|
stats.c \
|
|
|
|
torrent.c \
|
|
|
|
torrent-ctor.c \
|
|
|
|
torrent-magnet.c \
|
|
|
|
tr-dht.c \
|
|
|
|
tr-lpd.c \
|
|
|
|
tr-udp.c \
|
|
|
|
tr-utp.c \
|
|
|
|
tr-getopt.c \
|
|
|
|
trevent.c \
|
|
|
|
upnp.c \
|
|
|
|
utils.c \
|
|
|
|
variant.c \
|
|
|
|
variant-benc.c \
|
|
|
|
variant-json.c \
|
|
|
|
verify.c \
|
|
|
|
web.c \
|
|
|
|
webseed.c \
|
|
|
|
wildmat.c
|
2007-07-18 23:04:26 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
2013-01-19 08:43:26 +00:00
|
|
|
announcer.h \
|
|
|
|
announcer-common.h \
|
|
|
|
bandwidth.h \
|
|
|
|
bitfield.h \
|
|
|
|
blocklist.h \
|
|
|
|
cache.h \
|
|
|
|
clients.h \
|
|
|
|
ConvertUTF.h \
|
|
|
|
crypto.h \
|
|
|
|
completion.h \
|
|
|
|
fdlimit.h \
|
|
|
|
handshake.h \
|
|
|
|
history.h \
|
|
|
|
inout.h \
|
|
|
|
jsonsl.c \
|
|
|
|
jsonsl.h \
|
|
|
|
libtransmission-test.h \
|
|
|
|
list.h \
|
2013-01-25 23:34:20 +00:00
|
|
|
log.h \
|
2013-01-19 08:43:26 +00:00
|
|
|
magnet.h \
|
|
|
|
makemeta.h \
|
|
|
|
metainfo.h \
|
|
|
|
natpmp_local.h \
|
|
|
|
net.h \
|
|
|
|
peer-common.h \
|
|
|
|
peer-io.h \
|
|
|
|
peer-mgr.h \
|
|
|
|
peer-msgs.h \
|
|
|
|
platform.h \
|
2013-07-08 17:07:31 +00:00
|
|
|
platform-quota.h \
|
2013-01-19 08:43:26 +00:00
|
|
|
port-forwarding.h \
|
|
|
|
ptrarray.h \
|
|
|
|
quark.h \
|
|
|
|
resume.h \
|
|
|
|
rpcimpl.h \
|
|
|
|
rpc-server.h \
|
|
|
|
session.h \
|
|
|
|
stats.h \
|
|
|
|
torrent.h \
|
|
|
|
torrent-magnet.h \
|
|
|
|
tr-getopt.h \
|
|
|
|
transmission.h \
|
|
|
|
tr-dht.h \
|
|
|
|
tr-udp.h \
|
|
|
|
tr-utp.h \
|
|
|
|
tr-lpd.h \
|
|
|
|
trevent.h \
|
|
|
|
upnp.h \
|
|
|
|
utils.h \
|
|
|
|
variant.h \
|
|
|
|
variant-common.h \
|
|
|
|
verify.h \
|
|
|
|
version.h \
|
|
|
|
web.h \
|
|
|
|
webseed.h
|
2007-10-24 17:20:50 +00:00
|
|
|
|
2008-03-05 00:50:53 +00:00
|
|
|
TESTS = \
|
2013-01-19 08:43:26 +00:00
|
|
|
bitfield-test \
|
|
|
|
blocklist-test \
|
|
|
|
clients-test \
|
|
|
|
history-test \
|
|
|
|
json-test \
|
|
|
|
magnet-test \
|
|
|
|
metainfo-test \
|
2013-01-26 23:08:51 +00:00
|
|
|
move-test \
|
2013-01-19 08:43:26 +00:00
|
|
|
peer-msgs-test \
|
|
|
|
quark-test \
|
|
|
|
rename-test \
|
|
|
|
rpc-test \
|
2013-09-08 19:30:16 +00:00
|
|
|
session-test \
|
2013-04-13 18:27:36 +00:00
|
|
|
tr-getopt-test \
|
2013-01-19 08:43:26 +00:00
|
|
|
utils-test \
|
|
|
|
variant-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 = \
|
2013-01-19 08:43:26 +00:00
|
|
|
@ZLIB_LDFLAGS@
|
2008-11-09 15:43:31 +00:00
|
|
|
|
2008-11-12 04:25:38 +00:00
|
|
|
apps_ldadd = \
|
2013-01-19 08:43:26 +00:00
|
|
|
./libtransmission.a \
|
|
|
|
@LIBUPNP_LIBS@ \
|
|
|
|
@LIBNATPMP_LIBS@ \
|
|
|
|
@INTLLIBS@ \
|
|
|
|
@DHT_LIBS@ \
|
|
|
|
@LIBUTP_LIBS@ \
|
|
|
|
@LIBCURL_LIBS@ \
|
|
|
|
@LIBEVENT_LIBS@ \
|
|
|
|
@OPENSSL_LIBS@ \
|
|
|
|
@PTHREAD_LIBS@ \
|
|
|
|
@ZLIB_LIBS@
|
2008-01-06 21:56:30 +00:00
|
|
|
|
2012-12-14 04:34:42 +00:00
|
|
|
TEST_SOURCES = libtransmission-test.c
|
2008-11-12 04:25:38 +00:00
|
|
|
|
2012-12-14 04:34:42 +00:00
|
|
|
bitfield_test_SOURCES = bitfield-test.c $(TEST_SOURCES)
|
2012-12-09 05:32:52 +00:00
|
|
|
bitfield_test_LDADD = ${apps_ldadd}
|
|
|
|
bitfield_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2012-12-14 04:34:42 +00:00
|
|
|
blocklist_test_SOURCES = blocklist-test.c $(TEST_SOURCES)
|
2008-11-12 04:25:38 +00:00
|
|
|
blocklist_test_LDADD = ${apps_ldadd}
|
|
|
|
blocklist_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2012-12-14 04:34:42 +00:00
|
|
|
clients_test_SOURCES = clients-test.c $(TEST_SOURCES)
|
2008-11-12 04:25:38 +00:00
|
|
|
clients_test_LDADD = ${apps_ldadd}
|
|
|
|
clients_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2012-12-14 04:34:42 +00:00
|
|
|
history_test_SOURCES = history-test.c $(TEST_SOURCES)
|
2010-03-08 04:29:58 +00:00
|
|
|
history_test_LDADD = ${apps_ldadd}
|
|
|
|
history_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2012-12-14 04:34:42 +00:00
|
|
|
json_test_SOURCES = json-test.c $(TEST_SOURCES)
|
2008-11-12 04:25:38 +00:00
|
|
|
json_test_LDADD = ${apps_ldadd}
|
|
|
|
json_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2012-12-22 20:35:19 +00:00
|
|
|
quark_test_SOURCES = quark-test.c $(TEST_SOURCES)
|
|
|
|
quark_test_LDADD = ${apps_ldadd}
|
|
|
|
quark_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2012-12-14 04:34:42 +00:00
|
|
|
magnet_test_SOURCES = magnet-test.c $(TEST_SOURCES)
|
2009-11-20 04:38:19 +00:00
|
|
|
magnet_test_LDADD = ${apps_ldadd}
|
|
|
|
magnet_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2012-12-14 04:34:42 +00:00
|
|
|
metainfo_test_SOURCES = metainfo-test.c $(TEST_SOURCES)
|
2012-10-14 18:02:47 +00:00
|
|
|
metainfo_test_LDADD = ${apps_ldadd}
|
|
|
|
metainfo_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2013-01-26 23:08:51 +00:00
|
|
|
move_test_SOURCES = move-test.c $(TEST_SOURCES)
|
|
|
|
move_test_LDADD = ${apps_ldadd}
|
|
|
|
move_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2012-12-14 04:34:42 +00:00
|
|
|
peer_msgs_test_SOURCES = peer-msgs-test.c $(TEST_SOURCES)
|
2012-08-18 16:07:05 +00:00
|
|
|
peer_msgs_test_LDADD = ${apps_ldadd}
|
|
|
|
peer_msgs_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2012-12-14 04:34:42 +00:00
|
|
|
rpc_test_SOURCES = rpc-test.c $(TEST_SOURCES)
|
2008-11-12 04:25:38 +00:00
|
|
|
rpc_test_LDADD = ${apps_ldadd}
|
|
|
|
rpc_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2013-09-08 19:30:16 +00:00
|
|
|
session_test_SOURCES = session-test.c $(TEST_SOURCES)
|
|
|
|
session_test_LDADD = ${apps_ldadd}
|
|
|
|
session_test_LDFLAGS = ${apps_ldflags}
|
2008-11-12 04:25:38 +00:00
|
|
|
|
2013-04-13 18:27:36 +00:00
|
|
|
tr_getopt_test_SOURCES = tr-getopt-test.c $(TEST_SOURCES)
|
|
|
|
tr_getopt_test_LDADD = ${apps_ldadd}
|
|
|
|
tr_getopt_test_LDFLAGS = ${apps_ldflags}
|
|
|
|
|
2012-12-14 04:34:42 +00:00
|
|
|
utils_test_SOURCES = utils-test.c $(TEST_SOURCES)
|
2008-11-12 04:25:38 +00:00
|
|
|
utils_test_LDADD = ${apps_ldadd}
|
|
|
|
utils_test_LDFLAGS = ${apps_ldflags}
|
2012-12-14 04:34:42 +00:00
|
|
|
|
|
|
|
variant_test_SOURCES = variant-test.c $(TEST_SOURCES)
|
|
|
|
variant_test_LDADD = ${apps_ldadd}
|
|
|
|
variant_test_LDFLAGS = ${apps_ldflags}
|
2013-01-19 08:43:26 +00:00
|
|
|
|
|
|
|
rename_test_SOURCES = rename-test.c $(TEST_SOURCES)
|
|
|
|
rename_test_LDADD = ${apps_ldadd}
|
|
|
|
rename_test_LDFLAGS = ${apps_ldflags}
|