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 15DEPENDOBJS+= ${SCRMAPS_MK} 16build-tools: ${SCRMAPS_MK} 17 18${SCRMAPS}: ${.TARGET:R}.mk 19 ${BTOOLSPATH:U.}/${.TARGET:R}.mk ${.TARGET:R}.tmp 20 uuencode ${.TARGET:R}.tmp ${.TARGET:R} > ${.TARGET} 21 rm -f ${.TARGET:R}.tmp 22 23${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c ${BUILD_TOOLS_META} 24 ${CC:N${CCACHE_BIN}} ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" \ 25 ${LDFLAGS} -o ${.TARGET} ${.CURDIR}/mkscrfil.c 26 27.include <bsd.prog.mk> 28