libc: use one line per file when listing objects
[unleashed.git] / boot / fonts / Makefile
blobf10f294b82b04cba981c2685b4120d4ab2270462
2 # Copyright 2018 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
4 # Permission to use, copy, modify, and/or distribute this software for any
5 # purpose with or without fee is hereby granted, provided that the above
6 # copyright notice and this permission notice appear in all copies.
8 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .include <unleashed.mk>
19 FONTSDIR= ${BOOTDIR}/fonts
20 CONSFONTDIR= ${SRCTOP}/contrib/consfonts
22 FONTS= Gallant19.fnt \
23 6x12.fnt \
24 8x14.fnt \
25 8x16.fnt \
26 10x18.fnt \
27 10x20.fnt \
28 11x22.fnt \
29 12x24.fnt \
30 14x28.fnt \
31 16x32.fnt
33 SYMLINKS= ../../../boot/fonts /usr/share/lib/fonts
35 VTFONTCVT= vtfontcvt
37 all: ${FONTS}
39 proginstall:
40 [ -d ${DESTDIR}${FONTSDIR} ] || \
41 ${INSTALL} -d ${PROG_INSTALL_OWN} -m 755 ${DESTDIR}${FONTSDIR}
42 ${INSTALL} ${COPY} ${PROG_INSTALL_OWN} -m 444 \
43 ${CONSFONTDIR}/fonts.dir ${DESTDIR}${FONTSDIR}
44 .for f in ${FONTS}
45 ${INSTALL} ${COPY} ${PROG_INSTALL_OWN} -m 444 \
46 ${f} ${DESTDIR}${FONTSDIR}
47 .endfor
49 .PATH: ${CONSFONTDIR}
51 Gallant19.fnt: Gallant19.bdf
52 ${VTFONTCVT} -o ${.TARGET} ${.ALLSRC}
54 6x12.fnt: ter-u12n.bdf ter-u12b.bdf
55 ${VTFONTCVT} -o ${.TARGET} ${.ALLSRC}
57 8x14.fnt: ter-u14n.bdf ter-u14b.bdf
58 ${VTFONTCVT} -o ${.TARGET} ${.ALLSRC}
60 8x16.fnt: ter-u16n.bdf ter-u16b.bdf
61 ${VTFONTCVT} -o ${.TARGET} ${.ALLSRC}
63 10x18.fnt: ter-u18n.bdf ter-u18b.bdf
64 ${VTFONTCVT} -o ${.TARGET} ${.ALLSRC}
66 10x20.fnt: ter-u20n.bdf ter-u20b.bdf
67 ${VTFONTCVT} -o ${.TARGET} ${.ALLSRC}
69 11x22.fnt: ter-u22n.bdf ter-u22b.bdf
70 ${VTFONTCVT} -o ${.TARGET} ${.ALLSRC}
72 12x24.fnt: ter-u24n.bdf ter-u24b.bdf
73 ${VTFONTCVT} -o ${.TARGET} ${.ALLSRC}
75 14x28.fnt: ter-u28n.bdf ter-u28b.bdf
76 ${VTFONTCVT} -o ${.TARGET} ${.ALLSRC}
78 16x32.fnt: ter-u32n.bdf ter-u32b.bdf
79 ${VTFONTCVT} -o ${.TARGET} ${.ALLSRC}
81 .include <prog.mk>