Makefile revision 3077
1SCRMAPS = koi8-r2cp866.scm 2 3SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g} 4SCRDIR = /usr/share/syscons/scrnmaps 5CLEANFILES+= ${SCRMAPS_MK} 6 7NOMAN = noman 8 9all: ${SCRMAPS} 10 11install: 12 cd ${.CURDIR}; \ 13 install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SCRMAPS} \ 14 ${DESTDIR}${SCRDIR} 15 16${SCRMAPS}: ${.TARGET:R}.mk 17 ./${.TARGET:R}.mk ${.TARGET:R}.tmp 18 uuencode ${.TARGET:R}.tmp ${.TARGET:R} > ${.TARGET} 19 rm -f ${.TARGET:R}.tmp 20 21${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c 22 ${CC} ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" \ 23 -o ${.TARGET} ${.CURDIR}/mkscrfil.c 24 25.include <bsd.prog.mk> 26