ya.make 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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.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. -DS2N_CLONE_SUPPORTED
  28. -DS2N_CPUID_AVAILABLE
  29. -DS2N_FALL_THROUGH_SUPPORTED
  30. -DS2N_FEATURES_AVAILABLE
  31. -DS2N_KYBER512R3_AVX2_BMI2
  32. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH
  33. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX
  34. -DS2N_LIBCRYPTO_SUPPORTS_EVP_RC4
  35. -DS2N_MADVISE_SUPPORTED
  36. -DS2N_PLATFORM_SUPPORTS_KTLS
  37. -DS2N_STACKTRACE
  38. -DS2N___RESTRICT__SUPPORTED
  39. )
  40. IF (OS_WINDOWS)
  41. CFLAGS(
  42. -DAWS_MQTT_EXPORTS
  43. )
  44. ENDIF()
  45. SRCS(
  46. source/client.c
  47. source/client_channel_handler.c
  48. source/fixed_header.c
  49. source/mqtt.c
  50. source/packets.c
  51. source/shared_constants.c
  52. source/topic_tree.c
  53. source/v5/mqtt5_callbacks.c
  54. source/v5/mqtt5_client.c
  55. source/v5/mqtt5_decoder.c
  56. source/v5/mqtt5_encoder.c
  57. source/v5/mqtt5_listener.c
  58. source/v5/mqtt5_options_storage.c
  59. source/v5/mqtt5_topic_alias.c
  60. source/v5/mqtt5_types.c
  61. source/v5/mqtt5_utils.c
  62. source/v5/rate_limiters.c
  63. )
  64. END()