xref: /freebsd/stand/fonts/Makefile (revision 82397d791966b09d344251bc709cd9db2b3a1902)
1# $FreeBSD$
2
3.include <bsd.init.mk>
4
5.PATH: ${SRCTOP}/contrib/terminus
6
7FONTS=	\
8	6x12.fnt.gz \
9	8x14.fnt.gz \
10	8x14v.fnt.gz \
11	8x16.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}
338x16v.fnt.gz: 8x16v.fnt
34	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
3510x18.fnt.gz: 10x18.fnt
36	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
3710x20.fnt.gz: 10x20.fnt
38	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
3911x22.fnt.gz: 11x22.fnt
40	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4112x24.fnt.gz: 12x24.fnt
42	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4314x28.fnt.gz: 14x28.fnt
44	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4516x32.fnt.gz: 16x32.fnt
46	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
47
486x12.fnt: ter-u12n.bdf ter-u12b.bdf
49	vtfontcvt -o ${.TARGET} ${.ALLSRC}
50
518x14.fnt: ter-u14n.bdf ter-u14b.bdf
52	vtfontcvt -o ${.TARGET} ${.ALLSRC}
53
548x14v.fnt: ter-u14v.bdf
55	vtfontcvt -o ${.TARGET} ${.ALLSRC}
56
578x16.fnt: ter-u16n.bdf ter-u16b.bdf
58	vtfontcvt -o ${.TARGET} ${.ALLSRC}
59
608x16v.fnt: ter-u16v.bdf
61	vtfontcvt -o ${.TARGET} ${.ALLSRC}
62
6310x18.fnt: ter-u18n.bdf ter-u18b.bdf
64	vtfontcvt -o ${.TARGET} ${.ALLSRC}
65
6610x20.fnt: ter-u20n.bdf ter-u20b.bdf
67	vtfontcvt -o ${.TARGET} ${.ALLSRC}
68
6911x22.fnt: ter-u22n.bdf ter-u22b.bdf
70	vtfontcvt -o ${.TARGET} ${.ALLSRC}
71
7212x24.fnt: ter-u24n.bdf ter-u24b.bdf
73	vtfontcvt -o ${.TARGET} ${.ALLSRC}
74
7514x28.fnt: ter-u28n.bdf ter-u28b.bdf
76	vtfontcvt -o ${.TARGET} ${.ALLSRC}
77
7816x32.fnt: ter-u32n.bdf ter-u32b.bdf
79	vtfontcvt -o ${.TARGET} ${.ALLSRC}
80
81.include <bsd.prog.mk>
82