ya.make 660 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Generated by devtools/yamaker from nixpkgs 22.05.
  2. LIBRARY()
  3. LICENSE(Apache-2.0)
  4. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  5. VERSION(0.1.14)
  6. ORIGINAL_SOURCE(https://github.com/awslabs/aws-checksums/archive/v0.1.14.tar.gz)
  7. PEERDIR(
  8. contrib/restricted/aws/aws-c-common
  9. )
  10. ADDINCL(
  11. GLOBAL contrib/restricted/aws/aws-checksums/include
  12. )
  13. NO_COMPILER_WARNINGS()
  14. NO_RUNTIME()
  15. CFLAGS(
  16. -DAWS_CHECKSUMS_USE_IMPORT_EXPORT
  17. -DAWS_COMMON_USE_IMPORT_EXPORT
  18. -DHAVE_SYSCONF
  19. )
  20. IF (BUILD_TYPE == "DEBUG")
  21. CFLAGS(
  22. -DDEBUG_BUILD
  23. )
  24. ENDIF()
  25. SRCS(
  26. source/crc.c
  27. source/crc_sw.c
  28. source/intel/asm/crc32c_sse42_asm.c
  29. )
  30. END()