38e233371c
commit c1acf022c5
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.
MFC after: 4 weeks
Sponsored by: DARPA, AFRL
24 lines
320 B
Makefile
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>
|