aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/pcre/ya.make
blob: 085d3c28d2585b870c83b217e0b7d27814ba3739 (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
67
68
69
70
71
72
73
74
75
76
77
# Generated by devtools/yamaker from nixpkgs a58a0b5098f0c2a389ee70eb69422a052982d990.

LIBRARY()

OWNER(
    orivej
    g:cpp-contrib
)

VERSION(8.44)

ORIGINAL_SOURCE(https://ftp.pcre.org/pub/pcre/pcre-8.44.tar.bz2)

LICENSE(
    BSD-2-Clause AND
    BSD-3-Clause AND
    FSFAP AND
    PCRE AND
    Public-Domain
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

ADDINCL(
    contrib/libs/pcre
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

CFLAGS( 
    GLOBAL -DPCRE_STATIC
    -DHAVE_CONFIG_H 
) 

# JIT adds ≈108KB to binary size which may be critical for mobile and embedded devices binary distributions
DEFAULT(ARCADIA_PCRE_ENABLE_JIT yes)

IF (ARCADIA_PCRE_ENABLE_JIT)
    CFLAGS(
        -DARCADIA_PCRE_ENABLE_JIT
    )
ENDIF()

SRCS(
    pcre_byte_order.c
    pcre_chartables.c
    pcre_compile.c
    pcre_config.c
    pcre_dfa_exec.c
    pcre_exec.c
    pcre_fullinfo.c
    pcre_get.c
    pcre_globals.c
    pcre_jit_compile.c
    pcre_maketables.c
    pcre_newline.c
    pcre_ord2utf8.c
    pcre_refcount.c
    pcre_string_utils.c
    pcre_study.c
    pcre_tables.c
    pcre_ucd.c
    pcre_valid_utf8.c
    pcre_version.c
    pcre_xclass.c
    pcreposix.c
)

END()

RECURSE(
    pcre16
    pcre32
    pcrecpp
)