aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-checksums/ya.make
blob: a08a095ee1a169b989103a5707ba7881a7687788 (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
44
45
# Generated by devtools/yamaker.

LIBRARY()

OWNER(g:cpp-contrib)

VERSION(0.1.10)

LICENSE(Apache-2.0)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

PEERDIR(
    contrib/restricted/aws/aws-c-common
)

ADDINCL(
    GLOBAL contrib/restricted/aws/aws-checksums/include
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

CFLAGS(
    -DAWS_CHECKSUMS_EXPORTS
    -DAWS_CHECKSUMS_USE_IMPORT_EXPORT
    -DAWS_COMMON_USE_IMPORT_EXPORT
    -DHAVE_SYSCONF
    -Daws_checksums_EXPORTS
)

IF (BUILD_TYPE == "DEBUG")
    CFLAGS(
        -DDEBUG_BUILD
    )
ENDIF()

SRCS(
    source/crc.c
    source/crc_sw.c
    source/intel/asm/crc32c_sse42_asm.c
)

END()