aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/zlib/ya.make
blob: e2c7e23137857df0d805e40a58eb67c412ac07df (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
46
47
48
49
50
51
52
53
54
55
56
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(Zlib)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(1.2.13)

ORIGINAL_SOURCE(https://www.zlib.net/fossils/zlib-1.2.13.tar.gz)

OPENSOURCE_EXPORT_REPLACEMENT(
    CMAKE
    ZLIB
    CMAKE_TARGET
    ZLIB::ZLIB
    CONAN
    zlib/1.2.13
)

ADDINCL(
    GLOBAL contrib/libs/zlib/include
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

NO_SANITIZE_HEADERS()

IF (NOT MSVC)
    CFLAGS(
        -DHAVE_HIDDEN
    )
ENDIF()

SRCS(
    adler32.c
    compress.c
    crc32.c
    deflate.c
    gzclose.c
    gzlib.c
    gzread.c
    gzwrite.c
    infback.c
    inffast.c
    inflate.c
    inftrees.c
    trees.c
    uncompr.c
    zutil.c
)

END()