1# $FreeBSD$ 2 3SCRMAPS = armscii8-2haik8.scm \ 4 iso-8859-1_to_cp437.scm iso-8859-4_for_vga9.scm \ 5 iso-8859-7_to_cp437.scm \ 6 koi8-r2cp866.scm koi8-u2cp866u.scm \ 7 us-ascii_to_cp437.scm 8 9SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g} 10CLEANFILES+= ${SCRMAPS_MK} ${SCRMAPS} 11 12FILES= ${SCRMAPS} 13FILESDIR= ${SHAREDIR}/syscons/scrnmaps 14 15build-tools: ${SCRMAPS_MK} 16 17${SCRMAPS}: ${.TARGET:R}.mk 18 ./${.TARGET:R}.mk ${.TARGET:R}.tmp 19 uuencode ${.TARGET:R}.tmp ${.TARGET:R} > ${.TARGET} 20 rm -f ${.TARGET:R}.tmp 21 22${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c 23 ${CC} ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" ${LDFLAGS} \ 24 -o ${.TARGET} ${.CURDIR}/mkscrfil.c 25 26.include <bsd.prog.mk> 27