ya.make 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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.7.6)
  6. ORIGINAL_SOURCE(https://github.com/awslabs/aws-c-http/archive/v0.7.6.tar.gz)
  7. PEERDIR(
  8. contrib/restricted/aws/aws-c-cal
  9. contrib/restricted/aws/aws-c-common
  10. contrib/restricted/aws/aws-c-compression
  11. contrib/restricted/aws/aws-c-io
  12. )
  13. ADDINCL(
  14. GLOBAL contrib/restricted/aws/aws-c-http/include
  15. )
  16. NO_COMPILER_WARNINGS()
  17. NO_RUNTIME()
  18. CFLAGS(
  19. -DAWS_CAL_USE_IMPORT_EXPORT
  20. -DAWS_COMMON_USE_IMPORT_EXPORT
  21. -DAWS_COMPRESSION_USE_IMPORT_EXPORT
  22. -DAWS_HTTP_USE_IMPORT_EXPORT
  23. -DAWS_IO_USE_IMPORT_EXPORT
  24. -DAWS_USE_EPOLL
  25. -DHAVE_SYSCONF
  26. -DINTEL_NO_ITTNOTIFY_API
  27. )
  28. IF (CLANG_CL)
  29. CFLAGS(
  30. -DAWS_HTTP_EXPORTS
  31. -std=c99
  32. )
  33. ELSEIF (OS_WINDOWS)
  34. CFLAGS(
  35. -DAWS_HTTP_EXPORTS
  36. )
  37. ENDIF()
  38. SRCS(
  39. source/connection.c
  40. source/connection_manager.c
  41. source/connection_monitor.c
  42. source/h1_connection.c
  43. source/h1_decoder.c
  44. source/h1_encoder.c
  45. source/h1_stream.c
  46. source/h2_connection.c
  47. source/h2_decoder.c
  48. source/h2_frames.c
  49. source/h2_stream.c
  50. source/hpack.c
  51. source/hpack_decoder.c
  52. source/hpack_encoder.c
  53. source/hpack_huffman_static.c
  54. source/http.c
  55. source/http2_stream_manager.c
  56. source/proxy_connection.c
  57. source/proxy_strategy.c
  58. source/random_access_set.c
  59. source/request_response.c
  60. source/statistics.c
  61. source/strutil.c
  62. source/websocket.c
  63. source/websocket_bootstrap.c
  64. source/websocket_decoder.c
  65. source/websocket_encoder.c
  66. )
  67. END()