aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-mqtt/ya.make
blob: 7dd1d6ba7cfa85b41a28edfb3b5870e519130588 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Generated by devtools/yamaker from nixpkgs 24.05.

LIBRARY()

LICENSE(Apache-2.0)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(0.8.8)

ORIGINAL_SOURCE(https://github.com/awslabs/aws-c-mqtt/archive/v0.8.8.tar.gz)

PEERDIR(
    contrib/restricted/aws/aws-c-common
    contrib/restricted/aws/aws-c-http
    contrib/restricted/aws/aws-c-io
)

ADDINCL(
    GLOBAL contrib/restricted/aws/aws-c-mqtt/include
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

CFLAGS(
    -DAWS_CAL_USE_IMPORT_EXPORT
    -DAWS_COMMON_USE_IMPORT_EXPORT
    -DAWS_COMPRESSION_USE_IMPORT_EXPORT
    -DAWS_HTTP_USE_IMPORT_EXPORT
    -DAWS_IO_USE_IMPORT_EXPORT
    -DAWS_MQTT_USE_IMPORT_EXPORT
    -DAWS_MQTT_WITH_WEBSOCKETS
    -DAWS_USE_EPOLL
    -DHAVE_SYSCONF
    -DINTEL_NO_ITTNOTIFY_API
)

IF (OS_WINDOWS)
    CFLAGS(
        -DAWS_MQTT_EXPORTS
    )
ENDIF()

SRCS(
    source/client.c
    source/client_channel_handler.c
    source/fixed_header.c
    source/mqtt.c
    source/packets.c
    source/shared_constants.c
    source/topic_tree.c
    source/v5/mqtt5_callbacks.c
    source/v5/mqtt5_client.c
    source/v5/mqtt5_decoder.c
    source/v5/mqtt5_encoder.c
    source/v5/mqtt5_listener.c
    source/v5/mqtt5_options_storage.c
    source/v5/mqtt5_topic_alias.c
    source/v5/mqtt5_types.c
    source/v5/mqtt5_utils.c
    source/v5/rate_limiters.c
)

END()