1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1998-01-03 14:09:21 +00:00
|
|
|
|
2001-11-23 01:39:42 +00:00
|
|
|
SCRMAPS = iso-8859-1_to_cp437.scm iso-8859-4_for_vga9.scm \
|
|
|
|
iso-8859-7_to_cp437.scm \
|
2001-11-23 11:15:21 +00:00
|
|
|
koi8-r2cp866.scm koi8-u2cp866u.scm \
|
|
|
|
us-ascii_to_cp437.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:
|
2002-07-29 09:40:17 +00:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} \
|
1998-01-03 14:09:21 +00:00
|
|
|
${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>
|