include.am 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. noinst_LIBRARIES += \
  2. src/trunnel/libor-trunnel.a
  3. if UNITTESTS_ENABLED
  4. noinst_LIBRARIES += \
  5. src/trunnel/libor-trunnel-testing.a
  6. endif
  7. TRUNNELINPUTS = \
  8. src/trunnel/ed25519_cert.trunnel \
  9. src/trunnel/link_handshake.trunnel \
  10. src/trunnel/pwbox.trunnel \
  11. src/trunnel/channelpadding_negotiation.trunnel \
  12. src/trunner/socks5.trunnel
  13. TRUNNELSOURCES = \
  14. src/ext/trunnel/trunnel.c \
  15. src/trunnel/ed25519_cert.c \
  16. src/trunnel/link_handshake.c \
  17. src/trunnel/pwbox.c \
  18. src/trunnel/hs/cell_common.c \
  19. src/trunnel/hs/cell_establish_intro.c \
  20. src/trunnel/hs/cell_introduce1.c \
  21. src/trunnel/hs/cell_rendezvous.c \
  22. src/trunnel/channelpadding_negotiation.c \
  23. src/trunnel/socks5.c
  24. TRUNNELHEADERS = \
  25. src/ext/trunnel/trunnel.h \
  26. src/ext/trunnel/trunnel-impl.h \
  27. src/trunnel/trunnel-local.h \
  28. src/trunnel/ed25519_cert.h \
  29. src/trunnel/link_handshake.h \
  30. src/trunnel/pwbox.h \
  31. src/trunnel/hs/cell_common.h \
  32. src/trunnel/hs/cell_establish_intro.h \
  33. src/trunnel/hs/cell_introduce1.h \
  34. src/trunnel/hs/cell_rendezvous.h \
  35. src/trunnel/channelpadding_negotiation.h \
  36. src/trunnel/socks5.h
  37. src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES)
  38. src_trunnel_libor_trunnel_a_CPPFLAGS = \
  39. -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) -I$(top_srcdir)/src/trunnel
  40. if UNITTESTS_ENABLED
  41. src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES)
  42. else
  43. src_trunnel_libor_trunnel_testing_a_SOURCES =
  44. endif
  45. src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
  46. src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
  47. noinst_HEADERS+= $(TRUNNELHEADERS)
  48. EXTRA_DIST += \
  49. src/trunnel/README