From 93d3883a40b91a911d523f6dd3641a8d985b6c83 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 11 Oct 2000 08:14:44 +0000 Subject: Update after ncurses 20001009 import --- lib/libmenu/Makefile | 15 ++++++++++++--- lib/ncurses/menu/Makefile | 15 ++++++++++++--- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/lib/libmenu/Makefile b/lib/libmenu/Makefile index c33b63b..524defd 100644 --- a/lib/libmenu/Makefile +++ b/lib/libmenu/Makefile @@ -3,18 +3,27 @@ NCURSES=${.CURDIR}/../../contrib/ncurses -.PATH: ${NCURSES}/menu +.PATH: ${NCURSES}/menu ${NCURSES}/include LIB= menu +AWK?= awk -SRCS= m_attribs.c m_cursor.c m_driver.c m_format.c m_global.c m_hook.c \ +SRCS= ncurses_def.h \ + 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_top.c \ m_item_use.c m_item_val.c m_item_vis.c m_items.c m_new.c m_opts.c \ m_pad.c m_pattern.c m_post.c m_req_name.c m_scale.c m_spacing.c \ m_sub.c m_userptr.c m_win.c INCS= ${NCURSES}/menu/menu.h ${NCURSES}/menu/eti.h -CFLAGS+= -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \ +CLEANFILES+= ncurses_def.h +CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \ -Wall -DNDEBUG -DHAVE_CONFIG_H +beforedepend: ncurses_def.h + +ncurses_def.h: MKncurses_def.sh ncurses_defs + AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \ + ${NCURSES}/include/ncurses_defs > ncurses_def.h + .include diff --git a/lib/ncurses/menu/Makefile b/lib/ncurses/menu/Makefile index c33b63b..524defd 100644 --- a/lib/ncurses/menu/Makefile +++ b/lib/ncurses/menu/Makefile @@ -3,18 +3,27 @@ NCURSES=${.CURDIR}/../../contrib/ncurses -.PATH: ${NCURSES}/menu +.PATH: ${NCURSES}/menu ${NCURSES}/include LIB= menu +AWK?= awk -SRCS= m_attribs.c m_cursor.c m_driver.c m_format.c m_global.c m_hook.c \ +SRCS= ncurses_def.h \ + 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_top.c \ m_item_use.c m_item_val.c m_item_vis.c m_items.c m_new.c m_opts.c \ m_pad.c m_pattern.c m_post.c m_req_name.c m_scale.c m_spacing.c \ m_sub.c m_userptr.c m_win.c INCS= ${NCURSES}/menu/menu.h ${NCURSES}/menu/eti.h -CFLAGS+= -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \ +CLEANFILES+= ncurses_def.h +CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \ -Wall -DNDEBUG -DHAVE_CONFIG_H +beforedepend: ncurses_def.h + +ncurses_def.h: MKncurses_def.sh ncurses_defs + AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \ + ${NCURSES}/include/ncurses_defs > ncurses_def.h + .include -- cgit v1.1