1# $FreeBSD$ 2 3DIALOG= ${.CURDIR}/../../../contrib/dialog 4PROG= dialog 5 6DPADD= ${LIBDIALOG} ${LIBM} 7LDADD= -ldialog -lm 8CFLAGS+= -I${.CURDIR} -I${DIALOG} 9.PATH: ${DIALOG} 10 11WARNS?= 6 12 13.include <src.opts.mk> 14 15.if ${MK_NCURSESW} == "no" 16DPADD+= ${LIBNCURSES} 17LDADD+= -lncurses 18.else 19DPADD+= ${LIBNCURSESW} 20LDADD+= -lncursesw 21.endif 22 23.include <bsd.prog.mk> 24