aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/zlib/ya.make
blob: 3aa6c6b32df9ef8535bf9e54c9fb8de4b4283d8a (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
# 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()

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()