ya.make 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # Generated by devtools/yamaker from nixpkgs 23.05.
  2. LIBRARY()
  3. LICENSE(Apache-2.0)
  4. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  5. VERSION(0.2.20)
  6. ORIGINAL_SOURCE(https://github.com/awslabs/aws-c-event-stream/archive/v0.2.20.tar.gz)
  7. PEERDIR(
  8. contrib/restricted/aws/aws-c-common
  9. contrib/restricted/aws/aws-c-io
  10. contrib/restricted/aws/aws-checksums
  11. )
  12. ADDINCL(
  13. GLOBAL contrib/restricted/aws/aws-c-event-stream/include
  14. )
  15. NO_COMPILER_WARNINGS()
  16. NO_RUNTIME()
  17. CFLAGS(
  18. -DAWS_CAL_USE_IMPORT_EXPORT
  19. -DAWS_CHECKSUMS_USE_IMPORT_EXPORT
  20. -DAWS_COMMON_USE_IMPORT_EXPORT
  21. -DAWS_EVENT_STREAM_USE_IMPORT_EXPORT
  22. -DAWS_IO_USE_IMPORT_EXPORT
  23. -DAWS_USE_EPOLL
  24. -DHAVE_SYSCONF
  25. -DS2N_CLONE_SUPPORTED
  26. -DS2N_CPUID_AVAILABLE
  27. -DS2N_FALL_THROUGH_SUPPORTED
  28. -DS2N_FEATURES_AVAILABLE
  29. -DS2N_KYBER512R3_AVX2_BMI2
  30. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH
  31. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX
  32. -DS2N_LIBCRYPTO_SUPPORTS_EVP_RC4
  33. -DS2N_MADVISE_SUPPORTED
  34. -DS2N_PLATFORM_SUPPORTS_KTLS
  35. -DS2N_STACKTRACE
  36. -DS2N___RESTRICT__SUPPORTED
  37. )
  38. IF (OS_WINDOWS)
  39. CFLAGS(
  40. -DAWS_EVENT_STREAM_EXPORTS
  41. )
  42. ENDIF()
  43. SRCS(
  44. source/event_stream.c
  45. source/event_stream_channel_handler.c
  46. source/event_stream_rpc.c
  47. source/event_stream_rpc_client.c
  48. source/event_stream_rpc_server.c
  49. )
  50. END()