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 =
|
2016-04-13 00:59:40 +02:00
|
|
|
src_tools_tor_resolve_LDADD = src/common/libor.a \
|
|
|
|
src/common/libor-ctime.a \
|
2017-08-10 10:08:41 +02:00
|
|
|
$(rust_ldadd) \
|
|
|
|
@TOR_LIB_MATH@ @TOR_LIB_WS32@ @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)
|
|
|
|
src_tools_tor_cov_resolve_LDADD = src/common/libor-testing.a \
|
2016-04-13 00:59:40 +02:00
|
|
|
src/common/libor-ctime-testing.a \
|
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@
|
|
|
|
src_tools_tor_gencert_LDADD = src/common/libor.a src/common/libor-crypto.a \
|
2017-04-29 08:51:51 +02:00
|
|
|
src/common/libor-ctime.a \
|
|
|
|
$(LIBKECCAK_TINY) \
|
|
|
|
$(LIBDONNA) \
|
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@ \
|
2017-08-10 10:08:41 +02:00
|
|
|
@TOR_LIB_WS32@ @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@
|
|
|
|
src_tools_tor_cov_gencert_LDADD = src/common/libor-testing.a \
|
|
|
|
src/common/libor-crypto-testing.a \
|
2016-05-12 19:00:45 +02:00
|
|
|
src/common/libor-ctime-testing.a \
|
2015-12-18 23:15:01 +01:00
|
|
|
$(LIBKECCAK_TINY) \
|
2015-03-22 04:21:08 +01:00
|
|
|
$(LIBDONNA) \
|
2016-05-12 19:06:58 +02:00
|
|
|
@TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_OPENSSL_LIBS@ \
|
|
|
|
@TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@
|
2015-03-22 04:21:08 +01:00
|
|
|
endif
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2015-07-14 20:48:22 +02:00
|
|
|
EXTRA_DIST += src/tools/tor-fw-helper/README
|
2017-10-19 01:34:19 +02:00
|
|
|
|
|
|
|
if BUILD_LIBTORRUNNER
|
|
|
|
noinst_LIBRARIES += src/tools/libtorrunner.a
|
|
|
|
src_tools_libtorrunner_a_SOURCES = src/tools/tor_runner.c src/or/tor_api.c
|
|
|
|
endif
|