summaryrefslogtreecommitdiffstats
path: root/lib/ncurses
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-10-11 08:19:56 +0000
committerpeter <peter@FreeBSD.org>2000-10-11 08:19:56 +0000
commitdcee789ed15386b54e2d9b29560ee314751b4800 (patch)
tree03b2124c33272f00a46126383e01b6ee810891c4 /lib/ncurses
parent4b067187ab39a8dcc9f93baea4372b8458f66017 (diff)
downloadFreeBSD-src-dcee789ed15386b54e2d9b29560ee314751b4800.zip
FreeBSD-src-dcee789ed15386b54e2d9b29560ee314751b4800.tar.gz
Update for ncurses 5.1-20001009 import
Diffstat (limited to 'lib/ncurses')
-rw-r--r--lib/ncurses/form/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile
index 5f8a52a..a3d8179 100644
--- a/lib/ncurses/form/Makefile
+++ b/lib/ncurses/form/Makefile
@@ -4,11 +4,13 @@
NCURSES=${.CURDIR}/../../contrib/ncurses
.PATH: ${NCURSES}/form
-.PATH: ${NCURSES}/menu
+.PATH: ${NCURSES}/include
LIB= form
+AWK?= awk
-SRCS= fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c fld_ftchoice.c \
+SRCS= ncurses_def.h \
+ fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c fld_ftchoice.c \
fld_ftlink.c fld_info.c fld_just.c fld_link.c fld_max.c fld_move.c \
fld_newftyp.c fld_opts.c fld_pad.c fld_page.c fld_stat.c fld_type.c \
fld_user.c frm_cursor.c frm_data.c frm_def.c frm_driver.c frm_hook.c \
@@ -17,7 +19,12 @@ SRCS= fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c fld_ftchoice.c \
fty_ipv4.c fty_num.c fty_regex.c
INCS= ${NCURSES}/form/form.h
-CFLAGS+=-I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
+CLEANFILES+= ncurses_def.h
+CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
-I${NCURSES}/include -Wall -DNDEBUG -DHAVE_CONFIG_H
+ncurses_def.h: MKncurses_def.sh ncurses_defs
+ AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
+ ${NCURSES}/include/ncurses_defs > ncurses_def.h
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud