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:
|
1995-07-25 00:37:58 +00:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SCRMAPS} \
|
1994-09-25 03:41:43 +00:00
|
|
|
${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>
|