1#
2# SPDX-License-Identifier: BSD-3-Clause
3#
4# Copyright © 2020 Keith Packard
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:
9#
10# 1. Redistributions of source code must retain the above copyright
11#    notice, this list of conditions and the following disclaimer.
12#
13# 2. Redistributions in binary form must reproduce the above
14#    copyright notice, this list of conditions and the following
15#    disclaimer in the documentation and/or other materials provided
16#    with the distribution.
17#
18# 3. Neither the name of the copyright holder nor the names of its
19#    contributors may be used to endorse or promote products derived
20#    from this software without specific prior written permission.
21#
22# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
26# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
29# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
33# OF THE POSSIBILITY OF SUCH DAMAGE.
34#
35
36cctfiles = [
37    'big5.cct',
38    'cns11643_plane14.cct',
39    'cns11643_plane1.cct',
40    'cns11643_plane2.cct',
41    'cp775.cct',
42    'cp850.cct',
43    'cp852.cct',
44    'cp855.cct',
45    'cp866.cct',
46    'iso_8859_10.cct',
47    'iso_8859_11.cct',
48    'iso_8859_13.cct',
49    'iso_8859_14.cct',
50    'iso_8859_15.cct',
51    'iso_8859_1.cct',
52    'iso_8859_2.cct',
53    'iso_8859_3.cct',
54    'iso_8859_4.cct',
55    'iso_8859_5.cct',
56    'iso_8859_6.cct',
57    'iso_8859_7.cct',
58    'iso_8859_8.cct',
59    'iso_8859_9.cct',
60    'iso_ir_111.cct',
61    'jis_x0201_1976.cct',
62    'jis_x0208_1990.cct',
63    'jis_x0212_1990.cct',
64    'koi8_r.cct',
65    'koi8_ru.cct',
66    'koi8_u.cct',
67    'koi8_uni.cct',
68    'ksx1001.cct',
69    'win_1250.cct',
70    'win_1251.cct',
71    'win_1252.cct',
72    'win_1253.cct',
73    'win_1254.cct',
74    'win_1255.cct',
75    'win_1256.cct',
76    'win_1257.cct',
77    'win_1258.cct',
78]
79
80if newlib_iconv_external_ccs
81  install_data(cctfiles, install_dir: join_paths(newlib_iconv_dir, 'iconv_data'))
82endif
83