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