include.am 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. bin_PROGRAMS+= src/tools/tor-resolve src/tools/tor-gencert
  2. if COVERAGE_ENABLED
  3. noinst_PROGRAMS+= src/tools/tor-cov-resolve src/tools/tor-cov-gencert
  4. endif
  5. src_tools_tor_resolve_SOURCES = src/tools/tor-resolve.c
  6. src_tools_tor_resolve_LDFLAGS =
  7. src_tools_tor_resolve_LDADD = src/common/libor.a \
  8. src/common/libor-ctime.a \
  9. $(rust_ldadd) \
  10. @TOR_LIB_MATH@ @TOR_LIB_WS32@ @TOR_LIB_USERENV@
  11. if COVERAGE_ENABLED
  12. src_tools_tor_cov_resolve_SOURCES = src/tools/tor-resolve.c
  13. src_tools_tor_cov_resolve_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
  14. src_tools_tor_cov_resolve_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
  15. src_tools_tor_cov_resolve_LDADD = src/common/libor-testing.a \
  16. src/common/libor-ctime-testing.a \
  17. @TOR_LIB_MATH@ @TOR_LIB_WS32@
  18. endif
  19. src_tools_tor_gencert_SOURCES = src/tools/tor-gencert.c
  20. src_tools_tor_gencert_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@
  21. src_tools_tor_gencert_LDADD = src/common/libor.a src/common/libor-crypto.a \
  22. src/common/libor-ctime.a \
  23. $(LIBKECCAK_TINY) \
  24. $(LIBDONNA) \
  25. $(rust_ldadd) \
  26. @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_OPENSSL_LIBS@ \
  27. @TOR_LIB_WS32@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@
  28. if COVERAGE_ENABLED
  29. src_tools_tor_cov_gencert_SOURCES = src/tools/tor-gencert.c
  30. src_tools_tor_cov_gencert_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
  31. src_tools_tor_cov_gencert_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
  32. src_tools_tor_cov_gencert_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@
  33. src_tools_tor_cov_gencert_LDADD = src/common/libor-testing.a \
  34. src/common/libor-crypto-testing.a \
  35. src/common/libor-ctime-testing.a \
  36. $(LIBKECCAK_TINY) \
  37. $(LIBDONNA) \
  38. @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_OPENSSL_LIBS@ \
  39. @TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@
  40. endif
  41. EXTRA_DIST += src/tools/tor-fw-helper/README
  42. if BUILD_LIBTORRUNNER
  43. noinst_LIBRARIES += src/tools/libtorrunner.a
  44. src_tools_libtorrunner_a_SOURCES = src/tools/tor_runner.c src/or/tor_api.c
  45. endif