ya.make 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # Generated by devtools/yamaker from nixpkgs 22.05.
  2. LIBRARY()
  3. VERSION(8.45)
  4. ORIGINAL_SOURCE(https://downloads.sourceforge.net/project/pcre/pcre/8.45/pcre-8.45.tar.bz2)
  5. LICENSE(
  6. BSD-2-Clause AND
  7. BSD-3-Clause AND
  8. FSFAP AND
  9. PCRE AND
  10. Public-Domain
  11. )
  12. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  13. ADDINCL(
  14. contrib/libs/pcre
  15. )
  16. NO_COMPILER_WARNINGS()
  17. NO_RUNTIME()
  18. CFLAGS(
  19. GLOBAL -DPCRE_STATIC
  20. -DHAVE_CONFIG_H
  21. )
  22. IF(PCRE_LINK_SIZE)
  23. CFLAGS(
  24. -DPCRE_LINK_SIZE=$PCRE_LINK_SIZE
  25. )
  26. ENDIF()
  27. # JIT adds ≈108KB to binary size which may be critical for mobile and embedded devices binary distributions
  28. DEFAULT(ARCADIA_PCRE_ENABLE_JIT yes)
  29. IF (ARCADIA_PCRE_ENABLE_JIT)
  30. CFLAGS(
  31. -DARCADIA_PCRE_ENABLE_JIT
  32. )
  33. ENDIF()
  34. SRCS(
  35. pcre_byte_order.c
  36. pcre_chartables.c
  37. pcre_compile.c
  38. pcre_config.c
  39. pcre_dfa_exec.c
  40. pcre_exec.c
  41. pcre_fullinfo.c
  42. pcre_get.c
  43. pcre_globals.c
  44. pcre_jit_compile.c
  45. pcre_maketables.c
  46. pcre_newline.c
  47. pcre_ord2utf8.c
  48. pcre_refcount.c
  49. pcre_string_utils.c
  50. pcre_study.c
  51. pcre_tables.c
  52. pcre_ucd.c
  53. pcre_valid_utf8.c
  54. pcre_version.c
  55. pcre_xclass.c
  56. pcreposix.c
  57. )
  58. END()
  59. RECURSE(
  60. pcre16
  61. pcre32
  62. pcrecpp
  63. )