1023b3b36Smrg#  Copyright 2005 Red Hat, Inc.
2023b3b36Smrg#
3023b3b36Smrg#  Permission to use, copy, modify, distribute, and sell this software
4023b3b36Smrg#  and its documentation for any purpose is hereby granted without
5023b3b36Smrg#  fee, provided that the above copyright notice appear in all copies
6023b3b36Smrg#  and that both that copyright notice and this permission notice
7023b3b36Smrg#  appear in supporting documentation, and that the name of Red Hat
8023b3b36Smrg#  not be used in advertising or publicity pertaining to distribution
9023b3b36Smrg#  of the software without specific, written prior permission.  Red
10023b3b36Smrg#  Hat makes no representations about the suitability of this software
11023b3b36Smrg#  for any purpose.  It is provided "as is" without express or implied
12023b3b36Smrg#  warranty.
13023b3b36Smrg#
14023b3b36Smrg#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15023b3b36Smrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
16023b3b36Smrg#  NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17023b3b36Smrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
18023b3b36Smrg#  OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
19023b3b36Smrg#  NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
20023b3b36Smrg#  CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21023b3b36Smrg
22023b3b36SmrgBDF2UCS_FONT_FILES = \
23023b3b36Smrg	clR6x12
24023b3b36SmrgEXTRA_FONT_FILES = \
25023b3b36Smrg	clB6x10 \
26023b3b36Smrg	clB6x12 \
27023b3b36Smrg	clB8x10 \
28023b3b36Smrg	clB8x12 \
29023b3b36Smrg	clB8x13 \
30023b3b36Smrg	clB8x14 \
31023b3b36Smrg	clB8x16 \
32023b3b36Smrg	clB8x8 \
33023b3b36Smrg	clB9x15 \
34023b3b36Smrg	clI6x12 \
35023b3b36Smrg	clI8x8 \
36023b3b36Smrg	clR4x6 \
37023b3b36Smrg	clR5x10 \
38023b3b36Smrg	clR5x6 \
39023b3b36Smrg	clR5x8 \
40023b3b36Smrg	clR6x10 \
41023b3b36Smrg	clR6x13 \
42023b3b36Smrg	clR6x6 \
43023b3b36Smrg	clR6x8 \
44023b3b36Smrg	clR7x10 \
45023b3b36Smrg	clR7x12 \
46023b3b36Smrg	clR7x14 \
47023b3b36Smrg	clR7x8 \
48023b3b36Smrg	clR8x10 \
49023b3b36Smrg	clR8x12 \
50023b3b36Smrg	clR8x13 \
51023b3b36Smrg	clR8x14 \
52023b3b36Smrg	clR8x16 \
53023b3b36Smrg	clR8x8 \
54023b3b36Smrg	clR9x15
55023b3b36SmrgFONT_FILES = $(BDF2UCS_FONT_FILES) $(EXTRA_FONT_FILES)
56023b3b36SmrgTRUNC_FONT_FILES = $(BDF2UCS_FONT_FILES)
57023b3b36Smrg
58023b3b36SmrgBDF_FILES = $(FONT_FILES:%=%.bdf)
59023b3b36SmrgPCF_FILES = $(FONT_FILES:%=%.pcf$(COMPRESS_SUFFIX))
60023b3b36Smrg
61023b3b36SmrgTRUNC_BDF_FILES = $(TRUNC_FONT_FILES:%=%t.bdf)
62023b3b36SmrgTRUNC_PCF_FILES = $(TRUNC_FONT_FILES:%=%.pcf$(COMPRESS_SUFFIX))
63023b3b36Smrg
64023b3b36Smrgif ISO8859_1
65023b3b36SmrgISO8859_1_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-1.bdf)
66023b3b36SmrgISO8859_1_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-1.pcf$(COMPRESS_SUFFIX))
67023b3b36Smrgendif
68023b3b36Smrg
69023b3b36Smrgif ISO8859_2
70023b3b36SmrgISO8859_2_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-2.bdf)
71023b3b36SmrgISO8859_2_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-2.pcf$(COMPRESS_SUFFIX))
72023b3b36Smrgendif
73023b3b36Smrg
74023b3b36Smrgif ISO8859_3
75023b3b36SmrgISO8859_3_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-3.bdf)
76023b3b36SmrgISO8859_3_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-3.pcf$(COMPRESS_SUFFIX))
77023b3b36Smrgendif
78023b3b36Smrg
79023b3b36Smrgif ISO8859_4
80023b3b36SmrgISO8859_4_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-4.bdf)
81023b3b36SmrgISO8859_4_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-4.pcf$(COMPRESS_SUFFIX))
82023b3b36Smrgendif
83023b3b36Smrg
84023b3b36Smrgif ISO8859_5
85023b3b36SmrgISO8859_5_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-5.bdf)
86023b3b36SmrgISO8859_5_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-5.pcf$(COMPRESS_SUFFIX))
87023b3b36Smrgendif
88023b3b36Smrg
89023b3b36Smrgif ISO8859_7
90023b3b36SmrgISO8859_7_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-7.bdf)
91023b3b36SmrgISO8859_7_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-7.pcf$(COMPRESS_SUFFIX))
92023b3b36Smrgendif
93023b3b36Smrg
94023b3b36Smrgif ISO8859_8
95023b3b36SmrgISO8859_8_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-8.bdf)
96023b3b36SmrgISO8859_8_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-8.pcf$(COMPRESS_SUFFIX))
97023b3b36Smrgendif
98023b3b36Smrg
99023b3b36Smrgif ISO8859_9
100023b3b36SmrgISO8859_9_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-9.bdf)
101023b3b36SmrgISO8859_9_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-9.pcf$(COMPRESS_SUFFIX))
102023b3b36Smrgendif
103023b3b36Smrg
104023b3b36Smrgif ISO8859_10
105023b3b36SmrgISO8859_10_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-10.bdf)
106023b3b36SmrgISO8859_10_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-10.pcf$(COMPRESS_SUFFIX))
107023b3b36Smrgendif
108023b3b36Smrg
109023b3b36Smrgif ISO8859_13
110023b3b36SmrgISO8859_13_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-13.bdf)
111023b3b36SmrgISO8859_13_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-13.pcf$(COMPRESS_SUFFIX))
112023b3b36Smrgendif
113023b3b36Smrg
114023b3b36Smrgif ISO8859_14
115023b3b36SmrgISO8859_14_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-14.bdf)
116023b3b36SmrgISO8859_14_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-14.pcf$(COMPRESS_SUFFIX))
117023b3b36Smrgendif
118023b3b36Smrg
119023b3b36Smrgif ISO8859_15
120023b3b36SmrgISO8859_15_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-15.bdf)
121023b3b36SmrgISO8859_15_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-15.pcf$(COMPRESS_SUFFIX))
122023b3b36Smrgendif
123023b3b36Smrg
124023b3b36Smrgif ISO8859_16
125023b3b36SmrgISO8859_16_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-16.bdf)
126023b3b36SmrgISO8859_16_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-ISO8859-16.pcf$(COMPRESS_SUFFIX))
127023b3b36Smrgendif
128023b3b36Smrg
129023b3b36Smrgif KOI8_R
130023b3b36SmrgKOI8_R_BDF_FILES = $(BDF2UCS_FONT_FILES:%=%-KOI8-R.bdf)
131023b3b36SmrgKOI8_R_PCF_FILES = $(BDF2UCS_FONT_FILES:%=%-KOI8-R.pcf$(COMPRESS_SUFFIX))
132023b3b36Smrgendif
133023b3b36Smrg
134023b3b36SmrgUTIL_DIR = @MAPFILES_PATH@
135023b3b36Smrg
136023b3b36SmrgSUFFIXES = .bdf .pcf$(COMPRESS_SUFFIX) t.bdf \
137023b3b36Smrg	-ISO8859-1.bdf \
138023b3b36Smrg	-ISO8859-2.bdf \
139023b3b36Smrg	-ISO8859-3.bdf \
140023b3b36Smrg	-ISO8859-4.bdf \
141023b3b36Smrg	-ISO8859-5.bdf \
142023b3b36Smrg	-ISO8859-7.bdf \
143023b3b36Smrg	-ISO8859-8.bdf \
144023b3b36Smrg	-ISO8859-9.bdf \
145023b3b36Smrg	-ISO8859-10.bdf \
146023b3b36Smrg	-ISO8859-13.bdf \
147023b3b36Smrg	-ISO8859-14.bdf \
148023b3b36Smrg	-ISO8859-15.bdf \
149023b3b36Smrg	-ISO8859-16.bdf \
150023b3b36Smrg	-KOI8-R.bdf
151023b3b36Smrg
152023b3b36Smrg.bdf.pcf$(COMPRESS_SUFFIX):
153023b3b36Smrg	@rm -f $@
154023b3b36Smrg	$(AM_V_GEN)$(BDFTOPCF) -t $< | $(COMPRESS) > $@
155023b3b36Smrg
156023b3b36Smrg.bdft.bdf:
157023b3b36Smrg	@rm -f $@
158023b3b36Smrg	$(BDFTRUNCATE) 0x3200 < $< > $@
159023b3b36Smrg
160023b3b36Smrg.bdf-ISO8859-1.bdf:
161023b3b36Smrg	@rm -f $@
162023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-1 ISO8859-1
163023b3b36Smrg
164023b3b36Smrg.bdf-ISO8859-2.bdf:
165023b3b36Smrg	@rm -f $@
166023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-2 ISO8859-2
167023b3b36Smrg
168023b3b36Smrg.bdf-ISO8859-3.bdf:
169023b3b36Smrg	@rm -f $@
170023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-3 ISO8859-3
171023b3b36Smrg
172023b3b36Smrg.bdf-ISO8859-4.bdf:
173023b3b36Smrg	@rm -f $@
174023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-4 ISO8859-4
175023b3b36Smrg
176023b3b36Smrg.bdf-ISO8859-5.bdf:
177023b3b36Smrg	@rm -f $@
178023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-5 ISO8859-5
179023b3b36Smrg
180023b3b36Smrg.bdf-ISO8859-7.bdf:
181023b3b36Smrg	@rm -f $@
182023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-7 ISO8859-7
183023b3b36Smrg
184023b3b36Smrg.bdf-ISO8859-8.bdf:
185023b3b36Smrg	@rm -f $@
186023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-8 ISO8859-8
187023b3b36Smrg
188023b3b36Smrg.bdf-ISO8859-9.bdf:
189023b3b36Smrg	@rm -f $@
190023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-9 ISO8859-9
191023b3b36Smrg
192023b3b36Smrg.bdf-ISO8859-10.bdf:
193023b3b36Smrg	@rm -f $@
194023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-10 ISO8859-10
195023b3b36Smrg
196023b3b36Smrg.bdf-ISO8859-13.bdf:
197023b3b36Smrg	@rm -f $@
198023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-13 ISO8859-13
199023b3b36Smrg
200023b3b36Smrg.bdf-ISO8859-14.bdf:
201023b3b36Smrg	@rm -f $@
202023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-14 ISO8859-14
203023b3b36Smrg
204023b3b36Smrg.bdf-ISO8859-15.bdf:
205023b3b36Smrg	@rm -f $@
206023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-15 ISO8859-15
207023b3b36Smrg
208023b3b36Smrg.bdf-ISO8859-16.bdf:
209023b3b36Smrg	@rm -f $@
210023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-16 ISO8859-16
211023b3b36Smrg
212023b3b36Smrg.bdf-KOI8-R.bdf:
213023b3b36Smrg	@rm -f $@
214023b3b36Smrg	$(AM_V_GEN)$(UCS2ANY) $< $(UTIL_DIR)/map-KOI8-R KOI8-R
215023b3b36Smrg
216023b3b36Smrgt.bdf.pcf$(COMPRESS_SUFFIX):
217023b3b36Smrg	@rm -f $@
218023b3b36Smrg	$(AM_V_GEN)$(BDFTOPCF) -t $< | $(COMPRESS) $(COMPRESS_FLAGS) > $@
219023b3b36Smrg
220023b3b36Smrgfontdir = @FONTDIR@
221023b3b36Smrgfont_DATA = \
222023b3b36Smrg	$(PCF_FILES) \
223023b3b36Smrg	$(ISO8859_1_PCF_FILES) \
224023b3b36Smrg	$(ISO8859_2_PCF_FILES) \
225023b3b36Smrg	$(ISO8859_3_PCF_FILES) \
226023b3b36Smrg	$(ISO8859_4_PCF_FILES) \
227023b3b36Smrg	$(ISO8859_5_PCF_FILES) \
228023b3b36Smrg	$(ISO8859_7_PCF_FILES) \
229023b3b36Smrg	$(ISO8859_8_PCF_FILES) \
230023b3b36Smrg	$(ISO8859_9_PCF_FILES) \
231023b3b36Smrg	$(ISO8859_10_PCF_FILES) \
232023b3b36Smrg	$(ISO8859_13_PCF_FILES) \
233023b3b36Smrg	$(ISO8859_14_PCF_FILES) \
234023b3b36Smrg	$(ISO8859_15_PCF_FILES) \
235023b3b36Smrg	$(ISO8859_16_PCF_FILES) \
236023b3b36Smrg	$(KOI8_R_PCF_FILES)
237023b3b36SmrgBUILT_BDF_FILES = \
238023b3b36Smrg	$(ISO8859_1_BDF_FILES) \
239023b3b36Smrg	$(ISO8859_2_BDF_FILES) \
240023b3b36Smrg	$(ISO8859_3_BDF_FILES) \
241023b3b36Smrg	$(ISO8859_4_BDF_FILES) \
242023b3b36Smrg	$(ISO8859_5_BDF_FILES) \
243023b3b36Smrg	$(ISO8859_7_BDF_FILES) \
244023b3b36Smrg	$(ISO8859_8_BDF_FILES) \
245023b3b36Smrg	$(ISO8859_9_BDF_FILES) \
246023b3b36Smrg	$(ISO8859_10_BDF_FILES) \
247023b3b36Smrg	$(ISO8859_13_BDF_FILES) \
248023b3b36Smrg	$(ISO8859_14_BDF_FILES) \
249023b3b36Smrg	$(ISO8859_15_BDF_FILES) \
250023b3b36Smrg	$(ISO8859_16_BDF_FILES) \
251023b3b36Smrg	$(KOI8_R_BDF_FILES)
252023b3b36SmrgCLEANFILES = $(font_DATA) $(TRUNC_BDF_FILES) $(BUILT_BDF_FILES)
253023b3b36Smrg
254023b3b36SmrgEXTRA_DIST = $(BDF_FILES) README.md
255023b3b36Smrg
256023b3b36SmrgMAINTAINERCLEANFILES = ChangeLog INSTALL
257023b3b36Smrg
258023b3b36Smrgall-local: $(BUILT_BDF_FILES) $(font_DATA)
259023b3b36Smrg
260023b3b36Smrginstall-data-hook:
261023b3b36Smrg	@rm -f $(DESTDIR)$(fontdir)/fonts.dir
262023b3b36Smrg	$(MKFONTDIR) $(DESTDIR)$(fontdir)
263023b3b36Smrg	@RUN_FCCACHE@
264023b3b36Smrg
265023b3b36Smrgdistuninstallcheck:
266023b3b36Smrg	@:
267023b3b36Smrg
268023b3b36Smrg
269023b3b36Smrg.PHONY: ChangeLog INSTALL
270023b3b36Smrg
271023b3b36SmrgINSTALL:
272023b3b36Smrg	$(INSTALL_CMD)
273023b3b36Smrg
274023b3b36SmrgChangeLog:
275023b3b36Smrg	$(CHANGELOG_CMD)
276023b3b36Smrg
277023b3b36Smrgdist-hook: ChangeLog INSTALL
278