aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libmysql_r/vio/ya.make
blob: 00abd79be60560d62a4a62c27ddea2b9dd5ac3c5 (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
# Generated by devtools/yamaker.

LIBRARY()

LICENSE(
    GPL-2.0-only WITH Mysql-Linking-Exception-2018 AND
    GPL-2.0-only WITH Universal-FOSS-exception-1.0
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

PEERDIR(
    contrib/libs/openssl
)

ADDINCL(
    contrib/libs/libmysql_r
    contrib/libs/libmysql_r/include
)

NO_COMPILER_WARNINGS()

NO_UTIL()

CFLAGS(
    -DDBUG_OFF
    -DHAVE_CONFIG_H
    -DHAVE_LIBEVENT2
    -DHAVE_OPENSSL
    -DHAVE_TLSv13
    -DLZ4_DISABLE_DEPRECATE_WARNINGS
    -DRAPIDJSON_NO_SIZETYPEDEFINE
    -DRAPIDJSON_SCHEMA_USE_INTERNALREGEX=0
    -DRAPIDJSON_SCHEMA_USE_STDREGEX=1
    -DUNISTR_FROM_CHAR_EXPLICIT=explicit
    -DUNISTR_FROM_STRING_EXPLICIT=explicit
)

SRCS(
    vio.cc
    viosocket.cc
    viossl.cc
    viosslfactories.cc
)

IF (OS_WINDOWS)
    SRCS(
        viopipe.cc
        vioshm.cc
    )
ENDIF()

END()