summaryrefslogtreecommitdiffstats
path: root/lib/libform
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-05 05:37:49 +0000
committerpeter <peter@FreeBSD.org>1999-09-05 05:37:49 +0000
commit8fbd2adcbbe54b0bb5f672147d69b2dcd9566ab4 (patch)
tree2b38a8505d440638feb4c229b3de50629c37464a /lib/libform
parente59b1e9158d23d694162b439e76b591ffc8e57a8 (diff)
downloadFreeBSD-src-8fbd2adcbbe54b0bb5f672147d69b2dcd9566ab4.zip
FreeBSD-src-8fbd2adcbbe54b0bb5f672147d69b2dcd9566ab4.tar.gz
Add bmake glue for libform (the SVSV-style ETI curses form driver from
ncurses)
Diffstat (limited to 'lib/libform')
-rw-r--r--lib/libform/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/libform/Makefile b/lib/libform/Makefile
new file mode 100644
index 0000000..83dfbc6
--- /dev/null
+++ b/lib/libform/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>
OpenPOWER on IntegriCloud