2012-08-02 15:31:43 +02:00
|
|
|
bin_PROGRAMS+= src/tools/tor-resolve src/tools/tor-gencert
|
|
|
|
noinst_PROGRAMS+= src/tools/tor-checkkey
|
|
|
|
|
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 =
|
|
|
|
src_tools_tor_resolve_LDADD = src/common/libor.a @TOR_LIB_MATH@ @TOR_LIB_WS32@
|
|
|
|
|
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 \
|
|
|
|
@TOR_LIB_MATH@ @TOR_LIB_WS32@
|
|
|
|
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 \
|
2015-12-18 23:15:01 +01:00
|
|
|
$(LIBKECCAK_TINY) \
|
2015-03-22 04:21:08 +01:00
|
|
|
$(LIBDONNA) \
|
|
|
|
@TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_OPENSSL_LIBS@ \
|
|
|
|
@TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@
|
|
|
|
|
|
|
|
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 \
|
2015-12-18 23:15:01 +01:00
|
|
|
$(LIBKECCAK_TINY) \
|
2015-03-22 04:21:08 +01:00
|
|
|
$(LIBDONNA) \
|
2012-08-02 15:31:43 +02:00
|
|
|
@TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_OPENSSL_LIBS@ \
|
2013-01-16 19:07:52 +01:00
|
|
|
@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
|
|
|
|
|
|
|
src_tools_tor_checkkey_SOURCES = src/tools/tor-checkkey.c
|
|
|
|
src_tools_tor_checkkey_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@
|
|
|
|
src_tools_tor_checkkey_LDADD = src/common/libor.a src/common/libor-crypto.a \
|
2015-12-18 23:15:01 +01:00
|
|
|
$(LIBKECCAK_TINY) \
|
2015-03-22 04:21:08 +01:00
|
|
|
$(LIBDONNA) \
|
2012-08-02 15:31:43 +02:00
|
|
|
@TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_OPENSSL_LIBS@ \
|
2013-01-16 19:07:52 +01:00
|
|
|
@TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2015-07-14 20:48:22 +02:00
|
|
|
EXTRA_DIST += src/tools/tor-fw-helper/README
|