1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/share/syscons/scrnmaps/Makefile
Ruslan Ermilov d2893b161b Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00

32 lines
763 B
Makefile

# $FreeBSD$
SCRMAPS = iso-8859-1_to_cp437.scm iso-8859-4_for_vga9.scm \
iso-8859-7_to_cp437.scm \
koi8-r2cp866.scm koi8-u2cp866u.scm \
us-ascii_to_cp437.scm
SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g}
SCRDIR = ${SHAREDIR}/syscons/scrnmaps
CLEANFILES+= ${SCRMAPS_MK} ${SCRMAPS}
NOMAN = noman
all: ${SCRMAPS}
build-tools: ${SCRMAPS_MK}
install:
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} \
${SCRMAPS} ${DESTDIR}${SCRDIR}
${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
${CC} -static ${CFLAGS} -I${.CURDIR} -DFIL=\"${.TARGET:R}\" ${LDFLAGS} \
-o ${.TARGET} ${.CURDIR}/mkscrfil.c
.include <bsd.prog.mk>