aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/zlib/ya.make
blob: 84cd460f287e273a7048d8ee7a45514670daef79 (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
57
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(Zlib)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(1.3)

ORIGINAL_SOURCE(https://github.com/madler/zlib/archive/v1.3.tar.gz)

# TODO(YMAKE-92) Move this information out of ya.make and allow per project configuration
IF (OPENSOURCE_PROJECT == "catboost")
    OPENSOURCE_EXPORT_REPLACEMENT(
        CMAKE
        ZLIB
        CMAKE_TARGET
        ZLIB::ZLIB
        CONAN
        zlib/1.3
    )
ENDIF()

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