ya.make 997 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Generated by devtools/yamaker from nixpkgs 24.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. -DINTEL_NO_ITTNOTIFY_API
  26. )
  27. IF (OS_WINDOWS)
  28. CFLAGS(
  29. -DAWS_EVENT_STREAM_EXPORTS
  30. )
  31. ENDIF()
  32. SRCS(
  33. source/event_stream.c
  34. source/event_stream_channel_handler.c
  35. source/event_stream_rpc.c
  36. source/event_stream_rpc_client.c
  37. source/event_stream_rpc_server.c
  38. )
  39. END()