summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-05 05:32:46 +0000
committerpeter <peter@FreeBSD.org>1999-09-05 05:32:46 +0000
commit2472abbaf2d85bc4cf171deb559ee7bd55451d1c (patch)
treecbead75bdd05b90538047e09a7b8e62d9875ce19 /lib
parent861ace7610ce81f6e99af9883c9e668bdd51160f (diff)
downloadFreeBSD-src-2472abbaf2d85bc4cf171deb559ee7bd55451d1c.zip
FreeBSD-src-2472abbaf2d85bc4cf171deb559ee7bd55451d1c.tar.gz
Add bmake glue for libmenu (the SVSV-style ETI curses menu driver from
ncurses)
Diffstat (limited to 'lib')
-rw-r--r--lib/libmenu/Makefile24
-rw-r--r--lib/ncurses/menu/Makefile24
2 files changed, 48 insertions, 0 deletions
diff --git a/lib/libmenu/Makefile b/lib/libmenu/Makefile
new file mode 100644
index 0000000..11fb19d
--- /dev/null
+++ b/lib/libmenu/Makefile
@@ -0,0 +1,24 @@
+# Makefile for libmenu
+# $FreeBSD$
+
+NCURSES=${.CURDIR}/../../contrib/ncurses
+
+.PATH: ${NCURSES}/menu
+
+LIB= menu
+
+SRCS= m_attribs.c m_cursor.c m_driver.c m_format.c m_global.c m_hook.c \
+ m_item_cur.c m_item_nam.c m_item_new.c m_item_opt.c m_item_use.c \
+ m_item_val.c m_item_vis.c m_items.c m_new.c m_opts.c m_post.c \
+ m_req_name.c m_spacing.c m_userptr.c m_win.c
+
+CFLAGS+= -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
+ -Wall -DNDEBUG -DHAVE_CONFIG_H
+
+beforeinstall:
+.for i in menu.h eti.h
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${NCURSES}/menu/$i \
+ ${DESTDIR}/usr/include
+.endfor
+
+.include <bsd.lib.mk>
diff --git a/lib/ncurses/menu/Makefile b/lib/ncurses/menu/Makefile
new file mode 100644
index 0000000..11fb19d
--- /dev/null
+++ b/lib/ncurses/menu/Makefile
@@ -0,0 +1,24 @@
+# Makefile for libmenu
+# $FreeBSD$
+
+NCURSES=${.CURDIR}/../../contrib/ncurses
+
+.PATH: ${NCURSES}/menu
+
+LIB= menu
+
+SRCS= m_attribs.c m_cursor.c m_driver.c m_format.c m_global.c m_hook.c \
+ m_item_cur.c m_item_nam.c m_item_new.c m_item_opt.c m_item_use.c \
+ m_item_val.c m_item_vis.c m_items.c m_new.c m_opts.c m_post.c \
+ m_req_name.c m_spacing.c m_userptr.c m_win.c
+
+CFLAGS+= -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
+ -Wall -DNDEBUG -DHAVE_CONFIG_H
+
+beforeinstall:
+.for i in menu.h eti.h
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${NCURSES}/menu/$i \
+ ${DESTDIR}/usr/include
+.endfor
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud