include.am 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. @TOR_LIB_MATH@ @TOR_LIB_WS32@ \
  10. $(rust_ldadd)
  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. @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ @TOR_OPENSSL_LIBS@ \
  26. @TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@ \
  27. $(rust_ldadd)
  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