brooks 12b5ca7c28 MFC r261296:
Merge from CheriBSD:
commit c1acf022c533c5ae27e0cd556977eafe3f5959eb
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date:   Fri Jan 17 21:46:44 2014 +0000

	Add an option WITHOUT_NCURSESW to suppress building and linking to
	libncursesw.  While wide character support it useful we'd like to
	only need one ncurses library on embedded systems.

Sponsored by:	DARPA, AFRL
2014-03-01 03:09:16 +00:00

24 lines
320 B
Makefile

# $FreeBSD$
PROG= tzsetup
MAN= tzsetup.8
CFLAGS+= -I${.CURDIR}/../../contrib/dialog -I.
WARNS?= 3
DPADD= ${LIBDIALOG} ${LIBM}
LDADD= -ldialog -lm
.include <bsd.own.mk>
.if ${MK_NCURSESW} == "no"
DPADD+= ${LIBNCURSES}
LDADD+= -lncurses
.else
DPADD+= ${LIBNCURSESW}
LDADD+= -lncursesw
.endif
.include <bsd.prog.mk>