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