Add bmake glue for libmenu (the SVSV-style ETI curses menu driver from

ncurses)
This commit is contained in:
Peter Wemm 1999-09-05 05:32:46 +00:00
parent 22167446c5
commit 56072d6b2b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50935
2 changed files with 48 additions and 0 deletions

24
lib/libmenu/Makefile Normal file
View File

@ -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>

24
lib/ncurses/menu/Makefile Normal file
View File

@ -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>