Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / usr.bin / ee / Makefile
1 # $FreeBSD: src/usr.bin/ee/Makefile,v 1.11.6.4 2002/02/18 15:03:35 ru Exp $
2 # $DragonFly: src/usr.bin/ee/Makefile,v 1.2 2003/06/17 04:29:26 dillon Exp $
3
4 CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
5          -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR
6
7 PROG=   ee
8 CFLAGS+=-Wall
9 LINKS=  ${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit
10 MLINKS= ee.1 ree.1 ee.1 edit.1
11 DPADD=  ${LIBNCURSES}
12 LDADD=  -lncurses
13
14 LANGS=  en_US.US-ASCII fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \
15         uk_UA.KOI8-U ru_RU.KOI8-R
16 8859_15_LINKS = fr_FR de_DE
17 ENUS_LINKS =    ISO8859-1 ISO8859-15
18
19 FILES=  ${LANGS:S/$/.ee.cat/}
20 CLEANFILES+=    ${FILES}
21
22 .for lang in ${LANGS}
23 ${lang}.ee.cat: ${.CURDIR}/nls/${lang}/ee.msg
24         gencat -new ${.TARGET} ${.ALLSRC}
25 .endfor
26
27 .for lang in ${LANGS}
28 FILESDIR_${lang:S/$/.ee.cat/}=  ${NLSDIR}/${lang}
29 FILESNAME_${lang:S/$/.ee.cat/}= ee.cat
30 .endfor
31
32 .for link in ${ENUS_LINKS}
33 SYMLINKS+=      ../en_US.US-ASCII/ee.cat ${NLSDIR}/en_US.${link}/ee.cat
34 .endfor
35 .for link in ${8859_15_LINKS}
36 SYMLINKS+=      ../${link}.ISO8859-1/ee.cat ${NLSDIR}/${link}.ISO8859-15/ee.cat
37 .endfor
38
39 .include <bsd.prog.mk>