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