aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-checksums/ya.make
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/restricted/aws/aws-checksums/ya.make
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/restricted/aws/aws-checksums/ya.make')
-rw-r--r--contrib/restricted/aws/aws-checksums/ya.make43
1 files changed, 43 insertions, 0 deletions
diff --git a/contrib/restricted/aws/aws-checksums/ya.make b/contrib/restricted/aws/aws-checksums/ya.make
new file mode 100644
index 0000000000..db901e9d09
--- /dev/null
+++ b/contrib/restricted/aws/aws-checksums/ya.make
@@ -0,0 +1,43 @@
+# Generated by devtools/yamaker from nixpkgs 22.05.
+
+LIBRARY()
+
+LICENSE(Apache-2.0)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+VERSION(0.1.14)
+
+ORIGINAL_SOURCE(https://github.com/awslabs/aws-checksums/archive/v0.1.14.tar.gz)
+
+PEERDIR(
+ contrib/restricted/aws/aws-c-common
+)
+
+ADDINCL(
+ GLOBAL contrib/restricted/aws/aws-checksums/include
+)
+
+NO_COMPILER_WARNINGS()
+
+NO_RUNTIME()
+
+CFLAGS(
+ -DAWS_CHECKSUMS_USE_IMPORT_EXPORT
+ -DAWS_COMMON_USE_IMPORT_EXPORT
+ -DHAVE_SYSCONF
+)
+
+IF (BUILD_TYPE == "DEBUG")
+ CFLAGS(
+ -DDEBUG_BUILD
+ )
+ENDIF()
+
+SRCS(
+ source/crc.c
+ source/crc_sw.c
+ source/intel/asm/crc32c_sse42_asm.c
+)
+
+END()