1994-09-26 20:00:55 +00:00
|
|
|
SCRMAPS = koi8-r2cp866.scm
|
1994-09-25 03:41:43 +00:00
|
|
|
|
|
|
|
SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g}
|
|
|
|
SCRDIR = /usr/share/syscons/scrnmaps
|
1994-09-25 03:59:46 +00:00
|
|
|
CLEANFILES+= ${SCRMAPS_MK} ${SCRMAPS}
|
1994-09-25 03:41:43 +00:00
|
|
|
|
|
|
|
NOMAN = noman
|
|
|
|
|
|
|
|
all: ${SCRMAPS}
|
|
|
|
|
|
|
|
install:
|
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SCRMAPS} \
|
|
|
|
${DESTDIR}${SCRDIR}
|
|
|
|
|
|
|
|
${SCRMAPS}: ${.TARGET:R}.mk
|
|
|
|
./${.TARGET:R}.mk ${.TARGET:R}.tmp
|
|
|
|
uuencode ${.TARGET:R}.tmp ${.TARGET:R} > ${.TARGET}
|
|
|
|
rm -f ${.TARGET:R}.tmp
|
|
|
|
|
|
|
|
${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c
|
|
|
|
${CC} ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" \
|
|
|
|
-o ${.TARGET} ${.CURDIR}/mkscrfil.c
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|