include.am 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. TRUNNELHEADERS = \
  18. src/ext/trunnel/trunnel.h \
  19. src/ext/trunnel/trunnel-impl.h \
  20. src/trunnel/trunnel-local.h \
  21. src/trunnel/ed25519_cert.h \
  22. src/trunnel/link_handshake.h \
  23. src/trunnel/pwbox.h
  24. src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES)
  25. src_trunnel_libor_trunnel_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS)
  26. src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES)
  27. src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
  28. src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
  29. noinst_HEADERS+= $(TRUNNELHEADERS)