2012-08-02 15:31:43 +02:00
|
|
|
bin_PROGRAMS+= src/tools/tor-resolve src/tools/tor-gencert
|
|
|
|
|
2015-03-22 04:21:08 +01:00
|
|
|
if COVERAGE_ENABLED
|
|
|
|
noinst_PROGRAMS+= src/tools/tor-cov-resolve src/tools/tor-cov-gencert
|
|
|
|
endif
|
|
|
|
|
2012-08-02 15:31:43 +02:00
|
|
|
src_tools_tor_resolve_SOURCES = src/tools/tor-resolve.c
|
|
|
|
src_tools_tor_resolve_LDFLAGS =
|
2018-06-21 16:34:29 +02:00
|
|
|
src_tools_tor_resolve_LDADD = \
|
2018-07-01 15:37:28 +02:00
|
|
|
$(TOR_UTIL_LIBS) \
|
2017-08-10 10:08:41 +02:00
|
|
|
$(rust_ldadd) \
|
2018-06-27 15:09:10 +02:00
|
|
|
@TOR_LIB_MATH@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_USERENV@
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2015-03-22 04:21:08 +01:00
|
|
|
if COVERAGE_ENABLED
|
|
|
|
src_tools_tor_cov_resolve_SOURCES = src/tools/tor-resolve.c
|
|
|
|
src_tools_tor_cov_resolve_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
|
|
|
|
src_tools_tor_cov_resolve_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
|
2018-06-21 16:34:29 +02:00
|
|
|
src_tools_tor_cov_resolve_LDADD = \
|
2018-07-01 15:37:28 +02:00
|
|
|
$(TOR_UTIL_TESTING_LIBS) \
|
2016-05-12 19:06:58 +02:00
|
|
|
@TOR_LIB_MATH@ @TOR_LIB_WS32@
|
2015-03-22 04:21:08 +01:00
|
|
|
endif
|
|
|
|
|
2012-08-02 15:31:43 +02:00
|
|
|
src_tools_tor_gencert_SOURCES = src/tools/tor-gencert.c
|
|
|
|
src_tools_tor_gencert_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@
|
2018-06-21 16:34:29 +02:00
|
|
|
src_tools_tor_gencert_LDADD = \
|
2018-07-01 15:37:28 +02:00
|
|
|
$(TOR_CRYPTO_LIBS) \
|
|
|
|
$(TOR_UTIL_LIBS) \
|
2017-08-10 10:08:41 +02:00
|
|
|
$(rust_ldadd) \
|
2017-04-29 08:51:51 +02:00
|
|
|
@TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_OPENSSL_LIBS@ \
|
2018-06-27 15:09:10 +02:00
|
|
|
@TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@
|
2015-03-22 04:21:08 +01:00
|
|
|
|
|
|
|
if COVERAGE_ENABLED
|
|
|
|
src_tools_tor_cov_gencert_SOURCES = src/tools/tor-gencert.c
|
|
|
|
src_tools_tor_cov_gencert_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
|
|
|
|
src_tools_tor_cov_gencert_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
|
|
|
|
src_tools_tor_cov_gencert_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@
|
2018-06-21 16:34:29 +02:00
|
|
|
src_tools_tor_cov_gencert_LDADD = \
|
|
|
|
$(TOR_CRYPTO_TESTING_LIBS) \
|
|
|
|
$(TOR_UTIL_TESTING_LIBS) \
|
2016-05-12 19:06:58 +02:00
|
|
|
@TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_OPENSSL_LIBS@ \
|
2018-06-27 15:09:10 +02:00
|
|
|
@TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_GDI@ @CURVE25519_LIBS@
|
2015-03-22 04:21:08 +01:00
|
|
|
endif
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2017-10-19 01:34:19 +02:00
|
|
|
if BUILD_LIBTORRUNNER
|
|
|
|
noinst_LIBRARIES += src/tools/libtorrunner.a
|
2018-07-05 22:52:12 +02:00
|
|
|
src_tools_libtorrunner_a_SOURCES = \
|
|
|
|
src/tools/tor_runner.c \
|
|
|
|
src/feature/api/tor_api.c
|
2017-10-19 01:34:19 +02:00
|
|
|
endif
|