xref: /freebsd/stand/fonts/Makefile (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
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	8x16b.fnt.gz \
13	8x16v.fnt.gz \
14	10x18.fnt.gz \
15	10x20.fnt.gz \
16	11x22.fnt.gz \
17	12x24.fnt.gz \
18	14x28.fnt.gz \
19	16x32.fnt.gz \
20
21FILES=	${FONTS} INDEX.fonts
22FILESDIR=	/boot/fonts
23
24CLEANFILES+=	${FONTS} ${FONTS:T:S/${COMPRESS_EXT}//g}
25
266x12.fnt.gz: 6x12.fnt
27	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
288x14.fnt.gz: 8x14.fnt
29	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
308x14v.fnt.gz: 8x14v.fnt
31	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
328x16.fnt.gz: 8x16.fnt
33	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
348x16b.fnt.gz: 8x16b.fnt
35	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
368x16v.fnt.gz: 8x16v.fnt
37	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
3810x18.fnt.gz: 10x18.fnt
39	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4010x20.fnt.gz: 10x20.fnt
41	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4211x22.fnt.gz: 11x22.fnt
43	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4412x24.fnt.gz: 12x24.fnt
45	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4614x28.fnt.gz: 14x28.fnt
47	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
4816x32.fnt.gz: 16x32.fnt
49	${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
50
516x12.fnt: ter-u12n.bdf ter-u12b.bdf
52	vtfontcvt -o ${.TARGET} ${.ALLSRC}
53
548x14.fnt: ter-u14n.bdf ter-u14b.bdf
55	vtfontcvt -o ${.TARGET} ${.ALLSRC}
56
578x14v.fnt: ter-u14v.bdf
58	vtfontcvt -o ${.TARGET} ${.ALLSRC}
59
608x16.fnt: ter-u16n.bdf ter-u16b.bdf
61	vtfontcvt -o ${.TARGET} ${.ALLSRC}
62
638x16b.fnt: ter-u16b.bdf
64	vtfontcvt -o ${.TARGET} ${.ALLSRC}
65
668x16v.fnt: ter-u16v.bdf
67	vtfontcvt -o ${.TARGET} ${.ALLSRC}
68
6910x18.fnt: ter-u18n.bdf ter-u18b.bdf
70	vtfontcvt -o ${.TARGET} ${.ALLSRC}
71
7210x20.fnt: ter-u20n.bdf ter-u20b.bdf
73	vtfontcvt -o ${.TARGET} ${.ALLSRC}
74
7511x22.fnt: ter-u22n.bdf ter-u22b.bdf
76	vtfontcvt -o ${.TARGET} ${.ALLSRC}
77
7812x24.fnt: ter-u24n.bdf ter-u24b.bdf
79	vtfontcvt -o ${.TARGET} ${.ALLSRC}
80
8114x28.fnt: ter-u28n.bdf ter-u28b.bdf
82	vtfontcvt -o ${.TARGET} ${.ALLSRC}
83
8416x32.fnt: ter-u32n.bdf ter-u32b.bdf
85	vtfontcvt -o ${.TARGET} ${.ALLSRC}
86
87.include <bsd.prog.mk>
88