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