head	1.19;
access;
symbols
	RELENG_8_4:1.18.0.2
	RELENG_9_1_0_RELEASE:1.16.16.1.4.2
	RELENG_9_1:1.16.16.1.0.4
	RELENG_9_1_BP:1.16.16.1
	RELENG_8_3_0_RELEASE:1.16.10.1.8.1
	RELENG_8_3:1.16.10.1.0.8
	RELENG_8_3_BP:1.16.10.1
	RELENG_9_0_0_RELEASE:1.16.16.1.2.1
	RELENG_9_0:1.16.16.1.0.2
	RELENG_9_0_BP:1.16.16.1
	RELENG_9:1.16.0.16
	RELENG_9_BP:1.16
	RELENG_7_4_0_RELEASE:1.16.14.1
	RELENG_8_2_0_RELEASE:1.16.10.1.6.1
	RELENG_7_4:1.16.0.14
	RELENG_7_4_BP:1.16
	RELENG_8_2:1.16.10.1.0.6
	RELENG_8_2_BP:1.16.10.1
	RELENG_8_1_0_RELEASE:1.16.10.1.4.1
	RELENG_8_1:1.16.10.1.0.4
	RELENG_8_1_BP:1.16.10.1
	RELENG_7_3_0_RELEASE:1.16.12.1
	RELENG_7_3:1.16.0.12
	RELENG_7_3_BP:1.16
	RELENG_8_0_0_RELEASE:1.16.10.1.2.1
	RELENG_8_0:1.16.10.1.0.2
	RELENG_8_0_BP:1.16.10.1
	RELENG_8:1.16.0.10
	RELENG_8_BP:1.16
	RELENG_7_2_0_RELEASE:1.16.8.1
	RELENG_7_2:1.16.0.8
	RELENG_7_2_BP:1.16
	RELENG_7_1_0_RELEASE:1.16.6.1
	RELENG_6_4_0_RELEASE:1.15.2.2.4.1
	RELENG_7_1:1.16.0.6
	RELENG_7_1_BP:1.16
	RELENG_6_4:1.15.2.2.0.4
	RELENG_6_4_BP:1.15.2.2
	RELENG_7_0_0_RELEASE:1.16
	RELENG_6_3_0_RELEASE:1.15.2.2
	RELENG_7_0:1.16.0.4
	RELENG_7_0_BP:1.16
	RELENG_6_3:1.15.2.2.0.2
	RELENG_6_3_BP:1.15.2.2
	RELENG_7:1.16.0.2
	RELENG_7_BP:1.16
	RELENG_6:1.15.0.2
	old_RELENG_6_2_0_RELEASE:1.10
	old_RELENG_6_2:1.10.0.18
	old_RELENG_6_2_BP:1.10
	old_RELENG_5_5_0_RELEASE:1.10
	old_RELENG_5_5:1.10.0.16
	old_RELENG_5_5_BP:1.10
	old_RELENG_6_1_0_RELEASE:1.10
	old_RELENG_6_1:1.10.0.14
	old_RELENG_6_1_BP:1.10
	old_RELENG_6_0_0_RELEASE:1.10
	old_RELENG_6_0:1.10.0.12
	old_RELENG_6_0_BP:1.10
	old_RELENG_6:1.10.0.10
	old_RELENG_6_BP:1.10
	old_RELENG_5_4_0_RELEASE:1.10
	old_RELENG_5_4:1.10.0.8
	old_RELENG_5_4_BP:1.10
	old_RELENG_4_11_0_RELEASE:1.2.2.4
	old_RELENG_4_11:1.2.2.4.0.16
	old_RELENG_4_11_BP:1.2.2.4
	old_RELENG_5_3_0_RELEASE:1.10
	old_RELENG_5_3:1.10.0.6
	old_RELENG_5_3_BP:1.10
	old_RELENG_5:1.10.0.4
	old_RELENG_5_BP:1.10
	old_RELENG_4_10_0_RELEASE:1.2.2.4
	old_RELENG_4_10:1.2.2.4.0.14
	old_RELENG_4_10_BP:1.2.2.4
	old_RELENG_5_2_1_RELEASE:1.10
	old_RELENG_5_2_0_RELEASE:1.10
	old_RELENG_5_2:1.10.0.2
	old_RELENG_5_2_BP:1.10
	old_RELENG_4_9_0_RELEASE:1.2.2.4
	old_RELENG_4_9:1.2.2.4.0.12
	old_RELENG_4_9_BP:1.2.2.4
	old_RELENG_5_1_0_RELEASE:1.9
	old_RELENG_5_1:1.9.0.4
	old_RELENG_5_1_BP:1.9
	old_RELENG_4_8_0_RELEASE:1.2.2.4
	old_RELENG_4_8:1.2.2.4.0.10
	old_RELENG_4_8_BP:1.2.2.4
	old_RELENG_5_0_0_RELEASE:1.9
	old_RELENG_5_0:1.9.0.2
	old_RELENG_5_0_BP:1.9
	old_RELENG_4_7_0_RELEASE:1.2.2.4
	old_RELENG_4_7:1.2.2.4.0.8
	old_RELENG_4_7_BP:1.2.2.4
	old_RELENG_4_6_2_RELEASE:1.2.2.4
	old_RELENG_4_6_1_RELEASE:1.2.2.4
	old_RELENG_4_6_0_RELEASE:1.2.2.4
	old_RELENG_4_6:1.2.2.4.0.6
	old_RELENG_4_6_BP:1.2.2.4
	old_RELENG_4_5_0_RELEASE:1.2.2.4
	old_RELENG_4_5:1.2.2.4.0.4
	old_RELENG_4_5_BP:1.2.2.4
	old_RELENG_4_4_0_RELEASE:1.2.2.4
	old_RELENG_4_4:1.2.2.4.0.2
	old_RELENG_4_4_BP:1.2.2.4
	old_RELENG_4_3_0_RELEASE:1.2.2.3
	old_RELENG_4_3:1.2.2.3.0.2
	old_RELENG_4_3_BP:1.2.2.3
	old_RELENG_4_2_0_RELEASE:1.2.2.2
	old_RELENG_4_1_1_RELEASE:1.2.2.1
	old_PRE_SMPNG:1.3
	old_RELENG_4_1_0_RELEASE:1.2.2.1
	old_RELENG_4_0_0_RELEASE:1.2
	old_RELENG_4:1.2.0.2
	old_RELENG_4_BP:1.2;
locks; strict;
comment	@# @;


1.19
date	2013.06.03.00.36.28;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2013.01.25.00.47.42;	author svnexp;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	2012.11.17.01.50.09;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2007.05.25.02.27.46;	author rafan;	state Exp;
branches
	1.16.2.1
	1.16.6.1
	1.16.8.1
	1.16.10.1
	1.16.12.1
	1.16.14.1
	1.16.16.1;
next	1.15;

1.15
date	2007.03.09.12.11.57;	author rafan;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2007.03.09.09.54.07;	author rafan;	state Exp;
branches;
next	1.13;

1.13
date	2007.01.20.07.46.44;	author rafan;	state Exp;
branches;
next	1.12;

1.12
date	2007.01.20.07.43.46;	author rafan;	state Exp;
branches;
next	1.11;

1.11
date	2005.11.10.18.07.06;	author ru;	state Exp;
branches;
next	1.10;

1.10
date	2003.06.06.13.46.55;	author kuriyama;	state Exp;
branches;
next	1.9;

1.9
date	2002.05.21.07.08.30;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	2001.05.17.08.30.09;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	2001.03.27.17.27.07;	author ru;	state Exp;
branches;
next	1.6;

1.6
date	2000.12.05.12.38.22;	author tg;	state Exp;
branches;
next	1.5;

1.5
date	2000.10.11.08.20.37;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	2000.10.11.08.14.44;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	2000.05.24.09.01.23;	author tg;	state Exp;
branches;
next	1.2;

1.2
date	2000.01.14.07.57.35;	author rgrimes;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	99.09.05.05.32.46;	author peter;	state Exp;
branches;
next	;

1.18.2.1
date	2013.01.25.00.47.42;	author svnexp;	state dead;
branches;
next	1.18.2.2;

1.18.2.2
date	2013.03.28.13.03.25;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1
date	2012.11.17.08.03.14;	author svnexp;	state Exp;
branches;
next	;

1.16.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.16.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.16.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.16.10.1.2.1
	1.16.10.1.4.1
	1.16.10.1.6.1
	1.16.10.1.8.1;
next	1.16.10.2;

1.16.10.2
date	2012.11.17.10.36.12;	author svnexp;	state Exp;
branches;
next	;

1.16.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.16.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.16.10.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.16.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.16.10.1.8.2;

1.16.10.1.8.2
date	2012.11.17.08.24.53;	author svnexp;	state Exp;
branches;
next	;

1.16.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.16.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.16.14.2;

1.16.14.2
date	2012.11.17.08.16.52;	author svnexp;	state Exp;
branches;
next	;

1.16.16.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.16.16.1.2.1
	1.16.16.1.4.1;
next	1.16.16.2;

1.16.16.2
date	2012.11.17.11.36.28;	author svnexp;	state Exp;
branches;
next	1.16.16.3;

1.16.16.3
date	2013.03.16.00.23.23;	author svnexp;	state Exp;
branches;
next	;

1.16.16.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.16.16.1.2.2;

1.16.16.1.2.2
date	2012.11.17.08.36.28;	author svnexp;	state Exp;
branches;
next	;

1.16.16.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.16.16.1.4.2;

1.16.16.1.4.2
date	2012.11.17.08.47.17;	author svnexp;	state Exp;
branches;
next	;

1.15.2.1
date	2007.04.06.17.52.05;	author rafan;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	2007.06.14.02.53.23;	author rafan;	state Exp;
branches
	1.15.2.2.4.1;
next	1.15.2.3;

1.15.2.3
date	2012.11.17.07.40.51;	author svnexp;	state Exp;
branches;
next	;

1.15.2.2.4.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.2.2.1
date	2000.05.25.09.54.28;	author tg;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2000.10.12.18.41.05;	author peter;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2000.12.07.12.23.57;	author tg;	state Exp;
branches;
next	1.2.2.4;

1.2.2.4
date	2001.04.25.10.04.33;	author ru;	state Exp;
branches;
next	;


desc
@@


1.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251250
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/lib/ncurses/menu/Makefile 251250 2013-06-02 11:44:23Z tijl $

.include "${.CURDIR}/../config.mk"

SRCDIR=	${NCURSES_DIR}/menu

LIB=	menu${LIB_SUFFIX}

.PATH: ${SRCDIR}
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

CLEANFILES=	ncurses_def.h

CFLAGS+=	-I${SRCDIR}

DPADD=	${LIBNCURSES${LIB_SUFFIX:tu}}
LDADD=	-lncurses${LIB_SUFFIX}

.if defined(ENABLE_WIDEC)
INCS=	menu.h eti.h

.PATH: ${NCURSES_DIR}/man
MAN=	\
	menu.3 \
	menu_attributes.3 \
	menu_cursor.3 \
	menu_driver.3 \
	menu_format.3 \
	menu_hook.3 \
	menu_items.3 \
	menu_mark.3 \
	menu_new.3 \
	menu_opts.3 \
	menu_pattern.3 \
	menu_post.3 \
	menu_requestname.3 \
	menu_spacing.3 \
	menu_userptr.3 \
	menu_win.3 \
	mitem_current.3 \
	mitem_name.3 \
	mitem_new.3 \
	mitem_opts.3 \
	mitem_userptr.3 \
	mitem_value.3 \
	mitem_visible.3

CLEANFILES+=	${MAN:M*.3}

MLINKS=	menu_attributes.3 menu_back.3 \
	menu_attributes.3 menu_fore.3 \
	menu_attributes.3 menu_grey.3 \
	menu_attributes.3 menu_pad.3 \
	menu_attributes.3 set_menu_back.3 \
	menu_attributes.3 set_menu_fore.3 \
	menu_attributes.3 set_menu_grey.3 \
	menu_attributes.3 set_menu_pad.3 \
	menu_cursor.3 pos_menu_cursor.3 \
	menu_format.3 set_menu_format.3 \
	menu_hook.3 item_init.3 \
	menu_hook.3 item_term.3 \
	menu_hook.3 menu_init.3 \
	menu_hook.3 menu_term.3 \
	menu_hook.3 set_item_init.3 \
	menu_hook.3 set_item_term.3 \
	menu_hook.3 set_menu_init.3 \
	menu_hook.3 set_menu_term.3 \
	menu_items.3 item_count.3 \
	menu_items.3 set_menu_items.3 \
	menu_mark.3 set_menu_mark.3 \
	menu_new.3 free_menu.3 \
	menu_new.3 new_menu.3 \
	menu_opts.3 menu_opts_off.3 \
	menu_opts.3 menu_opts_on.3 \
	menu_opts.3 set_menu_opts.3 \
	menu_pattern.3 set_menu_pattern.3 \
	menu_post.3 post_menu.3 \
	menu_post.3 unpost_menu.3 \
	menu_requestname.3 menu_request_by_name.3 \
	menu_requestname.3 menu_request_name.3 \
	menu_spacing.3 set_menu_spacing.3 \
	menu_userptr.3 set_menu_userptr.3 \
	menu_win.3 menu_sub.3 \
	menu_win.3 scale_menu.3 \
	menu_win.3 set_menu_sub.3 \
	menu_win.3 set_menu_win.3 \
	mitem_current.3 current_item.3 \
	mitem_current.3 item_index.3 \
	mitem_current.3 set_current_item.3 \
	mitem_current.3 set_top_row.3 \
	mitem_current.3 top_row.3 \
	mitem_name.3 item_description.3 \
	mitem_name.3 item_name.3 \
	mitem_new.3 free_item.3 \
	mitem_new.3 new_item.3 \
	mitem_opts.3 item_opts.3 \
	mitem_opts.3 item_opts_off.3 \
	mitem_opts.3 item_opts_on.3 \
	mitem_opts.3 set_item_opts.3 \
	mitem_userptr.3 item_userptr.3 \
	mitem_userptr.3 set_item_userptr.3 \
	mitem_value.3 item_value.3 \
	mitem_value.3 set_item_value.3 \
	mitem_visible.3 item_visible.3
.else
NO_MAN=
.endif

.include <bsd.lib.mk>

# Keep the .SUFFIXES line after the include of bsd.lib.mk
.SUFFIXES: .3 .3x
.3x.3:
	cat ${.IMPSRC} > ${.TARGET}
@


1.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245887
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/ncurses/menu/Makefile 245887 2013-01-24 16:38:47Z brooks $
d43 1
a43 1
DPADD=	${LIBNCURSES${LIB_SUFFIX:U}}
@


1.18.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:25 +0000
@
text
@d1 141
@


1.18.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 139
# $FreeBSD: releng/8.4/lib/ncurses/menu/Makefile 169971 2007-05-25 02:27:46Z rafan $

.include "${.CURDIR}/../config.mk"

SRCDIR=	${NCURSES_DIR}/menu

LIB=	menu${LIB_SUFFIX}

.PATH: ${SRCDIR}
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

CLEANFILES=	ncurses_def.h

CFLAGS+=	-I${SRCDIR}

DPADD=	${LIBNCURSES${LIB_SUFFIX:U}}
LDADD=	-lncurses${LIB_SUFFIX}

.if defined(ENABLE_WIDEC)
INCS=	menu.h eti.h
.endif

.PATH: ${NCURSES_DIR}/man
MAN=	\
	menu.3 \
	menu_attributes.3 \
	menu_cursor.3 \
	menu_driver.3 \
	menu_format.3 \
	menu_hook.3 \
	menu_items.3 \
	menu_mark.3 \
	menu_new.3 \
	menu_opts.3 \
	menu_pattern.3 \
	menu_post.3 \
	menu_requestname.3 \
	menu_spacing.3 \
	menu_userptr.3 \
	menu_win.3 \
	mitem_current.3 \
	mitem_name.3 \
	mitem_new.3 \
	mitem_opts.3 \
	mitem_userptr.3 \
	mitem_value.3 \
	mitem_visible.3

CLEANFILES+=	${MAN:M*.3}

MLINKS=	menu_attributes.3 menu_back.3 \
	menu_attributes.3 menu_fore.3 \
	menu_attributes.3 menu_grey.3 \
	menu_attributes.3 menu_pad.3 \
	menu_attributes.3 set_menu_back.3 \
	menu_attributes.3 set_menu_fore.3 \
	menu_attributes.3 set_menu_grey.3 \
	menu_attributes.3 set_menu_pad.3 \
	menu_cursor.3 pos_menu_cursor.3 \
	menu_format.3 set_menu_format.3 \
	menu_hook.3 item_init.3 \
	menu_hook.3 item_term.3 \
	menu_hook.3 menu_init.3 \
	menu_hook.3 menu_term.3 \
	menu_hook.3 set_item_init.3 \
	menu_hook.3 set_item_term.3 \
	menu_hook.3 set_menu_init.3 \
	menu_hook.3 set_menu_term.3 \
	menu_items.3 item_count.3 \
	menu_items.3 set_menu_items.3 \
	menu_mark.3 set_menu_mark.3 \
	menu_new.3 free_menu.3 \
	menu_new.3 new_menu.3 \
	menu_opts.3 menu_opts_off.3 \
	menu_opts.3 menu_opts_on.3 \
	menu_opts.3 set_menu_opts.3 \
	menu_pattern.3 set_menu_pattern.3 \
	menu_post.3 post_menu.3 \
	menu_post.3 unpost_menu.3 \
	menu_requestname.3 menu_request_by_name.3 \
	menu_requestname.3 menu_request_name.3 \
	menu_spacing.3 set_menu_spacing.3 \
	menu_userptr.3 set_menu_userptr.3 \
	menu_win.3 menu_sub.3 \
	menu_win.3 scale_menu.3 \
	menu_win.3 set_menu_sub.3 \
	menu_win.3 set_menu_win.3 \
	mitem_current.3 current_item.3 \
	mitem_current.3 item_index.3 \
	mitem_current.3 set_current_item.3 \
	mitem_current.3 set_top_row.3 \
	mitem_current.3 top_row.3 \
	mitem_name.3 item_description.3 \
	mitem_name.3 item_name.3 \
	mitem_new.3 free_item.3 \
	mitem_new.3 new_item.3 \
	mitem_opts.3 item_opts.3 \
	mitem_opts.3 item_opts_off.3 \
	mitem_opts.3 item_opts_on.3 \
	mitem_opts.3 set_item_opts.3 \
	mitem_userptr.3 item_userptr.3 \
	mitem_userptr.3 set_item_userptr.3 \
	mitem_value.3 item_value.3 \
	mitem_value.3 set_item_value.3 \
	mitem_visible.3 item_visible.3

.include <bsd.lib.mk>

# Keep the .SUFFIXES line after the include of bsd.lib.mk
.SUFFIXES: .3 .3x
.3x.3:
	cat ${.IMPSRC} > ${.TARGET}
@


1.17
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/ncurses/menu/Makefile 169971 2007-05-25 02:27:46Z rafan $
a47 1
.endif
d132 3
@


1.16
log
@- When I introduce wide character enabled ncurses into base, all headers
  are installed twice (once in non-widec version, onec in widec version).
  Headers with widec enabled are compatible with non-widec version
  for libraries. However, if you do a repeat build/install, the curses.h
  is always overwritten. The reason is that headers and statics libraries
  are installed with -S option to preserve their mtime if no actual changes,
  which saves time when doing incremental builds. The curses.h is installed
  by non-widec ncurses first, then by widec ncurses. So next time, it happens
  again. You see something like this:

  # pwd
  /usr/src/lib/ncurses
  # make -s installincludes INSTALL="install -v"
  ===> ncurses (installincludes)
  install: curses.h -> /usr/include/curses.h
  ===> ncursesw (installincludes)
  install: curses.h -> /usr/include/curses.h
  # make -s installincludes INSTALL="install -v"
  ===> ncurses (installincludes)
  install: curses.h -> /usr/include/curses.h
  ===> ncursesw (installincludes)
  install: curses.h -> /usr/include/curses.h

  The solution is to disable installing headers in non-widec version. Now
  you see this:

  # pwd
  /usr/src/lib/ncurses
  # make -s installincludes INSTALL="install -v"
  ===> ncurses (installincludes)
  ===> ncursesw (installincludes)
  # make -s installincludes INSTALL="install -v"
  ===> ncurses (installincludes)
  ===> ncursesw (installincludes)

  For form/panel/menu libraries, the headers are the same for both version.
  To be consistent with ncurses, I also disable the installation in non-widec
  version.

Reported by:	des
Reviewed by:	ru
Thanks to:	ru
Approved by:	delphij (mentor)
MFC after:	2 weeks
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.16.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/lib/ncurses/menu/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.16.16.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.16.16.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/ncurses/menu/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.16.16.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248358
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/ncurses/menu/Makefile 248358 2013-03-15 22:31:51Z brooks $
d48 1
a132 3
.else
NO_MAN=
.endif
@


1.16.16.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.16.16.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/lib/ncurses/menu/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.16.16.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.16.16.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/lib/ncurses/menu/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.16.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.16.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/lib/ncurses/menu/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.16.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.16.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.16.10.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/lib/ncurses/menu/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.16.10.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.16.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/lib/ncurses/menu/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.16.10.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.16.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.16.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.16.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.16.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.15
log
@Enable ncurses wide character support

Approved by:	delphij (mentor)
Tested by:	kris on pointyhat (early version), current@@
@
text
@d46 1
d48 1
@


1.15.2.1
log
@MFC: ncurses + wide character support from HEAD which include:
  - new ncurses build framework
  - enable ncurses wide character support

Approved by:	delphij (mentor)
Tested by:	several people on stable@@
@
text
@@


1.15.2.2
log
@MFC the following changes:

  src/lib/ncurses/form/Makefile		1.14
  src/lib/ncurses/menu/Makefile		1.16
  src/lib/ncurses/ncurses/Makefile	1.90
  src/lib/ncurses/panel/Makefile	1.15

  - When I introduce wide character enabled ncurses into base, all headers
    are installed twice (once in non-widec version, onec in widec version).
    Headers with widec enabled are compatible with non-widec version
    for libraries. However, if you do a repeat build/install, the curses.h
    is always overwritten. The reason is that headers and statics libraries
    are installed with -C option to preserve their mtime if no actual changes,
    which saves time when doing incremental builds. The curses.h is installed
    by non-widec ncurses first, then by widec ncurses. So next time, it happens
    again. You see something like this:

    # pwd
    /usr/src/lib/ncurses
    # make -s installincludes INSTALL="install -v"
    ===> ncurses (installincludes)
    install: curses.h -> /usr/include/curses.h
    ===> ncursesw (installincludes)
    install: curses.h -> /usr/include/curses.h
    # make -s installincludes INSTALL="install -v"
    ===> ncurses (installincludes)
    install: curses.h -> /usr/include/curses.h
    ===> ncursesw (installincludes)
    install: curses.h -> /usr/include/curses.h

    The solution is to disable installing headers in non-widec version. Now
    you see this:

    # pwd
    /usr/src/lib/ncurses
    # make -s installincludes INSTALL="install -v"
    ===> ncurses (installincludes)
    ===> ncursesw (installincludes)
    # make -s installincludes INSTALL="install -v"
    ===> ncurses (installincludes)
    ===> ncursesw (installincludes)

    For form/panel/menu libraries, the headers are the same for both version.
    To be consistent with ncurses, I also disable the installation in non-widec
    version.

Reported by:    des
Reviewed by:    ru
Thanks to:      ru
Approved by:    delphij (mentor)
@
text
@a45 1
.if defined(ENABLE_WIDEC)
a46 1
.endif
@


1.15.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/lib/ncurses/menu/Makefile 170690 2007-06-14 02:53:24Z rafan $
@


1.15.2.2.4.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.14
log
@- style.Makefile(9) fix
  - first line is $FreeBSD$
  - Reorder special variables: DPADD, LPADD, CFLAGS
  - Use = instead of += for variables that are initially empty
  - Use space instead of tab after :
  - Use one tab after =
- Use .SUFFIXES for section 3 manual page which simplifies Makefile a lot
- Use SHAREDIR instead of /usr/share
- Remove SRCDIR in INCS since we set .PATH properly
- Use plural in variable name when it stands for more that one source file

Reviewed by:	ru
Approved by:	delphij (mentor)
@
text
@d7 1
a7 1
LIB=	menu
d43 2
a44 2
DPADD=	${LIBNCURSES}
LDADD=	-lncurses
@


1.13
log
@Introduce new ncurses build glues which are part of ncurses 5.6 update.

Approved by:	delphij
Inspired by:	DragonFly's and lib/bind
@
text
@a0 1
# Makefile for libmenu
d3 1
a3 1
.include	"${.CURDIR}/../config.mk"
d5 1
a5 1
SRCDIR=		${NCURSES_DIR}/menu
d7 33
a39 33
LIB=		menu
DPADD=		${LIBNCURSES}
LDADD=		-lncurses

.PATH:		${SRCDIR}
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
d43 2
a44 1
INCS=		${SRCDIR}/menu.h ${SRCDIR}/eti.h
d46 1
a46 1
CLEANFILES+=	ncurses_def.h
d48 83
a130 89
.PATH:		${NCURSES_DIR}/man
MANx=		\
		menu.3x \
		menu_attributes.3x \
		menu_cursor.3x \
		menu_driver.3x \
		menu_format.3x \
		menu_hook.3x \
		menu_items.3x \
		menu_mark.3x \
		menu_new.3x \
		menu_opts.3x \
		menu_pattern.3x \
		menu_post.3x \
		menu_requestname.3x \
		menu_spacing.3x \
		menu_userptr.3x \
		menu_win.3x \
		mitem_current.3x \
		mitem_name.3x \
		mitem_new.3x \
		mitem_opts.3x \
		mitem_userptr.3x \
		mitem_value.3x \
		mitem_visible.3x

# Generate the MAN list from MANx
.for page in ${MANx}
CLEANFILES+=	${page:T:S/x$//g}
MAN+=		${page:T:S/x$//g}
${page:T:S/x$//g}: ${page}
	cat ${.ALLSRC} > ${.TARGET}
.endfor

MLINKS=		menu_attributes.3 menu_back.3 \
		menu_attributes.3 menu_fore.3 \
		menu_attributes.3 menu_grey.3 \
		menu_attributes.3 menu_pad.3 \
		menu_attributes.3 set_menu_back.3 \
		menu_attributes.3 set_menu_fore.3 \
		menu_attributes.3 set_menu_grey.3 \
		menu_attributes.3 set_menu_pad.3 \
		menu_cursor.3 pos_menu_cursor.3 \
		menu_format.3 set_menu_format.3 \
		menu_hook.3 item_init.3 \
		menu_hook.3 item_term.3 \
		menu_hook.3 menu_init.3 \
		menu_hook.3 menu_term.3 \
		menu_hook.3 set_item_init.3 \
		menu_hook.3 set_item_term.3 \
		menu_hook.3 set_menu_init.3 \
		menu_hook.3 set_menu_term.3 \
		menu_items.3 item_count.3 \
		menu_items.3 set_menu_items.3 \
		menu_mark.3 set_menu_mark.3 \
		menu_new.3 free_menu.3 \
		menu_new.3 new_menu.3 \
		menu_opts.3 menu_opts_off.3 \
		menu_opts.3 menu_opts_on.3 \
		menu_opts.3 set_menu_opts.3 \
		menu_pattern.3 set_menu_pattern.3 \
		menu_post.3 post_menu.3 \
		menu_post.3 unpost_menu.3 \
		menu_requestname.3 menu_request_by_name.3 \
		menu_requestname.3 menu_request_name.3 \
		menu_spacing.3 set_menu_spacing.3 \
		menu_userptr.3 set_menu_userptr.3 \
		menu_win.3 menu_sub.3 \
		menu_win.3 scale_menu.3 \
		menu_win.3 set_menu_sub.3 \
		menu_win.3 set_menu_win.3 \
		mitem_current.3 current_item.3 \
		mitem_current.3 item_index.3 \
		mitem_current.3 set_current_item.3 \
		mitem_current.3 set_top_row.3 \
		mitem_current.3 top_row.3 \
		mitem_name.3 item_description.3 \
		mitem_name.3 item_name.3 \
		mitem_new.3 free_item.3 \
		mitem_new.3 new_item.3 \
		mitem_opts.3 item_opts.3 \
		mitem_opts.3 item_opts_off.3 \
		mitem_opts.3 item_opts_on.3 \
		mitem_opts.3 set_item_opts.3 \
		mitem_userptr.3 item_userptr.3 \
		mitem_userptr.3 set_item_userptr.3 \
		mitem_value.3 item_value.3 \
		mitem_value.3 set_item_value.3 \
		mitem_visible.3 item_visible.3
d133 5
@


1.12
log
@Force commit to note the following repocopies:

lib/libform/Makefile -> lib/ncurses/form/Makefile
lib/libmenu/Makefile -> lib/ncurses/menu/Makefile
lib/libncurses/Makefile -> lib/ncurses/ncurses/Makefile
lib/libncurses/ncurses_cfg.h -> lib/ncurses/ncurses/ncurses_cfg.h
lib/libncurses/pathnames.h -> lib/ncurses/ncurses/pathnames.h
lib/libncurses/termcap.c -> lib/ncurses/ncurses/termcap.c
lib/libpanel/Makefile -> lib/ncurses/panel/Makefile

Approved by:	delphij
Repocopied by:	kuriyama
@
text
@d4 1
a4 1
NCURSES=${.CURDIR}/../../contrib/ncurses
d6 1
a6 2
.PATH:	${NCURSES}/menu ${NCURSES}/include
.PATH:  ${NCURSES}/man
d8 37
a44 12
LIB=    menu
DPADD=	${LIBNCURSES}
LDADD=	-lncurses
AWK?=	awk

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
d47 26
a72 18
CFLAGS+= -I.
.if exists(${.OBJDIR}/../libncurses)
CFLAGS+= -I${.OBJDIR}/../libncurses
.endif
CFLAGS+=-I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
	-Wall -DNDEBUG -DHAVE_CONFIG_H

ncurses_def.h:	MKncurses_def.sh ncurses_defs
	AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
	    ${NCURSES}/include/ncurses_defs > ncurses_def.h

MANx=	menu.3x menu_attributes.3x menu_cursor.3x \
	menu_driver.3x menu_format.3x menu_hook.3x menu_items.3x \
	menu_mark.3x menu_new.3x menu_opts.3x menu_pattern.3x \
	menu_post.3x menu_requestname.3x menu_spacing.3x \
	menu_userptr.3x menu_win.3x mitem_current.3x mitem_name.3x \
	mitem_new.3x mitem_opts.3x mitem_userptr.3x mitem_value.3x \
	mitem_visible.3x
d76 2
a77 2
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
d82 55
a136 33
MLINKS+=menu_attributes.3 menu_back.3 menu_attributes.3 menu_fore.3 \
	menu_attributes.3 menu_grey.3 menu_attributes.3 menu_pad.3 \
	menu_attributes.3 set_menu_back.3 menu_attributes.3 set_menu_fore.3 \
	menu_attributes.3 set_menu_grey.3 menu_attributes.3 set_menu_pad.3
MLINKS+=menu_cursor.3 pos_menu_cursor.3
MLINKS+=menu_format.3 set_menu_format.3
MLINKS+=menu_hook.3 item_init.3 menu_hook.3 item_term.3 \
	menu_hook.3 menu_init.3 menu_hook.3 menu_term.3 \
	menu_hook.3 set_item_init.3 menu_hook.3 set_item_term.3 \
	menu_hook.3 set_menu_init.3 menu_hook.3 set_menu_term.3
MLINKS+=menu_items.3 item_count.3 menu_items.3 set_menu_items.3
MLINKS+=menu_mark.3 set_menu_mark.3
MLINKS+=menu_new.3 free_menu.3 menu_new.3 new_menu.3
MLINKS+=menu_opts.3 menu_opts_off.3 menu_opts.3 menu_opts_on.3
MLINKS+=menu_pattern.3 set_menu_pattern.3
MLINKS+=menu_post.3 post_menu.3 menu_post.3 unpost_menu.3
MLINKS+=menu_requestname.3 menu_request_by_name.3 \
	menu_requestname.3 menu_request_name.3
MLINKS+=menu_spacing.3 set_menu_spacing.3
MLINKS+=menu_userptr.3 set_menu_userptr.3
MLINKS+=menu_win.3 menu_sub.3 menu_win.3 scale_menu.3 \
	menu_win.3 set_menu_sub.3 menu_win.3 set_menu_win.3
MLINKS+=mitem_current.3 current_item.3 mitem_current.3 item_index.3 \
	mitem_current.3 set_top_row.3 mitem_current.3 top_row.3 \
	mitem_current.3 set_current_item.3
MLINKS+=mitem_name.3 item_description.3 mitem_name.3 item_name.3
MLINKS+=mitem_new.3 free_item.3 mitem_new.3 new_item.3
MLINKS+=mitem_opts.3 item_opts.3 mitem_opts.3 item_opts_off.3 \
	mitem_opts.3 item_opts_on.3 mitem_opts.3 set_item_opts.3 \
	mitem_opts.3 set_menu_opts.3
MLINKS+=mitem_userptr.3 item_userptr.3 mitem_userptr.3 set_item_userptr.3
MLINKS+=mitem_value.3 item_value.3 mitem_value.3 set_item_value.3
MLINKS+=mitem_visible.3 item_visible.3
@


1.11
log
@Add missing shared library interdependencies.
@
text
@@


1.10
log
@Use
	cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
@
text
@d10 2
@


1.9
log
@Make this a little easier to build standalone.  (same change as libpanel)
@
text
@d45 1
a45 1
	ln -s ${.ALLSRC} ${.TARGET}
@


1.8
log
@Update for ncurses 5.2-20010512 import
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libmenu/Makefile,v 1.7 2001/03/27 17:27:07 ru Exp $
d21 5
a25 1
CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
@


1.7
log
@MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libmenu/Makefile,v 1.6 2000/12/05 12:38:22 tg Exp $
d28 1
a28 1
MANx=	menu.3x menu_attribs.3x menu_attributes.3x menu_cursor.3x \
@


1.6
log
@Install manpages, including appropriate MLINKS.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libmenu/Makefile,v 1.5 2000/10/11 08:20:37 peter Exp $
d28 1
a28 1
MAN3x=	menu.3x menu_attribs.3x menu_attributes.3x menu_cursor.3x \
d36 5
a40 6
# Generate the MAN3 list from MAN3x
.for page in ${MAN3x}
CLEANFILES+=${page:T:S/3x$/3/g}
MAN3+=${page:T:S/3x$/3/g}
all-man: ${page:T:S/3x$/3/g}
${page:T:S/3x$/3/g}: ${page}
a78 2

.SUFFIXES: .3x .3
@


1.5
log
@Oops, beforedepend isn't needed.  The build problem I had was due to
something else.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libmenu/Makefile,v 1.4 2000/10/11 08:14:44 peter Exp $
d7 1
d28 51
d80 2
@


1.4
log
@Update after ncurses 20001009 import
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libmenu/Makefile,v 1.3 2000/05/24 09:01:23 tg Exp $
a21 2

beforedepend:	ncurses_def.h
@


1.3
log
@Add missing source files. Sort SRCS.

PR:		18631
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libmenu/Makefile,v 1.2 2000/01/14 07:57:35 rgrimes Exp $
d6 1
a6 1
.PATH:	${NCURSES}/menu
d9 1
d11 2
a12 1
SRCS=	m_attribs.c m_cursor.c m_driver.c m_format.c m_global.c m_hook.c \
d19 2
a20 1
CFLAGS+= -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
d22 6
@


1.2
log
@Replace beforeinstall target with new variables used by .mk system.

Reviewed by:	marcel, and make world
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libmenu/Makefile,v 1.1 1999/09/05 05:32:46 peter Exp $
d11 4
a14 3
	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
@


1.2.2.1
log
@MFC: Add missing source files.

PR:		18631
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libmenu/Makefile,v 1.2 2000/01/14 07:57:35 rgrimes Exp $
d11 3
a13 4
	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
@


1.2.2.2
log
@MFC: ncurses 5.1-20001009
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libmenu/Makefile,v 1.2.2.1 2000/05/25 09:54:28 tg Exp $
d6 1
a6 1
.PATH:	${NCURSES}/menu ${NCURSES}/include
a8 1
AWK?=	awk
d10 1
a10 2
SRCS=	ncurses_def.h \
	m_attribs.c m_cursor.c m_driver.c m_format.c m_global.c m_hook.c \
d17 1
a17 2
CLEANFILES+=	ncurses_def.h
CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
a18 4

ncurses_def.h:	MKncurses_def.sh ncurses_defs
	AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
	    ${NCURSES}/include/ncurses_defs > ncurses_def.h
@


1.2.2.3
log
@MFC: Install missing manpages, add missing functions to MLINKS.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libmenu/Makefile,v 1.2.2.2 2000/10/12 18:41:05 peter Exp $
a6 1
.PATH:  ${NCURSES}/man
a26 51
MAN3x=	menu.3x menu_attribs.3x menu_attributes.3x menu_cursor.3x \
	menu_driver.3x menu_format.3x menu_hook.3x menu_items.3x \
	menu_mark.3x menu_new.3x menu_opts.3x menu_pattern.3x \
	menu_post.3x menu_requestname.3x menu_spacing.3x \
	menu_userptr.3x menu_win.3x mitem_current.3x mitem_name.3x \
	mitem_new.3x mitem_opts.3x mitem_userptr.3x mitem_value.3x \
	mitem_visible.3x

# Generate the MAN3 list from MAN3x
.for page in ${MAN3x}
CLEANFILES+=${page:T:S/3x$/3/g}
MAN3+=${page:T:S/3x$/3/g}
all-man: ${page:T:S/3x$/3/g}
${page:T:S/3x$/3/g}: ${page}
	ln -s ${.ALLSRC} ${.TARGET}
.endfor

MLINKS+=menu_attributes.3 menu_back.3 menu_attributes.3 menu_fore.3 \
	menu_attributes.3 menu_grey.3 menu_attributes.3 menu_pad.3 \
	menu_attributes.3 set_menu_back.3 menu_attributes.3 set_menu_fore.3 \
	menu_attributes.3 set_menu_grey.3 menu_attributes.3 set_menu_pad.3
MLINKS+=menu_cursor.3 pos_menu_cursor.3
MLINKS+=menu_format.3 set_menu_format.3
MLINKS+=menu_hook.3 item_init.3 menu_hook.3 item_term.3 \
	menu_hook.3 menu_init.3 menu_hook.3 menu_term.3 \
	menu_hook.3 set_item_init.3 menu_hook.3 set_item_term.3 \
	menu_hook.3 set_menu_init.3 menu_hook.3 set_menu_term.3
MLINKS+=menu_items.3 item_count.3 menu_items.3 set_menu_items.3
MLINKS+=menu_mark.3 set_menu_mark.3
MLINKS+=menu_new.3 free_menu.3 menu_new.3 new_menu.3
MLINKS+=menu_opts.3 menu_opts_off.3 menu_opts.3 menu_opts_on.3
MLINKS+=menu_pattern.3 set_menu_pattern.3
MLINKS+=menu_post.3 post_menu.3 menu_post.3 unpost_menu.3
MLINKS+=menu_requestname.3 menu_request_by_name.3 \
	menu_requestname.3 menu_request_name.3
MLINKS+=menu_spacing.3 set_menu_spacing.3
MLINKS+=menu_userptr.3 set_menu_userptr.3
MLINKS+=menu_win.3 menu_sub.3 menu_win.3 scale_menu.3 \
	menu_win.3 set_menu_sub.3 menu_win.3 set_menu_win.3
MLINKS+=mitem_current.3 current_item.3 mitem_current.3 item_index.3 \
	mitem_current.3 set_top_row.3 mitem_current.3 top_row.3 \
	mitem_current.3 set_current_item.3
MLINKS+=mitem_name.3 item_description.3 mitem_name.3 item_name.3
MLINKS+=mitem_new.3 free_item.3 mitem_new.3 new_item.3
MLINKS+=mitem_opts.3 item_opts.3 mitem_opts.3 item_opts_off.3 \
	mitem_opts.3 item_opts_on.3 mitem_opts.3 set_item_opts.3 \
	mitem_opts.3 set_menu_opts.3
MLINKS+=mitem_userptr.3 item_userptr.3 mitem_userptr.3 set_item_userptr.3
MLINKS+=mitem_value.3 item_value.3 mitem_value.3 set_item_value.3
MLINKS+=mitem_visible.3 item_visible.3

a27 2

.SUFFIXES: .3x .3
@


1.2.2.4
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libmenu/Makefile,v 1.2.2.3 2000/12/07 12:23:57 tg Exp $
d28 1
a28 1
MANx=	menu.3x menu_attribs.3x menu_attributes.3x menu_cursor.3x \
d36 6
a41 5
# Generate the MAN list from MANx
.for page in ${MANx}
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
${page:T:S/x$//g}: ${page}
d80 2
@


1.1
log
@Add bmake glue for libmenu (the SVSV-style ETI curses menu driver from
ncurses)
@
text
@d2 1
a2 1
# $FreeBSD$
d14 1
a17 6

beforeinstall:
.for i in menu.h eti.h
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${NCURSES}/menu/$i \
		${DESTDIR}/usr/include
.endfor
@

