From 56072d6b2bc4a8ab0e8ef585909af6abbfa6f5bb Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 5 Sep 1999 05:32:46 +0000 Subject: [PATCH] Add bmake glue for libmenu (the SVSV-style ETI curses menu driver from ncurses) --- lib/libmenu/Makefile | 24 ++++++++++++++++++++++++ lib/ncurses/menu/Makefile | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 lib/libmenu/Makefile create mode 100644 lib/ncurses/menu/Makefile diff --git a/lib/libmenu/Makefile b/lib/libmenu/Makefile new file mode 100644 index 000000000000..11fb19de91de --- /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 diff --git a/lib/ncurses/menu/Makefile b/lib/ncurses/menu/Makefile new file mode 100644 index 000000000000..11fb19de91de --- /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