aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-09-05 05:37:49 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-09-05 05:37:49 +0000
commita36800970fb666d2726a33702272988c655ae7c5 (patch)
treef780baf5c37ca6e35222e5a520e21a6410c10394 /lib/ncurses
parent7cc7a6b63e972badbc072e70b567c0b03fae2ae9 (diff)
downloadsrc-a36800970fb666d2726a33702272988c655ae7c5.tar.gz
src-a36800970fb666d2726a33702272988c655ae7c5.zip
Add bmake glue for libform (the SVSV-style ETI curses form driver from
ncurses)
Notes
Notes: svn path=/head/; revision=50937
Diffstat (limited to 'lib/ncurses')
-rw-r--r--lib/ncurses/form/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile
new file mode 100644
index 000000000000..83dfbc6a94d2
--- /dev/null
+++ b/lib/ncurses/form/Makefile
@@ -0,0 +1,23 @@
+# Makefile for libform
+# $FreeBSD$
+
+NCURSES=${.CURDIR}/../../contrib/ncurses
+
+.PATH: ${NCURSES}/form
+.PATH: ${NCURSES}/menu
+
+LIB= form
+
+SRCS= fty_regex.c fty_num.c fty_int.c fty_ipv4.c fty_enum.c fty_alpha.c \
+ fty_alnum.c \
+ frm_data.c frm_win.c frm_user.c frm_opts.c frm_hook.c frm_req_name.c \
+ fld_user.c fld_type.c fld_stat.c fld_def.c frm_def.c frm_driver.c
+
+CFLAGS+=-I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
+ -I${NCURSES}/include -Wall -DNDEBUG -DHAVE_CONFIG_H
+
+beforeinstall:
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${NCURSES}/form/form.h ${DESTDIR}/usr/include
+
+.include <bsd.lib.mk>