1# $Id$ 2 3SCRMAPS = koi8-r2cp866.scm iso-8859-1_to_cp437.scm 4 5SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g} 6SCRDIR = ${SHAREDIR}/syscons/scrnmaps 7CLEANFILES+= ${SCRMAPS_MK} ${SCRMAPS} 8 9NOMAN = noman 10 11all: ${SCRMAPS} 12 13install: 14 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} \ 15 ${SCRMAPS} ${DESTDIR}${SCRDIR} 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}\" \ 24 -o ${.TARGET} ${.CURDIR}/mkscrfil.c 25 26.include <bsd.prog.mk> 27