xref: /freebsd/usr.bin/ee/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.PATH:	${SRCTOP}/contrib/ee
2
3CFLAGS+= -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
4	 -DHAS_SYS_WAIT
5
6PACKAGE=ee
7PROG=	ee
8LINKS=	${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit
9MLINKS=	ee.1 ree.1 ee.1 edit.1
10LIBADD=	tinfow ncursesw
11
12WARNS?=	2
13
14NLS=	C fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \
15	uk_UA.KOI8-U pt_BR.ISO8859-1 ru_RU.KOI8-R hu_HU.ISO8859-2
16
17NLSLINKS_C= en_US.ISO8859-1 en_US.ISO8859-15
18NLSLINKS_fr_FR.ISO8859-1= fr_BE.ISO8859-1 fr_BE.ISO8859-15 \
19        fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CH.ISO8859-1 fr_CH.ISO8859-15 \
20	fr_FR.ISO8859-15
21NLSLINKS_de_DE.ISO8859-1= de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \
22        de_CH.ISO8859-15 de_DE.ISO8859-15
23NLSLINKS_pt_BR.ISO8859-1= pt_PT.ISO8859-1
24
25NLSSRCFILES=ee.msg
26.for lang in ${NLS}
27. if exists(${.CURDIR}/nls/${lang}/ee.msg)
28NLSSRCDIR_${lang}= ${.CURDIR}/nls/${lang}
29. else
30NLSSRCDIR_${lang}= ${SRCTOP}/contrib/ee
31. endif
32.endfor
33
34.include <bsd.prog.mk>
35