aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Modules/_sqlite/ya.make
blob: 4f539fcbb8aa3b2358dc9c4ab5b1682d4eddb26d (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
# Generated by devtools/yamaker.

LIBRARY()

VERSION(3.11.7)

ORIGINAL_SOURCE(https://github.com/python/cpython/archive/v3.11.7.tar.gz)

LICENSE(Python-2.0)

PEERDIR(
    contrib/libs/sqlite3
)

ADDINCL(
    contrib/libs/sqlite3
)

IF (USE_SYSTEM_PYTHON)
    # Prevent configure error when arcadia python is a tool in a system python graph.
    ADDINCL(
        contrib/tools/python3/src/Include
    )
ENDIF()

PYTHON3_ADDINCL()

NO_COMPILER_WARNINGS()

NO_RUNTIME()

CFLAGS(
    -DMODULE_NAME=sqlite3
)

SRCS(
    blob.c
    connection.c
    cursor.c
    microprotocols.c
    module.c
    prepare_protocol.c
    row.c
    statement.c
    util.c
)

PY_REGISTER(
    _sqlite3
)

END()