ya.make 755 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(
  4. BSD-2-Clause AND
  5. BSD-3-Clause
  6. )
  7. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  8. VERSION(2.5.2)
  9. ORIGINAL_SOURCE(https://github.com/uclouvain/openjpeg/archive/v2.5.2.tar.gz)
  10. ADDINCL(
  11. contrib/libs/openjpeg
  12. )
  13. NO_COMPILER_WARNINGS()
  14. NO_RUNTIME()
  15. IF (OS_WINDOWS)
  16. CFLAGS(
  17. GLOBAL /DOPJ_STATIC
  18. /DMUTEX_win32
  19. )
  20. ELSE()
  21. CFLAGS(
  22. -DMUTEX_pthread
  23. )
  24. ENDIF()
  25. SRCS(
  26. bio.c
  27. cio.c
  28. dwt.c
  29. event.c
  30. function_list.c
  31. ht_dec.c
  32. image.c
  33. invert.c
  34. j2k.c
  35. jp2.c
  36. mct.c
  37. mqc.c
  38. openjpeg.c
  39. opj_clock.c
  40. opj_malloc.c
  41. pi.c
  42. sparse_array.c
  43. t1.c
  44. t2.c
  45. tcd.c
  46. tgt.c
  47. thread.c
  48. )
  49. END()