ya.make 853 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(Zlib)
  4. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  5. VERSION(1.3)
  6. ORIGINAL_SOURCE(https://github.com/madler/zlib/archive/v1.3.tar.gz)
  7. # TODO(YMAKE-92) Move this information out of ya.make and allow per project configuration
  8. IF (OPENSOURCE_PROJECT == "CATBOOST")
  9. OPENSOURCE_EXPORT_REPLACEMENT(
  10. CMAKE
  11. ZLIB
  12. CMAKE_TARGET
  13. ZLIB::ZLIB
  14. CONAN
  15. zlib/1.3
  16. )
  17. ENDIF()
  18. ADDINCL(
  19. GLOBAL contrib/libs/zlib/include
  20. )
  21. NO_COMPILER_WARNINGS()
  22. NO_RUNTIME()
  23. IF (NOT MSVC)
  24. CFLAGS(
  25. -DHAVE_HIDDEN
  26. )
  27. ENDIF()
  28. SRCS(
  29. adler32.c
  30. compress.c
  31. crc32.c
  32. deflate.c
  33. gzclose.c
  34. gzlib.c
  35. gzread.c
  36. gzwrite.c
  37. infback.c
  38. inffast.c
  39. inflate.c
  40. inftrees.c
  41. trees.c
  42. uncompr.c
  43. zutil.c
  44. )
  45. END()