aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses/form
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-10-11 08:19:56 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-10-11 08:19:56 +0000
commitfa741a91a75c36d3fd1839b34dc70defa5623fc0 (patch)
tree4e4e4e03fe03fd86d95cbb1839c2ba7d0eaf5e18 /lib/ncurses/form
parentb59859cba3c3695cd5ed4ff1668355989a95ad67 (diff)
downloadsrc-fa741a91a75c36d3fd1839b34dc70defa5623fc0.tar.gz
src-fa741a91a75c36d3fd1839b34dc70defa5623fc0.zip
Update for ncurses 5.1-20001009 import
Notes
Notes: svn path=/head/; revision=66971
Diffstat (limited to 'lib/ncurses/form')
-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 5f8a52af66e1..a3d81798469c 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>