xref: /freebsd/stand/fonts/Makefile (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1
2.include <bsd.init.mk>
3
4.PATH: ${SRCTOP}/contrib/terminus
5
6FONTS=	\
7	6x12.fnt.gz \
8	8x14.fnt.gz \
9	8x14v.fnt.gz \
10	8x16.fnt.gz \
11	8x16b.fnt.gz \
12	8x16v.fnt.gz \
13	10x18.fnt.gz \
14	10x20.fnt.gz \
15	11x22.fnt.gz \
16	12x24.fnt.gz \
17	14x28.fnt.gz \
18	16x32.fnt.gz \
19
20FILES=	${FONTS} INDEX.fonts
21FILESDIR=	/boot/fonts
22
23CLEANFILES+=	${FONTS} ${FONTS:T:S/${COMPRESS_EXT}//g}
24
256x12.fnt.gz: 6x12.fnt
26	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
278x14.fnt.gz: 8x14.fnt
28	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
298x14v.fnt.gz: 8x14v.fnt
30	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
318x16.fnt.gz: 8x16.fnt
32	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
338x16b.fnt.gz: 8x16b.fnt
34	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
358x16v.fnt.gz: 8x16v.fnt
36	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
3710x18.fnt.gz: 10x18.fnt
38	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
3910x20.fnt.gz: 10x20.fnt
40	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4111x22.fnt.gz: 11x22.fnt
42	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4312x24.fnt.gz: 12x24.fnt
44	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4514x28.fnt.gz: 14x28.fnt
46	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4716x32.fnt.gz: 16x32.fnt
48	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
49
506x12.fnt: ter-u12n.bdf ter-u12b.bdf
51	vtfontcvt -o ${.TARGET} ${.ALLSRC}
52
538x14.fnt: ter-u14n.bdf ter-u14b.bdf
54	vtfontcvt -o ${.TARGET} ${.ALLSRC}
55
568x14v.fnt: ter-u14v.bdf
57	vtfontcvt -o ${.TARGET} ${.ALLSRC}
58
598x16.fnt: ter-u16n.bdf ter-u16b.bdf
60	vtfontcvt -o ${.TARGET} ${.ALLSRC}
61
628x16b.fnt: ter-u16b.bdf
63	vtfontcvt -o ${.TARGET} ${.ALLSRC}
64
658x16v.fnt: ter-u16v.bdf
66	vtfontcvt -o ${.TARGET} ${.ALLSRC}
67
6810x18.fnt: ter-u18n.bdf ter-u18b.bdf
69	vtfontcvt -o ${.TARGET} ${.ALLSRC}
70
7110x20.fnt: ter-u20n.bdf ter-u20b.bdf
72	vtfontcvt -o ${.TARGET} ${.ALLSRC}
73
7411x22.fnt: ter-u22n.bdf ter-u22b.bdf
75	vtfontcvt -o ${.TARGET} ${.ALLSRC}
76
7712x24.fnt: ter-u24n.bdf ter-u24b.bdf
78	vtfontcvt -o ${.TARGET} ${.ALLSRC}
79
8014x28.fnt: ter-u28n.bdf ter-u28b.bdf
81	vtfontcvt -o ${.TARGET} ${.ALLSRC}
82
8316x32.fnt: ter-u32n.bdf ter-u32b.bdf
84	vtfontcvt -o ${.TARGET} ${.ALLSRC}
85
86.include <bsd.prog.mk>
87