1994-09-26 21:00:55 +01:00
|
|
|
SCRMAPS = koi8-r2cp866.scm
|
1994-09-25 04:41:43 +01:00
|
|
|
|
|
|
|
SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g}
|
|
|
|
SCRDIR = /usr/share/syscons/scrnmaps
|
1994-09-25 04:59:46 +01:00
|
|
|
CLEANFILES+= ${SCRMAPS_MK} ${SCRMAPS}
|
1994-09-25 04:41:43 +01: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>
|