include.am 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. TRUNNELSOURCES = \
  13. src/ext/trunnel/trunnel.c \
  14. src/trunnel/ed25519_cert.c \
  15. src/trunnel/link_handshake.c \
  16. src/trunnel/pwbox.c \
  17. src/trunnel/hs/cell_common.c \
  18. src/trunnel/hs/cell_establish_intro.c \
  19. src/trunnel/hs/cell_introduce1.c
  20. TRUNNELHEADERS = \
  21. src/ext/trunnel/trunnel.h \
  22. src/ext/trunnel/trunnel-impl.h \
  23. src/trunnel/trunnel-local.h \
  24. src/trunnel/ed25519_cert.h \
  25. src/trunnel/link_handshake.h \
  26. src/trunnel/pwbox.h \
  27. src/trunnel/hs/cell_common.h \
  28. src/trunnel/hs/cell_establish_intro.h \
  29. src/trunnel/hs/cell_introduce1.h
  30. src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES)
  31. src_trunnel_libor_trunnel_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS)
  32. src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES)
  33. src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
  34. src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
  35. noinst_HEADERS+= $(TRUNNELHEADERS)
  36. EXTRA_DIST += \
  37. src/trunnel/README