mirror of
https://github.com/transmission/transmission
synced 2025-03-13 07:33:02 +00:00
(libT) #1450: warnings from build
This commit is contained in:
parent
36019841b8
commit
d157577a74
1 changed files with 26 additions and 10 deletions
|
@ -112,10 +112,10 @@ TESTS = \
|
||||||
|
|
||||||
noinst_PROGRAMS = $(TESTS)
|
noinst_PROGRAMS = $(TESTS)
|
||||||
|
|
||||||
APPS_LDFLAGS = \
|
apps_ldflags = \
|
||||||
$(ZLIB_LDFLAGS)
|
$(ZLIB_LDFLAGS)
|
||||||
|
|
||||||
APPS_LDADD = \
|
apps_ldadd = \
|
||||||
./libtransmission.a \
|
./libtransmission.a \
|
||||||
$(top_builddir)/third-party/miniupnp/libminiupnp.a \
|
$(top_builddir)/third-party/miniupnp/libminiupnp.a \
|
||||||
$(top_builddir)/third-party/libnatpmp/libnatpmp.a \
|
$(top_builddir)/third-party/libnatpmp/libnatpmp.a \
|
||||||
|
@ -128,21 +128,37 @@ APPS_LDADD = \
|
||||||
-lm
|
-lm
|
||||||
|
|
||||||
bencode_test_SOURCES = bencode-test.c
|
bencode_test_SOURCES = bencode-test.c
|
||||||
bencode_test_LDADD = $(APPS_LDADD)
|
bencode_test_LDADD = ${apps_ldadd}
|
||||||
|
bencode_test_LDFLAGS = ${apps_ldflags}
|
||||||
|
|
||||||
blocklist_test_SOURCES = blocklist-test.c
|
blocklist_test_SOURCES = blocklist-test.c
|
||||||
blocklist_test_LDADD = $(APPS_LDADD)
|
blocklist_test_LDADD = ${apps_ldadd}
|
||||||
|
blocklist_test_LDFLAGS = ${apps_ldflags}
|
||||||
|
|
||||||
clients_test_SOURCES = clients-test.c
|
clients_test_SOURCES = clients-test.c
|
||||||
clients_test_LDADD = $(APPS_LDADD)
|
clients_test_LDADD = ${apps_ldadd}
|
||||||
|
clients_test_LDFLAGS = ${apps_ldflags}
|
||||||
|
|
||||||
json_test_SOURCES = json-test.c
|
json_test_SOURCES = json-test.c
|
||||||
json_test_LDADD = $(APPS_LDADD)
|
json_test_LDADD = ${apps_ldadd}
|
||||||
|
json_test_LDFLAGS = ${apps_ldflags}
|
||||||
|
|
||||||
rpc_test_SOURCES = rpc-test.c
|
rpc_test_SOURCES = rpc-test.c
|
||||||
rpc_test_LDADD = $(APPS_LDADD)
|
rpc_test_LDADD = ${apps_ldadd}
|
||||||
|
rpc_test_LDFLAGS = ${apps_ldflags}
|
||||||
|
|
||||||
test_fastset_SOURCES = test-fastset.c
|
test_fastset_SOURCES = test-fastset.c
|
||||||
test_fastset_LDADD = $(APPS_LDADD)
|
test_fastset_LDADD = ${apps_ldadd}
|
||||||
|
test_fastset_LDFLAGS = ${apps_ldflags}
|
||||||
|
|
||||||
test_peer_id_SOURCES = test-peer-id.c
|
test_peer_id_SOURCES = test-peer-id.c
|
||||||
test_peer_id_LDADD = $(APPS_LDADD)
|
test_peer_id_LDADD = ${apps_ldadd}
|
||||||
|
test_peer_id_LDFLAGS = ${apps_ldflags}
|
||||||
|
|
||||||
utils_test_SOURCES = utils-test.c
|
utils_test_SOURCES = utils-test.c
|
||||||
utils_test_LDADD = $(APPS_LDADD)
|
utils_test_LDADD = ${apps_ldadd}
|
||||||
|
utils_test_LDFLAGS = ${apps_ldflags}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
|
|
Loading…
Add table
Reference in a new issue