ya.make 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(
  4. MIT AND
  5. Softsurfer
  6. )
  7. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  8. VERSION(2.16)
  9. ORIGINAL_SOURCE(https://github.com/mm2/Little-CMS/archive/lcms2.16.tar.gz)
  10. ADDINCL(
  11. contrib/libs/lcms2/include
  12. contrib/libs/lcms2/src
  13. )
  14. NO_COMPILER_WARNINGS()
  15. NO_RUNTIME()
  16. CFLAGS(
  17. -DHAVE_DLFCN_H=1
  18. -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1
  19. -DHAVE_INTTYPES_H=1
  20. -DHAVE_PTHREAD=1
  21. -DHAVE_PTHREAD_PRIO_INHERIT=1
  22. -DHAVE_STDINT_H=1
  23. -DHAVE_STDIO_H=1
  24. -DHAVE_STDLIB_H=1
  25. -DHAVE_STRINGS_H=1
  26. -DHAVE_STRING_H=1
  27. -DHAVE_SYS_STAT_H=1
  28. -DHAVE_SYS_TYPES_H=1
  29. -DHAVE_TIFFCONF_H=1
  30. -DHAVE_UNISTD_H=1
  31. -DHasJPEG=1
  32. -DHasTHREADS=1
  33. -DHasTIFF=1
  34. -DHasZLIB=1
  35. -DLT_OBJDIR=\".libs/\"
  36. )
  37. IF (OS_WINDOWS)
  38. CFLAGS(
  39. -DHAVE_GMTIME_S=1
  40. )
  41. ELSE()
  42. CFLAGS(
  43. -DHAVE_GMTIME_R=1
  44. )
  45. ENDIF()
  46. SRCS(
  47. src/cmsalpha.c
  48. src/cmscam02.c
  49. src/cmscgats.c
  50. src/cmscnvrt.c
  51. src/cmserr.c
  52. src/cmsgamma.c
  53. src/cmsgmt.c
  54. src/cmshalf.c
  55. src/cmsintrp.c
  56. src/cmsio0.c
  57. src/cmsio1.c
  58. src/cmslut.c
  59. src/cmsmd5.c
  60. src/cmsmtrx.c
  61. src/cmsnamed.c
  62. src/cmsopt.c
  63. src/cmspack.c
  64. src/cmspcs.c
  65. src/cmsplugin.c
  66. src/cmsps2.c
  67. src/cmssamp.c
  68. src/cmssm.c
  69. src/cmstypes.c
  70. src/cmsvirt.c
  71. src/cmswtpnt.c
  72. src/cmsxform.c
  73. )
  74. END()
  75. RECURSE(
  76. utils/jpgicc
  77. utils/linkicc
  78. utils/psicc
  79. utils/tificc
  80. utils/transicc
  81. )