include.am 959 B

1234567891011121314151617181920212223242526272829303132333435
  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/pwbox.trunnel
  11. TRUNNELSOURCES = \
  12. src/ext/trunnel/trunnel.c \
  13. src/trunnel/ed25519_cert.c \
  14. src/trunnel/pwbox.c
  15. TRUNNELHEADERS = \
  16. src/ext/trunnel/trunnel.h \
  17. src/ext/trunnel/trunnel-impl.h \
  18. src/trunnel/trunnel-local.h \
  19. src/trunnel/ed25519_cert.h \
  20. src/trunnel/pwbox.h
  21. src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES)
  22. src_trunnel_libor_trunnel_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS)
  23. src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES)
  24. src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTOR_UNIT_TESTS -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS)
  25. src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
  26. noinst_HEADERS+= $(TRUNNELHEADERS)