d746ab215c
Add _XOPEN_SOURCE_EXTENDED to use curses' get_wch() and to avoid a building error after next "bsddialog 0.2" import. Approved by: bapt (mentor) Differential Revision: https://reviews.freebsd.org/D34419
30 lines
446 B
Makefile
30 lines
446 B
Makefile
BSDDIALOG= ${SRCTOP}/contrib/bsddialog
|
|
|
|
.PATH: ${BSDDIALOG}/lib
|
|
|
|
LIB= bsddialog
|
|
PRIVATELIB= yes
|
|
SHLIB_MAJOR= 0
|
|
SRCS= barbox.c \
|
|
formbox.c \
|
|
infobox.c \
|
|
lib_util.c \
|
|
lib_util.h \
|
|
libbsddialog.c \
|
|
menubox.c \
|
|
messagebox.c \
|
|
textbox.c \
|
|
theme.c \
|
|
timebox.c
|
|
INCS= bsddialog.h \
|
|
bsddialog_theme.h \
|
|
bsddialog_progressview.h
|
|
MAN= bsddialog.3
|
|
|
|
LIBADD= ncursesw tinfow formw
|
|
CFLAGS+= -D_XOPEN_SOURCE_EXTENDED
|
|
|
|
WARNS= 2
|
|
|
|
.include <bsd.lib.mk>
|