aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/sqlite3/ya.make
blob: 9922ed06f9644c7507bc7abd7c2750bacb58a73e (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
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(
    Public-Domain AND
    blessing
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(3.40.1)

ORIGINAL_SOURCE(https://github.com/sqlite/sqlite/archive/version-3.40.1.tar.gz)

ADDINCL(
    contrib/libs/sqlite3
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

CFLAGS(
    -DBUILD_sqlite
    -DHAVE_USLEEP
    -DSQLITE_ENABLE_COLUMN_METADATA
    -DSQLITE_ENABLE_DBSTAT_VTAB
    -DSQLITE_ENABLE_FTS3
    -DSQLITE_ENABLE_FTS3_PARENTHESIS
    -DSQLITE_ENABLE_FTS3_TOKENIZER
    -DSQLITE_ENABLE_FTS4
    -DSQLITE_ENABLE_FTS5
    -DSQLITE_ENABLE_JSON1
    -DSQLITE_ENABLE_MATH_FUNCTIONS
    -DSQLITE_ENABLE_RTREE
    -DSQLITE_ENABLE_STMT_SCANSTATUS
    -DSQLITE_ENABLE_UNLOCK_NOTIFY
    -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
    -DSQLITE_HAVE_ZLIB=1
    -DSQLITE_MAX_EXPR_DEPTH=10000
    -DSQLITE_MAX_VARIABLE_NUMBER=250000
    -DSQLITE_SECURE_DELETE
    -DSQLITE_SOUNDEX
    -DSQLITE_TEMP_STORE=1
    -DSQLITE_THREADSAFE=1
)

IF (OS_WINDOWS)
    CFLAGS(
        -DSQLITE_OS_WIN
    )
ELSE()
    CFLAGS(
        -DSQLITE_OS_UNIX
    )
ENDIF()

SRCS(
    sqlite3.c
    test_multiplex.c
)

END()