include.am 971 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. noinst_LIBRARIES += src/lib/libtor-tls.a
  2. if UNITTESTS_ENABLED
  3. noinst_LIBRARIES += src/lib/libtor-tls-testing.a
  4. endif
  5. src_lib_libtor_tls_a_SOURCES = \
  6. src/lib/tls/buffers_tls.c \
  7. src/lib/tls/tortls.c \
  8. src/lib/tls/x509.c
  9. if USE_NSS
  10. src_lib_libtor_tls_a_SOURCES += \
  11. src/lib/tls/tortls_nss.c \
  12. src/lib/tls/x509_nss.c
  13. else
  14. src_lib_libtor_tls_a_SOURCES += \
  15. src/lib/tls/tortls_openssl.c \
  16. src/lib/tls/x509_openssl.c
  17. endif
  18. src_lib_libtor_tls_a_CFLAGS = $(AM_CFLAGS) $(TOR_CFLAGS_CRYPTLIB)
  19. src_lib_libtor_tls_testing_a_SOURCES = \
  20. $(src_lib_libtor_tls_a_SOURCES)
  21. src_lib_libtor_tls_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
  22. src_lib_libtor_tls_testing_a_CFLAGS = \
  23. $(AM_CFLAGS) $(TOR_CFLAGS_CRYPTLIB) $(TEST_CFLAGS)
  24. noinst_HEADERS += \
  25. src/lib/tls/ciphers.inc \
  26. src/lib/tls/buffers_tls.h \
  27. src/lib/tls/tortls.h \
  28. src/lib/tls/tortls_internal.h \
  29. src/lib/tls/tortls_st.h \
  30. src/lib/tls/x509.h \
  31. src/lib/tls/x509_internal.h