aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libtiff/ya.make
blob: 32e01ab8bd093723bbd265b0a97e27152127f843 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(
    BSD-3-Clause AND
    BSLA AND
    MIT AND
    libtiff
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(4.5.1)

ORIGINAL_SOURCE(https://gitlab.com/api/v4/projects/libtiff%2Flibtiff/repository/archive.tar.gz?sha=v4.5.1)

PEERDIR(
    contrib/libs/libjpeg-turbo
    contrib/libs/libwebp
    contrib/libs/lzma
    contrib/libs/zlib
    contrib/libs/zstd
)

ADDINCL(
    GLOBAL contrib/libs/libtiff
    contrib/libs/libjpeg-turbo
    contrib/libs/libwebp
    contrib/libs/zstd/include
)

NO_COMPILER_WARNINGS()

NO_UTIL()

SRCS(
    tif_aux.c
    tif_close.c
    tif_codec.c
    tif_color.c
    tif_compress.c
    tif_dir.c
    tif_dirinfo.c
    tif_dirread.c
    tif_dirwrite.c
    tif_dumpmode.c
    tif_error.c
    tif_extension.c
    tif_fax3.c
    tif_fax3sm.c
    tif_flush.c
    tif_getimage.c
    tif_hash_set.c
    tif_jbig.c
    tif_jpeg.c
    tif_jpeg_12.c
    tif_lerc.c
    tif_luv.c
    tif_lzma.c
    tif_lzw.c
    tif_next.c
    tif_ojpeg.c
    tif_open.c
    tif_packbits.c
    tif_pixarlog.c
    tif_predict.c
    tif_print.c
    tif_read.c
    tif_stream.cxx
    tif_strip.c
    tif_swab.c
    tif_thunder.c
    tif_tile.c
    tif_version.c
    tif_warning.c
    tif_webp.c
    tif_write.c
    tif_zip.c
    tif_zstd.c
)

IF (OS_WINDOWS)
    SRCS(
        tif_win32.c
    )
ELSE()
    SRCS(
        tif_unix.c
    )
ENDIF()

END()