include.am 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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/trunnel/sendme_cell.trunnel \
  13. src/trunnel/socks5.trunnel \
  14. src/trunnel/circpad_negotiation.trunnel
  15. TRUNNELSOURCES = \
  16. src/ext/trunnel/trunnel.c \
  17. src/trunnel/ed25519_cert.c \
  18. src/trunnel/link_handshake.c \
  19. src/trunnel/pwbox.c \
  20. src/trunnel/hs/cell_common.c \
  21. src/trunnel/hs/cell_establish_intro.c \
  22. src/trunnel/hs/cell_introduce1.c \
  23. src/trunnel/hs/cell_rendezvous.c \
  24. src/trunnel/channelpadding_negotiation.c \
  25. src/trunnel/sendme_cell.c \
  26. src/trunnel/socks5.c \
  27. src/trunnel/netinfo.c \
  28. src/trunnel/circpad_negotiation.c
  29. TRUNNELHEADERS = \
  30. src/ext/trunnel/trunnel.h \
  31. src/ext/trunnel/trunnel-impl.h \
  32. src/trunnel/trunnel-local.h \
  33. src/trunnel/ed25519_cert.h \
  34. src/trunnel/link_handshake.h \
  35. src/trunnel/pwbox.h \
  36. src/trunnel/hs/cell_common.h \
  37. src/trunnel/hs/cell_establish_intro.h \
  38. src/trunnel/hs/cell_introduce1.h \
  39. src/trunnel/hs/cell_rendezvous.h \
  40. src/trunnel/channelpadding_negotiation.h \
  41. src/trunnel/sendme_cell.h \
  42. src/trunnel/socks5.h \
  43. src/trunnel/netinfo.h \
  44. src/trunnel/circpad_negotiation.h
  45. src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES)
  46. src_trunnel_libor_trunnel_a_CPPFLAGS = \
  47. -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) -I$(top_srcdir)/src/trunnel
  48. if UNITTESTS_ENABLED
  49. src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES)
  50. else
  51. src_trunnel_libor_trunnel_testing_a_SOURCES =
  52. endif
  53. src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
  54. src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
  55. noinst_HEADERS+= $(TRUNNELHEADERS)
  56. EXTRA_DIST += \
  57. src/trunnel/README