Makefile revision 86801
1# $FreeBSD: head/share/syscons/scrnmaps/Makefile 86801 2001-11-23 01:39:42Z ache $ 2 3SCRMAPS = iso-8859-1_to_cp437.scm iso-8859-4_for_vga9.scm \ 4 iso-8859-7_to_cp437.scm \ 5 koi8-r2cp866.scm koi8-u2cp866u.scm 6 7SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g} 8SCRDIR = ${SHAREDIR}/syscons/scrnmaps 9CLEANFILES+= ${SCRMAPS_MK} ${SCRMAPS} 10 11NOMAN = noman 12 13all: ${SCRMAPS} 14 15build-tools: ${SCRMAPS_MK} 16 17install: 18 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} \ 19 ${SCRMAPS} ${DESTDIR}${SCRDIR} 20 21${SCRMAPS}: ${.TARGET:R}.mk 22 ./${.TARGET:R}.mk ${.TARGET:R}.tmp 23 uuencode ${.TARGET:R}.tmp ${.TARGET:R} > ${.TARGET} 24 rm -f ${.TARGET:R}.tmp 25 26${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c 27 ${CC} -static ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" ${LDFLAGS} \ 28 -o ${.TARGET} ${.CURDIR}/mkscrfil.c 29 30.include <bsd.prog.mk> 31