aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-checksums/ya.make
blob: db901e9d09baa55851b250bd5bd0c74b1197312e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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()