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