2 bin_PROGRAMS+= src/app/tor
5 noinst_PROGRAMS+= src/app/tor-cov
11 src_app_tor_SOURCES = src/app/main/tor_main.c
13 # -L flags need to go in LDFLAGS. -l flags need to go in LDADD.
14 # This seems to matter nowhere but on windows, but I assure you that it
15 # matters a lot there, and is quite hard to debug if you forget to do it.
17 src_app_tor_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) \
18 @TOR_LDFLAGS_libevent@ @TOR_STATIC_LDFLAGS@
19 src_app_tor_LDADD = libtor.a \
20 @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ $(TOR_LIBS_CRYPTLIB) \
21 @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \
22 @CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@ \
23 @TOR_LZMA_LIBS@ @TOR_ZSTD_LIBS@ @TOR_TRACE_LIBS@
26 src_app_tor_cov_SOURCES = $(src_app_tor_SOURCES)
27 src_app_tor_cov_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
28 src_app_tor_cov_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
29 src_app_tor_cov_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) \
30 @TOR_LDFLAGS_libevent@ @TOR_STATIC_LDFLAGS@
31 src_app_tor_cov_LDADD = src/test/libtor-testing.a \
32 @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ $(TOR_LIBS_CRYPTLIB) \
33 @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \
34 @CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@ \
35 @TOR_LZMA_LIBS@ @TOR_ZSTD_LIBS@ @TOR_TRACE_LIBS@