ya.make 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(
  4. Public-Domain AND
  5. blessing
  6. )
  7. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  8. VERSION(3.40.1)
  9. ORIGINAL_SOURCE(https://github.com/sqlite/sqlite/archive/version-3.40.1.tar.gz)
  10. ADDINCL(
  11. contrib/libs/sqlite3
  12. )
  13. NO_COMPILER_WARNINGS()
  14. NO_RUNTIME()
  15. CFLAGS(
  16. -DBUILD_sqlite
  17. -DHAVE_USLEEP
  18. -DSQLITE_ENABLE_COLUMN_METADATA
  19. -DSQLITE_ENABLE_DBSTAT_VTAB
  20. -DSQLITE_ENABLE_FTS3
  21. -DSQLITE_ENABLE_FTS3_PARENTHESIS
  22. -DSQLITE_ENABLE_FTS3_TOKENIZER
  23. -DSQLITE_ENABLE_FTS4
  24. -DSQLITE_ENABLE_FTS5
  25. -DSQLITE_ENABLE_JSON1
  26. -DSQLITE_ENABLE_MATH_FUNCTIONS
  27. -DSQLITE_ENABLE_RTREE
  28. -DSQLITE_ENABLE_STMT_SCANSTATUS
  29. -DSQLITE_ENABLE_UNLOCK_NOTIFY
  30. -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
  31. -DSQLITE_HAVE_ZLIB=1
  32. -DSQLITE_MAX_EXPR_DEPTH=10000
  33. -DSQLITE_MAX_VARIABLE_NUMBER=250000
  34. -DSQLITE_SECURE_DELETE
  35. -DSQLITE_SOUNDEX
  36. -DSQLITE_TEMP_STORE=1
  37. -DSQLITE_THREADSAFE=1
  38. )
  39. IF (OS_WINDOWS)
  40. CFLAGS(
  41. -DSQLITE_OS_WIN
  42. )
  43. ELSE()
  44. CFLAGS(
  45. -DSQLITE_OS_UNIX
  46. )
  47. ENDIF()
  48. SRCS(
  49. sqlite3.c
  50. test_multiplex.c
  51. )
  52. END()