diff options
author | Devtools Arcadia <arcadia-devtools@yandex-team.ru> | 2022-02-07 18:08:42 +0300 |
---|---|---|
committer | Devtools Arcadia <arcadia-devtools@mous.vla.yp-c.yandex.net> | 2022-02-07 18:08:42 +0300 |
commit | 1110808a9d39d4b808aef724c861a2e1a38d2a69 (patch) | |
tree | e26c9fed0de5d9873cce7e00bc214573dc2195b7 /contrib/libs/pcre/ya.make | |
download | ydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz |
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'contrib/libs/pcre/ya.make')
-rw-r--r-- | contrib/libs/pcre/ya.make | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/contrib/libs/pcre/ya.make b/contrib/libs/pcre/ya.make new file mode 100644 index 0000000000..85ae150697 --- /dev/null +++ b/contrib/libs/pcre/ya.make @@ -0,0 +1,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 +) |