1 2PACKAGE= syscons-data 3 4SCRMAPS = armscii8-2haik8.scm \ 5 iso-8859-1_to_cp437.scm iso-8859-4_for_vga9.scm \ 6 iso-8859-7_to_cp437.scm \ 7 koi8-r2cp866.scm koi8-u2cp866u.scm \ 8 us-ascii_to_cp437.scm 9 10SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g} 11CLEANFILES+= ${SCRMAPS_MK} ${SCRMAPS} 12 13FILES= ${SCRMAPS} 14FILESDIR= ${SHAREDIR}/syscons/scrnmaps 15 16.if ${MACHINE} == "host" || ${MK_DIRDEPS_BUILD} == "no" 17DEPENDOBJS+= ${SCRMAPS_MK} 18build-tools: ${SCRMAPS_MK} 19 20${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c ${BUILD_TOOLS_META} 21 ${CC:N${CCACHE_BIN}} ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" \ 22 ${LDFLAGS} -o ${.TARGET} ${.CURDIR}/mkscrfil.c 23.endif 24 25${SCRMAPS}: ${.TARGET:R}.mk 26 ${BTOOLSPATH:U.}/${.TARGET:R}.mk ${.TARGET:R}.tmp 27 uuencode ${.TARGET:R}.tmp ${.TARGET:R} > ${.TARGET} 28 rm -f ${.TARGET:R}.tmp 29 30.include <bsd.prog.mk> 31