2018-07-05 22:04:32 +02:00
|
|
|
|
|
|
|
bin_PROGRAMS+= src/app/tor
|
|
|
|
|
|
|
|
if COVERAGE_ENABLED
|
|
|
|
noinst_PROGRAMS+= src/app/tor-cov
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_HEADERS += \
|
2018-07-05 22:31:38 +02:00
|
|
|
src/app/main/ntmain.h
|
2018-07-05 22:04:32 +02:00
|
|
|
|
2018-07-05 22:31:38 +02:00
|
|
|
src_app_tor_SOURCES = src/app/main/tor_main.c
|
2018-07-05 22:04:32 +02:00
|
|
|
|
|
|
|
# -L flags need to go in LDFLAGS. -l flags need to go in LDADD.
|
|
|
|
# This seems to matter nowhere but on windows, but I assure you that it
|
|
|
|
# matters a lot there, and is quite hard to debug if you forget to do it.
|
|
|
|
|
2018-07-11 18:51:36 +02:00
|
|
|
src_app_tor_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) @TOR_LDFLAGS_libevent@
|
2018-07-05 22:04:32 +02:00
|
|
|
src_app_tor_LDADD = $(TOR_INTERNAL_LIBS) \
|
|
|
|
$(rust_ldadd) \
|
2018-07-11 18:51:36 +02:00
|
|
|
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ $(TOR_LIBS_CRYPTLIB) \
|
2020-06-03 23:09:42 +02:00
|
|
|
@TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \
|
2018-07-05 22:04:32 +02:00
|
|
|
@CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@ \
|
2020-02-11 17:26:04 +01:00
|
|
|
@TOR_LZMA_LIBS@ @TOR_ZSTD_LIBS@ @TOR_TRACE_LIBS@
|
2018-07-05 22:04:32 +02:00
|
|
|
|
|
|
|
if COVERAGE_ENABLED
|
|
|
|
src_app_tor_cov_SOURCES = $(src_app_tor_SOURCES)
|
|
|
|
src_app_tor_cov_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
|
|
|
|
src_app_tor_cov_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
|
2018-07-11 18:51:36 +02:00
|
|
|
src_app_tor_cov_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) @TOR_LDFLAGS_libevent@
|
2018-07-05 22:04:32 +02:00
|
|
|
src_app_tor_cov_LDADD = $(TOR_INTERNAL_TESTING_LIBS) \
|
2018-07-11 18:51:36 +02:00
|
|
|
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ $(TOR_LIBS_CRYPTLIB) \
|
2020-06-03 23:09:42 +02:00
|
|
|
@TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \
|
2018-07-05 22:04:32 +02:00
|
|
|
@CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@ \
|
2020-02-11 17:26:04 +01:00
|
|
|
@TOR_LZMA_LIBS@ @TOR_ZSTD_LIBS@ @TOR_TRACE_LIBS@
|
2018-07-05 22:04:32 +02:00
|
|
|
endif
|