-
Notifications
You must be signed in to change notification settings - Fork 9
/
country.mk
124 lines (101 loc) · 2.92 KB
/
country.mk
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
116
117
118
119
120
121
122
123
124
#
# country.mk - the country tables
#
# Copyright (C) 2002-2017 The EmuTOS development team
#
# This file is distributed under the GPL, version 2 or at your
# option any later version. See doc/license.txt for details.
#
# this file is included in the Makefile to build unique-country ROMs.
#
# information in lines below serve also as source to fill the tables
# needed by bios/country.c (tables generated in bios/ctables.h). For
# each country there should be a four line paragraph giving the language,
# keyboard code, charset and IDT.
#
i18n_us_lang = us
i18n_us_keyb = US
i18n_us_cset = ST
i18n_us_idt = IDT_12H | IDT_MMDDYY | '/'
i18n_de_lang = de
i18n_de_keyb = DE
i18n_de_cset = ST
i18n_de_idt = IDT_24H | IDT_DDMMYY | '.'
i18n_fr_lang = fr
i18n_fr_keyb = FR
i18n_fr_cset = ST
i18n_fr_idt = IDT_24H | IDT_DDMMYY | '/'
i18n_cz_lang = cs
i18n_cz_keyb = CZ
i18n_cz_cset = L2
i18n_cz_idt = IDT_24H | IDT_DDMMYY | '.'
i18n_gr_lang = gr
i18n_gr_keyb = GR
i18n_gr_cset = GR
i18n_gr_idt = IDT_24H | IDT_DDMMYY | '/'
i18n_es_lang = es
i18n_es_keyb = US
i18n_es_cset = L9
i18n_es_idt = IDT_24H | IDT_DDMMYY | '/'
i18n_fi_lang = fi
i18n_fi_keyb = SE
i18n_fi_cset = ST
i18n_fi_idt = IDT_24H | IDT_DDMMYY | '.'
i18n_sg_lang = de
i18n_sg_keyb = SG
i18n_sg_cset = ST
i18n_sg_idt = IDT_24H | IDT_DDMMYY | '.'
i18n_ru_lang = ru
i18n_ru_keyb = RU
i18n_ru_cset = RU
i18n_ru_idt = IDT_24H | IDT_DDMMYY | '/'
i18n_it_lang = it
i18n_it_keyb = IT
i18n_it_cset = ST
i18n_it_idt = IDT_24H | IDT_DDMMYY | '/'
i18n_uk_lang = us
i18n_uk_keyb = UK
i18n_uk_cset = ST
i18n_uk_idt = IDT_12H | IDT_DDMMYY | '/'
i18n_no_lang = us
i18n_no_keyb = NO
i18n_no_cset = ST
i18n_no_idt = IDT_24H | IDT_DDMMYY | '/'
i18n_se_lang = us
i18n_se_keyb = SE
i18n_se_cset = ST
i18n_se_idt = IDT_24H | IDT_DDMMYY | '/'
COUNTRIES = us de fr cz gr es fi sg ru it uk no se
ifeq (,$(findstring $(COUNTRY),$(COUNTRIES)))
$(error Unknown COUNTRY=$(COUNTRY))
endif
#
ETOSLANG = $(i18n_$(COUNTRY)_lang)
ifeq (,$(ETOSLANG))
$(error Variable i18n_$(COUNTRY)_lang incorrectly configured)
endif
ETOSKEYB = $(i18n_$(COUNTRY)_keyb)
ifeq (,$(ETOSKEYB))
$(error Variable i18n_$(COUNTRY)_keyb incorrectly configured)
endif
ETOSCSET = $(i18n_$(COUNTRY)_cset)
ifeq (,$(ETOSCSET))
$(error Variable i18n_$(COUNTRY)_cset incorrectly configured)
endif
ETOSIDT = $(i18n_$(COUNTRY)_idt)
ifeq (,$(ETOSIDT))
$(error Variable i18n_$(COUNTRY)_idt incorrectly configured)
endif
#
FONTOBJ_ST = fnt_st_6x6.o fnt_st_8x8.o fnt_st_8x16.o
FONTOBJ_L2 = fnt_l2_6x6.o fnt_l2_8x8.o fnt_l2_8x16.o
FONTOBJ_L9 = fnt_l9_6x6.o fnt_l9_8x8.o fnt_l9_8x16.o
FONTOBJ_GR = fnt_gr_6x6.o fnt_gr_8x8.o fnt_gr_8x16.o
FONTOBJ_RU = fnt_ru_6x6.o fnt_ru_8x8.o fnt_ru_8x16.o
FONTOBJ_ALL = $(FONTOBJ_ST) $(FONTOBJ_L2) $(FONTOBJ_L9) $(FONTOBJ_GR) $(FONTOBJ_RU)
FONTOBJ_COMMON = obj/fnt_off_6x6.o obj/fnt_off_8x8.o
ifneq (,$(UNIQUE))
FONTOBJ = $(FONTOBJ_$(ETOSCSET):%=obj/%) $(FONTOBJ_COMMON)
else
FONTOBJ = $(FONTOBJ_ALL:%=obj/%) $(FONTOBJ_COMMON)
endif