1# $FreeBSD: head/usr.bin/ee/Makefile 246592 2013-02-09 13:31:59Z antoine $ 2 3.PATH: ${.CURDIR}/../../contrib/ee 4 5CFLAGS+= -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \ 6 -DHAS_SYS_WAIT 7 8PROG= ee 9LINKS= ${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit 10MLINKS= ee.1 ree.1 ee.1 edit.1 11DPADD= ${LIBNCURSES} 12LDADD= -lprivate_ncurses 13 14CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses 15LDFLAGS+= ${PRIVATELIB_LDFLAGS} 16 17WARNS?= 2 18 19.if !defined(NO_SHARE) 20NLS= C fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \ 21 uk_UA.KOI8-U pt_BR.ISO8859-1 ru_RU.KOI8-R hu_HU.ISO8859-2 22 23NLSLINKS_C= en_US.ISO8859-1 en_US.ISO8859-15 24NLSLINKS_fr_FR.ISO8859-1= fr_BE.ISO8859-1 fr_BE.ISO8859-15 \ 25 fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CH.ISO8859-1 fr_CH.ISO8859-15 \ 26 fr_FR.ISO8859-15 27NLSLINKS_de_DE.ISO8859-1= de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \ 28 de_CH.ISO8859-15 de_DE.ISO8859-15 29NLSLINKS_pt_BR.ISO8859-1= pt_PT.ISO8859-1 30 31NLSSRCFILES=ee.msg 32.for lang in ${NLS} 33. if exists(${.CURDIR}/nls/${lang}/ee.msg) 34NLSSRCDIR_${lang}= ${.CURDIR}/nls/${lang} 35. else 36NLSSRCDIR_${lang}= ${.CURDIR}/../../contrib/ee 37. endif 38.endfor 39.endif 40 41.include <bsd.prog.mk> 42