2018-08-12 23:18:41 +02:00
|
|
|
bin_PROGRAMS+= src/tools/tor-resolve src/tools/tor-print-ed-signing-cert
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2015-03-22 04:21:08 +01:00
|
|
|
if COVERAGE_ENABLED
|
2018-08-12 23:18:41 +02:00
|
|
|
noinst_PROGRAMS+= src/tools/tor-cov-resolve
|
2015-03-22 04:21:08 +01:00
|
|
|
endif
|
|
|
|
|
2012-08-02 15:31:43 +02:00
|
|
|
src_tools_tor_resolve_SOURCES = src/tools/tor-resolve.c
|
2018-09-11 18:39:00 +02:00
|
|
|
src_tools_tor_resolve_LDFLAGS = @TOR_LDFLAGS_openssl@
|
2018-06-21 16:34:29 +02:00
|
|
|
src_tools_tor_resolve_LDADD = \
|
2018-09-11 18:39:00 +02:00
|
|
|
src/trunnel/libor-trunnel.a \
|
2018-07-01 15:37:28 +02:00
|
|
|
$(TOR_UTIL_LIBS) \
|
2018-09-11 18:39:00 +02:00
|
|
|
$(TOR_CRYPTO_LIBS) $(TOR_LIBS_CRYPTLIB)\
|
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-09-13 08:57:43 +02:00
|
|
|
src_tools_tor_cov_resolve_LDFLAGS = @TOR_LDFLAGS_openssl@
|
2018-06-21 16:34:29 +02:00
|
|
|
src_tools_tor_cov_resolve_LDADD = \
|
2018-09-13 08:57:43 +02:00
|
|
|
src/trunnel/libor-trunnel.a \
|
2018-07-01 15:37:28 +02:00
|
|
|
$(TOR_UTIL_TESTING_LIBS) \
|
2018-09-13 08:57:43 +02:00
|
|
|
$(TOR_CRYPTO_TESTING_LIBS) $(TOR_LIBS_CRYPTLIB) \
|
2016-05-12 19:06:58 +02:00
|
|
|
@TOR_LIB_MATH@ @TOR_LIB_WS32@
|
2015-03-22 04:21:08 +01:00
|
|
|
endif
|
|
|
|
|
2018-08-12 23:18:41 +02:00
|
|
|
if USE_NSS
|
|
|
|
# ...
|
|
|
|
else
|
|
|
|
bin_PROGRAMS += src/tools/tor-gencert
|
2012-08-02 15:31:43 +02:00
|
|
|
src_tools_tor_gencert_SOURCES = src/tools/tor-gencert.c
|
2018-07-11 18:51:36 +02:00
|
|
|
src_tools_tor_gencert_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB)
|
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) \
|
2018-07-11 18:51:36 +02:00
|
|
|
@TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ $(TOR_LIBS_CRYPTLIB) \
|
2018-06-27 15:09:10 +02:00
|
|
|
@TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@
|
2018-08-12 23:18:41 +02:00
|
|
|
endif
|
2015-03-22 04:21:08 +01:00
|
|
|
|
2018-06-13 12:20:47 +02:00
|
|
|
src_tools_tor_print_ed_signing_cert_SOURCES = src/tools/tor-print-ed-signing-cert.c
|
|
|
|
src_tools_tor_print_ed_signing_cert_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@
|
|
|
|
src_tools_tor_print_ed_signing_cert_LDADD = \
|
|
|
|
src/trunnel/libor-trunnel.a \
|
|
|
|
$(TOR_CRYPTO_LIBS) \
|
|
|
|
$(TOR_UTIL_LIBS) \
|
2018-08-01 01:56:23 +02:00
|
|
|
@TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) \
|
2018-11-17 03:29:04 +01:00
|
|
|
@TOR_LIB_WS32@ @TOR_LIB_USERENV@ @TOR_LIB_GDI@
|
2018-06-13 12:20:47 +02:00
|
|
|
|
2018-08-12 23:18:41 +02:00
|
|
|
if USE_NSS
|
|
|
|
# ...
|
|
|
|
else
|
2015-03-22 04:21:08 +01:00
|
|
|
if COVERAGE_ENABLED
|
2018-08-12 23:18:41 +02:00
|
|
|
noinst_PROGRAMS += src/tools/tor-cov-gencert
|
2015-03-22 04:21:08 +01:00
|
|
|
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)
|
2018-07-11 18:51:36 +02:00
|
|
|
src_tools_tor_cov_gencert_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB)
|
2018-06-21 16:34:29 +02:00
|
|
|
src_tools_tor_cov_gencert_LDADD = \
|
|
|
|
$(TOR_CRYPTO_TESTING_LIBS) \
|
|
|
|
$(TOR_UTIL_TESTING_LIBS) \
|
2018-07-11 18:51:36 +02:00
|
|
|
@TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ $(TOR_LIBS_CRYPTLIB) \
|
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
|
2018-08-12 23:18:41 +02: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
|