include.am 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. AM_CPPFLAGS += -I$(srcdir)/src/ext/trunnel -I$(srcdir)/src/trunnel
  8. TRUNNELINPUTS = \
  9. src/trunnel/ed25519_cert.trunnel \
  10. src/trunnel/link_handshake.trunnel \
  11. src/trunnel/pwbox.trunnel \
  12. src/trunnel/channelpadding_negotiation.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. TRUNNELHEADERS = \
  24. src/ext/trunnel/trunnel.h \
  25. src/ext/trunnel/trunnel-impl.h \
  26. src/trunnel/trunnel-local.h \
  27. src/trunnel/ed25519_cert.h \
  28. src/trunnel/link_handshake.h \
  29. src/trunnel/pwbox.h \
  30. src/trunnel/hs/cell_common.h \
  31. src/trunnel/hs/cell_establish_intro.h \
  32. src/trunnel/hs/cell_introduce1.h \
  33. src/trunnel/hs/cell_rendezvous.h \
  34. src/trunnel/channelpadding_negotiation.h
  35. src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES)
  36. src_trunnel_libor_trunnel_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS)
  37. src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES)
  38. src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
  39. src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
  40. noinst_HEADERS+= $(TRUNNELHEADERS)
  41. EXTRA_DIST += \
  42. src/trunnel/README