Makefile revision 78022
1# $FreeBSD: head/usr.bin/ee/Makefile 78022 2001-06-10 22:40:39Z 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 158859_15_LINKS = en_US fr_FR de_DE 16 17FILES= ${LANGS:S/$/.ee.cat/} 18CLEANFILES+= ${FILES} 19 20all: ${FILES} 21 22.for lang in ${LANGS} 23${lang}.ee.cat: ${.CURDIR}/nls/${lang}/ee.msg 24 gencat -new ${.TARGET} ${.ALLSRC} 25.endfor 26 27beforeinstall: 28.for lang in ${LANGS} 29 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ 30 ${lang}.ee.cat ${DESTDIR}${NLSDIR}/${lang}/ee.cat 31.endfor 32.for link in ${8859_15_LINKS} 33 ln -sf ../${link}.ISO8859-1/ee.cat \ 34 ${DESTDIR}${NLSDIR}/${link}.ISO8859-15/ee.cat 35.endfor 36 ln -sf ../en_US.ISO8859-1/ee.cat \ 37 ${DESTDIR}${NLSDIR}/C/ee.cat 38 39.include <bsd.prog.mk> 40