aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/freetype/ya.make
blob: d013e29bbb6e9fdbf59381035c55019a73be0f7b (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(
    "(FTL  OR GPL-2.0-or-later)" AND
    "(FTL OR GPL-2.0-or-later)" AND
    BSL-1.0 AND
    FTL AND
    MIT AND
    MIT-Modern-Variant AND
    MIT-open-group AND
    Public-Domain AND
    Zlib
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(2.13.3)

ORIGINAL_SOURCE(https://gitlab.freedesktop.org/freetype/freetype/)

PEERDIR(
    contrib/libs/zlib
)

ADDINCL(
    GLOBAL contrib/libs/freetype/include
    contrib/libs/freetype/include/freetype/config
    contrib/libs/freetype/src/autofit
    contrib/libs/freetype/src/base
    contrib/libs/freetype/src/bdf
    contrib/libs/freetype/src/cache
    contrib/libs/freetype/src/cff
    contrib/libs/freetype/src/cid
    contrib/libs/freetype/src/dlg
    contrib/libs/freetype/src/lzw
    contrib/libs/freetype/src/pcf
    contrib/libs/freetype/src/pfr
    contrib/libs/freetype/src/psaux
    contrib/libs/freetype/src/pshinter
    contrib/libs/freetype/src/psnames
    contrib/libs/freetype/src/raster
    contrib/libs/freetype/src/sdf
    contrib/libs/freetype/src/sfnt
    contrib/libs/freetype/src/smooth
    contrib/libs/freetype/src/svg
    contrib/libs/freetype/src/truetype
    contrib/libs/freetype/src/type1
    contrib/libs/freetype/src/type42
    contrib/libs/freetype/src/winfonts
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

CFLAGS(
    -DFT2_BUILD_LIBRARY
    -DFT_CONFIG_OPTION_SYSTEM_ZLIB
)

SRCS(
    src/autofit/autofit.c
    src/base/ftbase.c
    src/base/ftbbox.c
    src/base/ftbdf.c
    src/base/ftbitmap.c
    src/base/ftcid.c
    src/base/ftdebug.c
    src/base/ftfstype.c
    src/base/ftgasp.c
    src/base/ftglyph.c
    src/base/ftgxval.c
    src/base/ftinit.c
    src/base/ftmm.c
    src/base/ftotval.c
    src/base/ftpatent.c
    src/base/ftpfr.c
    src/base/ftstroke.c
    src/base/ftsynth.c
    src/base/ftsystem.c
    src/base/fttype1.c
    src/base/ftwinfnt.c
    src/bdf/bdf.c
    src/bzip2/ftbzip2.c
    src/cache/ftcache.c
    src/cff/cff.c
    src/cid/type1cid.c
    src/dlg/dlgwrap.c
    src/gzip/ftgzip.c
    src/lzw/ftlzw.c
    src/pcf/pcf.c
    src/pfr/pfr.c
    src/psaux/psaux.c
    src/pshinter/pshinter.c
    src/psnames/psnames.c
    src/raster/raster.c
    src/sdf/sdf.c
    src/sfnt/sfnt.c
    src/smooth/smooth.c
    src/svg/svg.c
    src/truetype/truetype.c
    src/type1/type1.c
    src/type42/type42.c
    src/winfonts/winfnt.c
)

IF (OS_DARWIN)
    SRCS(
        src/base/ftmac.c
    )
ENDIF()

END()