include.am 1.74 KB
Newer Older
Stewart Smith's avatar
Stewart Smith committed
1
2
bin_PROGRAMS+= src/tools/tor-resolve src/tools/tor-gencert

3
4
5
6
if COVERAGE_ENABLED
noinst_PROGRAMS+= src/tools/tor-cov-resolve src/tools/tor-cov-gencert
endif

Stewart Smith's avatar
Stewart Smith committed
7
8
src_tools_tor_resolve_SOURCES = src/tools/tor-resolve.c
src_tools_tor_resolve_LDFLAGS =
9
10
src_tools_tor_resolve_LDADD = src/common/libor.a \
	src/common/libor-ctime.a \
11
12
	$(rust_ldadd) \
	@TOR_LIB_MATH@ @TOR_LIB_WS32@ @TOR_LIB_USERENV@ 
Stewart Smith's avatar
Stewart Smith committed
13

14
15
16
17
18
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 \
19
	src/common/libor-ctime-testing.a \
20
	@TOR_LIB_MATH@ @TOR_LIB_WS32@
21
22
endif

Stewart Smith's avatar
Stewart Smith committed
23
24
25
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 \
26
27
28
	src/common/libor-ctime.a \
	$(LIBKECCAK_TINY) \
	$(LIBDONNA) \
29
	$(rust_ldadd) \
30
	@TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_OPENSSL_LIBS@ \
31
	@TOR_LIB_WS32@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@
32
33
34
35
36
37
38
39

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 \
Nick Mathewson's avatar
Nick Mathewson committed
40
    src/common/libor-ctime-testing.a \
41
    $(LIBKECCAK_TINY) \
42
    $(LIBDONNA) \
43
44
    @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_OPENSSL_LIBS@ \
    @TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@
45
endif
Stewart Smith's avatar
Stewart Smith committed
46

Nick Mathewson's avatar
Nick Mathewson committed
47
EXTRA_DIST += src/tools/tor-fw-helper/README