1999-08-28 02:22:10 +02:00
|
|
|
# $FreeBSD$
|
1998-01-03 15:09:21 +01:00
|
|
|
|
2000-01-08 19:11:06 +01:00
|
|
|
SCRMAPS = koi8-r2cp866.scm iso-8859-1_to_cp437.scm iso-8859-4_to_cp437.scm
|
1994-09-25 04:41:43 +01:00
|
|
|
|
|
|
|
SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g}
|
1998-01-03 15:09:21 +01:00
|
|
|
SCRDIR = ${SHAREDIR}/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}
|
|
|
|
|
1998-07-07 04:30:45 +02:00
|
|
|
build-tools: ${SCRMAPS_MK}
|
|
|
|
|
1994-09-25 04:41:43 +01:00
|
|
|
install:
|
1998-01-03 15:09:21 +01:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} \
|
|
|
|
${SCRMAPS} ${DESTDIR}${SCRDIR}
|
1994-09-25 04:41:43 +01:00
|
|
|
|
|
|
|
${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
|
1998-08-30 22:31:57 +02:00
|
|
|
${CC} -static ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" ${LDFLAGS} \
|
1998-07-07 04:30:45 +02:00
|
|
|
-o ${.TARGET} ${.CURDIR}/mkscrfil.c
|
1994-09-25 04:41:43 +01:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|