Makefile revision 88055
1# $FreeBSD: head/usr.bin/ee/Makefile 88055 2001-12-17 13:59:35Z ru $ 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.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \ 14 uk_UA.KOI8-U ru_RU.KOI8-R 158859_15_LINKS = fr_FR de_DE 16ENUS_LINKS = ISO8859-1 ISO8859-15 17 18FILES= ${LANGS:S/$/.ee.cat/} 19CLEANFILES+= ${FILES} 20 21.for lang in ${LANGS} 22${lang}.ee.cat: ${.CURDIR}/nls/${lang}/ee.msg 23 gencat -new ${.TARGET} ${.ALLSRC} 24.endfor 25 26.for lang in ${LANGS} 27FILESDIR_${lang:S/$/.ee.cat/}= ${NLSDIR}/${lang} 28FILESNAME_${lang:S/$/.ee.cat/}= ee.cat 29.endfor 30 31.for link in ${ENUS_LINKS} 32SYMLINKS+= ../en_US.US-ASCII/ee.cat ${NLSDIR}/en_US.${link}/ee.cat 33.endfor 34.for link in ${8859_15_LINKS} 35SYMLINKS+= ../${link}.ISO8859-1/ee.cat ${NLSDIR}/${link}.ISO8859-15/ee.cat 36.endfor 37 38.include <bsd.prog.mk> 39