Makefile revision 65909
1# $FreeBSD: head/usr.bin/ee/Makefile 65909 2000-09-16 03:27:54Z 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 14FILES= ${LANGS:S/$/.ee.cat/} 15CLEANFILES+= ${FILES} 16 17all: ${FILES} 18 19.for lang in ${LANGS} 20${lang}.ee.cat: ${.CURDIR}/nls/${lang}/ee.msg 21 gencat -new ${.TARGET} ${.ALLSRC} 22.endfor 23 24beforeinstall: 25.for lang in ${LANGS} 26 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ 27 ${lang}.ee.cat ${DESTDIR}${NLSDIR}/${lang}/ee.cat 28.endfor 29 30.include <bsd.prog.mk> 31