mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
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.
MFC after: 4 weeks
Sponsored by: DARPA, AFRL
23 lines
352 B
Makefile
23 lines
352 B
Makefile
# $FreeBSD$
|
|
|
|
DIALOG= ${.CURDIR}/../../../contrib/dialog
|
|
PROG= dialog
|
|
|
|
DPADD= ${LIBDIALOG} ${LIBM}
|
|
LDADD= -ldialog -lm
|
|
CFLAGS+= -I${.CURDIR} -I${DIALOG}
|
|
.PATH: ${DIALOG}
|
|
|
|
WARNS?= 6
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if ${MK_NCURSESW} == "no"
|
|
DPADD+= ${LIBNCURSES}
|
|
LDADD+= -lncurses
|
|
.else
|
|
DPADD+= ${LIBNCURSESW}
|
|
LDADD+= -lncursesw
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|