Makefile revision 75696
1# $FreeBSD: head/usr.bin/ee/Makefile 75696 2001-04-19 10:32:25Z ache $ 2 3CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \ 4 -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR 5 6PROG= ee 7CFLAGS+=-Wall 8LINKS= ${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit 9MLINKS= ee.1 ree.1 ee.1 edit.1 10DPADD= ${LIBNCURSES} 11LDADD= -lncurses 12 13LANGS= en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1 pl_PL.ISO_8859-2 \ 14 uk_UA.KOI8-U ru_RU.KOI8-R 15FILES= ${LANGS:S/$/.ee.cat/} 16CLEANFILES+= ${FILES} 17 18all: ${FILES} 19 20.for lang in ${LANGS} 21${lang}.ee.cat: ${.CURDIR}/nls/${lang}/ee.msg 22 gencat -new ${.TARGET} ${.ALLSRC} 23.endfor 24 25beforeinstall: 26.for lang in ${LANGS} 27 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ 28 ${lang}.ee.cat ${DESTDIR}${NLSDIR}/${lang}/ee.cat 29.endfor 30 31.include <bsd.prog.mk> 32