ya.make 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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.8.8)
  6. ORIGINAL_SOURCE(https://github.com/awslabs/aws-c-mqtt/archive/v0.8.8.tar.gz)
  7. PEERDIR(
  8. contrib/restricted/aws/aws-c-common
  9. contrib/restricted/aws/aws-c-http
  10. contrib/restricted/aws/aws-c-io
  11. )
  12. ADDINCL(
  13. GLOBAL contrib/restricted/aws/aws-c-mqtt/include
  14. )
  15. NO_COMPILER_WARNINGS()
  16. NO_RUNTIME()
  17. CFLAGS(
  18. -DAWS_CAL_USE_IMPORT_EXPORT
  19. -DAWS_COMMON_USE_IMPORT_EXPORT
  20. -DAWS_COMPRESSION_USE_IMPORT_EXPORT
  21. -DAWS_HTTP_USE_IMPORT_EXPORT
  22. -DAWS_IO_USE_IMPORT_EXPORT
  23. -DAWS_MQTT_USE_IMPORT_EXPORT
  24. -DAWS_MQTT_WITH_WEBSOCKETS
  25. -DAWS_USE_EPOLL
  26. -DHAVE_SYSCONF
  27. -DINTEL_NO_ITTNOTIFY_API
  28. )
  29. IF (OS_WINDOWS)
  30. CFLAGS(
  31. -DAWS_MQTT_EXPORTS
  32. )
  33. ENDIF()
  34. SRCS(
  35. source/client.c
  36. source/client_channel_handler.c
  37. source/fixed_header.c
  38. source/mqtt.c
  39. source/packets.c
  40. source/shared_constants.c
  41. source/topic_tree.c
  42. source/v5/mqtt5_callbacks.c
  43. source/v5/mqtt5_client.c
  44. source/v5/mqtt5_decoder.c
  45. source/v5/mqtt5_encoder.c
  46. source/v5/mqtt5_listener.c
  47. source/v5/mqtt5_options_storage.c
  48. source/v5/mqtt5_topic_alias.c
  49. source/v5/mqtt5_types.c
  50. source/v5/mqtt5_utils.c
  51. source/v5/rate_limiters.c
  52. )
  53. END()