xref: /illumos-gate/usr/src/data/consfonts/Makefile (revision 731058ff)
14b529e40SToomas Soome#
24b529e40SToomas Soome# This file and its contents are supplied under the terms of the
34b529e40SToomas Soome# Common Development and Distribution License ("CDDL"), version 1.0.
44b529e40SToomas Soome# You may only use this file in accordance with the terms of version
54b529e40SToomas Soome# 1.0 of the CDDL.
64b529e40SToomas Soome#
74b529e40SToomas Soome# A full copy of the text of the CDDL should have accompanied this
84b529e40SToomas Soome# source.  A copy of the CDDL is also available via the Internet at
94b529e40SToomas Soome# http://www.illumos.org/license/CDDL.
104b529e40SToomas Soome#
114b529e40SToomas Soome
124b529e40SToomas Soome#
134b529e40SToomas Soome# Copyright 2017 Toomas Soome <tsoome@me.com>
144b529e40SToomas Soome#
154b529e40SToomas Soome
164b529e40SToomas SoomeGALLANT_FNT=	Gallant19.fnt
174b529e40SToomas SoomeGALLANT_SRC=	Gallant19.bdf
184b529e40SToomas Soome
194b529e40SToomas Soome6x12_FNT=	6x12.fnt
204b529e40SToomas Soome6x12_SRC=	ter-u12n.bdf ter-u12b.bdf
214b529e40SToomas Soome
22*731058ffSToomas Soome6x12b_FNT=	6x12b.fnt
23*731058ffSToomas Soome6x12b_SRC=	ter-u12b.bdf
24*731058ffSToomas Soome
254b529e40SToomas Soome8x14_FNT=	8x14.fnt
264b529e40SToomas Soome8x14_SRC=	ter-u14n.bdf ter-u14b.bdf
274b529e40SToomas Soome
28*731058ffSToomas Soome8x14b_FNT=	8x14b.fnt
29*731058ffSToomas Soome8x14b_SRC=	ter-u14b.bdf
30*731058ffSToomas Soome
31*731058ffSToomas Soome8x14v_FNT=	8x14v.fnt
32*731058ffSToomas Soome8x14v_SRC=	ter-u14v.bdf
33*731058ffSToomas Soome
344b529e40SToomas Soome8x16_FNT=	8x16.fnt
354b529e40SToomas Soome8x16_SRC=	ter-u16n.bdf ter-u16b.bdf
364b529e40SToomas Soome
37*731058ffSToomas Soome8x16b_FNT=	8x16b.fnt
38*731058ffSToomas Soome8x16b_SRC=	ter-u16b.bdf
39*731058ffSToomas Soome
40*731058ffSToomas Soome8x16v_FNT=	8x16v.fnt
41*731058ffSToomas Soome8x16v_SRC=	ter-u16v.bdf
42*731058ffSToomas Soome
434b529e40SToomas Soome10x18_FNT=	10x18.fnt
444b529e40SToomas Soome10x18_SRC=	ter-u18n.bdf ter-u18b.bdf
454b529e40SToomas Soome
46*731058ffSToomas Soome10x18b_FNT=	10x18b.fnt
47*731058ffSToomas Soome10x18b_SRC=	ter-u18b.bdf
48*731058ffSToomas Soome
494b529e40SToomas Soome10x20_FNT=	10x20.fnt
504b529e40SToomas Soome10x20_SRC=	ter-u20n.bdf ter-u20b.bdf
514b529e40SToomas Soome
52*731058ffSToomas Soome10x20b_FNT=	10x20b.fnt
53*731058ffSToomas Soome10x20b_SRC=	ter-u20b.bdf
54*731058ffSToomas Soome
554b529e40SToomas Soome11x22_FNT=	11x22.fnt
564b529e40SToomas Soome11x22_SRC=	ter-u22n.bdf ter-u22b.bdf
574b529e40SToomas Soome
58*731058ffSToomas Soome11x22b_FNT=	11x22b.fnt
59*731058ffSToomas Soome11x22b_SRC=	ter-u22b.bdf
60*731058ffSToomas Soome
614b529e40SToomas Soome12x24_FNT=	12x24.fnt
624b529e40SToomas Soome12x24_SRC=	ter-u24n.bdf ter-u24b.bdf
634b529e40SToomas Soome
64*731058ffSToomas Soome12x24b_FNT=	12x24b.fnt
65*731058ffSToomas Soome12x24b_SRC=	ter-u24b.bdf
66*731058ffSToomas Soome
674b529e40SToomas Soome14x28_FNT=	14x28.fnt
684b529e40SToomas Soome14x28_SRC=	ter-u28n.bdf ter-u28b.bdf
694b529e40SToomas Soome
70*731058ffSToomas Soome14x28b_FNT=	14x28b.fnt
71*731058ffSToomas Soome14x28b_SRC=	ter-u28b.bdf
72*731058ffSToomas Soome
734b529e40SToomas Soome16x32_FNT=	16x32.fnt
744b529e40SToomas Soome16x32_SRC=	ter-u32n.bdf ter-u32b.bdf
754b529e40SToomas Soome
76*731058ffSToomas Soome16x32b_FNT=	16x32b.fnt
77*731058ffSToomas Soome16x32b_SRC=	ter-u32b.bdf
78*731058ffSToomas Soome
794b529e40SToomas SoomeFONTS=	$(GALLANT_FNT) $(6x12_FNT) $(8x14_FNT) $(8x16_FNT) $(10x18_FNT)
804b529e40SToomas SoomeFONTS += $(10x20_FNT) $(11x22_FNT) $(12x24_FNT) $(14x28_FNT) $(16x32_FNT)
81*731058ffSToomas SoomeFONTS += $(6x12b_FNT) $(8x14b_FNT) $(8x14v_FNT) $(8x16b_FNT) $(8x16v_FNT)
82*731058ffSToomas SoomeFONTS += $(10x18b_FNT) $(10x20b_FNT) $(11x22b_FNT) $(12x24b_FNT)
83*731058ffSToomas SoomeFONTS += $(14x28b_FNT) $(16x32b_FNT)
844b529e40SToomas SoomeFILES= fonts.dir $(FONTS)
854b529e40SToomas Soome
864b529e40SToomas Soomeinclude ../Makefile.data
874b529e40SToomas Soome
884b529e40SToomas SoomeROOTFONTDIR=	$(ROOT)/boot/fonts
894b529e40SToomas SoomeROOTFONTS=	$(FILES:%=$(ROOTFONTDIR)/%)
904b529e40SToomas SoomeROOTLINK=	$(ROOTSHLIB)/fonts
914b529e40SToomas Soome
924b529e40SToomas Soome$(ROOTFONTS) := FILEMODE = 0444
934b529e40SToomas Soome
944b529e40SToomas Soome$(ROOTFONTDIR)/%: %
954b529e40SToomas Soome	$(INS.file)
964b529e40SToomas Soome
974b529e40SToomas Soomeall:	$(FONTS)
984b529e40SToomas Soome
994b529e40SToomas Soomeinstall: all $(ROOTFONTDIR) $(ROOTFONTS) $(ROOTLINK)
1004b529e40SToomas Soome
1014b529e40SToomas Soomeclean:
1024b529e40SToomas Soome	-$(RM) $(FONTS)
1034b529e40SToomas Soome
1044b529e40SToomas Soome$(ROOTFONTDIR):
1054b529e40SToomas Soome	$(INS.dir)
1064b529e40SToomas Soome
1074b529e40SToomas Soome$(ROOTLINK): $(ROOTFONTDIR)
1084b529e40SToomas Soome	-$(RM) $@
1094b529e40SToomas Soome	-$(LN) -s ../../../boot/fonts $@
1104b529e40SToomas Soome
1114b529e40SToomas Soome$(GALLANT_FNT): $(GALLANT_SRC)
1124b529e40SToomas Soome	$(VTFONTCVT) -o $@ $(GALLANT_SRC)
1134b529e40SToomas Soome
1144b529e40SToomas Soome$(6x12_FNT): $(6x12_SRC)
1154b529e40SToomas Soome	$(VTFONTCVT) -o $@ $(6x12_SRC)
1164b529e40SToomas Soome
1174b529e40SToomas Soome$(8x14_FNT): $(8x14_SRC)
1184b529e40SToomas Soome	$(VTFONTCVT) -o $@ $(8x14_SRC)
1194b529e40SToomas Soome
1204b529e40SToomas Soome$(8x16_FNT): $(8x16_SRC)
1214b529e40SToomas Soome	$(VTFONTCVT) -o $@ $(8x16_SRC)
1224b529e40SToomas Soome
1234b529e40SToomas Soome$(10x18_FNT): $(10x18_SRC)
1244b529e40SToomas Soome	$(VTFONTCVT) -o $@ $(10x18_SRC)
1254b529e40SToomas Soome
1264b529e40SToomas Soome$(10x20_FNT): $(10x20_SRC)
1274b529e40SToomas Soome	$(VTFONTCVT) -o $@ $(10x20_SRC)
1284b529e40SToomas Soome
1294b529e40SToomas Soome$(11x22_FNT): $(11x22_SRC)
1304b529e40SToomas Soome	$(VTFONTCVT) -o $@ $(11x22_SRC)
1314b529e40SToomas Soome
1324b529e40SToomas Soome$(12x24_FNT): $(12x24_SRC)
1334b529e40SToomas Soome	$(VTFONTCVT) -o $@ $(12x24_SRC)
1344b529e40SToomas Soome
1354b529e40SToomas Soome$(14x28_FNT): $(14x28_SRC)
1364b529e40SToomas Soome	$(VTFONTCVT) -o $@ $(14x28_SRC)
1374b529e40SToomas Soome
1384b529e40SToomas Soome$(16x32_FNT): $(16x32_SRC)
1394b529e40SToomas Soome	$(VTFONTCVT) -o $@ $(16x32_SRC)
1404b529e40SToomas Soome
141*731058ffSToomas Soome$(6x12b_FNT): $(6x12b_SRC)
142*731058ffSToomas Soome	$(VTFONTCVT) -o $@ $(6x12b_SRC)
143*731058ffSToomas Soome
144*731058ffSToomas Soome$(8x14b_FNT): $(8x14b_SRC)
145*731058ffSToomas Soome	$(VTFONTCVT) -o $@ $(8x14b_SRC)
146*731058ffSToomas Soome
147*731058ffSToomas Soome$(8x14v_FNT): $(8x14v_SRC)
148*731058ffSToomas Soome	$(VTFONTCVT) -o $@ $(8x14v_SRC)
149*731058ffSToomas Soome
150*731058ffSToomas Soome$(8x16b_FNT): $(8x16b_SRC)
151*731058ffSToomas Soome	$(VTFONTCVT) -o $@ $(8x16b_SRC)
152*731058ffSToomas Soome
153*731058ffSToomas Soome$(8x16v_FNT): $(8x16v_SRC)
154*731058ffSToomas Soome	$(VTFONTCVT) -o $@ $(8x16v_SRC)
155*731058ffSToomas Soome
156*731058ffSToomas Soome$(10x18b_FNT): $(10x18b_SRC)
157*731058ffSToomas Soome	$(VTFONTCVT) -o $@ $(10x18b_SRC)
158*731058ffSToomas Soome
159*731058ffSToomas Soome$(10x20b_FNT): $(10x20b_SRC)
160*731058ffSToomas Soome	$(VTFONTCVT) -o $@ $(10x20b_SRC)
161*731058ffSToomas Soome
162*731058ffSToomas Soome$(11x22b_FNT): $(11x22b_SRC)
163*731058ffSToomas Soome	$(VTFONTCVT) -o $@ $(11x22b_SRC)
164*731058ffSToomas Soome
165*731058ffSToomas Soome$(12x24b_FNT): $(12x24b_SRC)
166*731058ffSToomas Soome	$(VTFONTCVT) -o $@ $(12x24b_SRC)
167*731058ffSToomas Soome
168*731058ffSToomas Soome$(14x28b_FNT): $(14x28b_SRC)
169*731058ffSToomas Soome	$(VTFONTCVT) -o $@ $(14x28b_SRC)
170*731058ffSToomas Soome
171*731058ffSToomas Soome$(16x32b_FNT): $(16x32b_SRC)
172*731058ffSToomas Soome	$(VTFONTCVT) -o $@ $(16x32b_SRC)
173*731058ffSToomas Soome
1744b529e40SToomas Soomeinclude ../Makefile.targ
175