head	1.17;
access;
symbols
	RELENG_8_4:1.16.0.2
	RELENG_9_1_0_RELEASE:1.14.16.1.4.2
	RELENG_9_1:1.14.16.1.0.4
	RELENG_9_1_BP:1.14.16.1
	RELENG_8_3_0_RELEASE:1.14.10.1.8.1
	RELENG_8_3:1.14.10.1.0.8
	RELENG_8_3_BP:1.14.10.1
	RELENG_9_0_0_RELEASE:1.14.16.1.2.1
	RELENG_9_0:1.14.16.1.0.2
	RELENG_9_0_BP:1.14.16.1
	RELENG_9:1.14.0.16
	RELENG_9_BP:1.14
	RELENG_7_4_0_RELEASE:1.14.14.1
	RELENG_8_2_0_RELEASE:1.14.10.1.6.1
	RELENG_7_4:1.14.0.14
	RELENG_7_4_BP:1.14
	RELENG_8_2:1.14.10.1.0.6
	RELENG_8_2_BP:1.14.10.1
	RELENG_8_1_0_RELEASE:1.14.10.1.4.1
	RELENG_8_1:1.14.10.1.0.4
	RELENG_8_1_BP:1.14.10.1
	RELENG_7_3_0_RELEASE:1.14.12.1
	RELENG_7_3:1.14.0.12
	RELENG_7_3_BP:1.14
	RELENG_8_0_0_RELEASE:1.14.10.1.2.1
	RELENG_8_0:1.14.10.1.0.2
	RELENG_8_0_BP:1.14.10.1
	RELENG_8:1.14.0.10
	RELENG_8_BP:1.14
	RELENG_7_2_0_RELEASE:1.14.8.1
	RELENG_7_2:1.14.0.8
	RELENG_7_2_BP:1.14
	RELENG_7_1_0_RELEASE:1.14.6.1
	RELENG_6_4_0_RELEASE:1.13.2.2.4.1
	RELENG_7_1:1.14.0.6
	RELENG_7_1_BP:1.14
	RELENG_6_4:1.13.2.2.0.4
	RELENG_6_4_BP:1.13.2.2
	RELENG_7_0_0_RELEASE:1.14
	RELENG_6_3_0_RELEASE:1.13.2.2
	RELENG_7_0:1.14.0.4
	RELENG_7_0_BP:1.14
	RELENG_6_3:1.13.2.2.0.2
	RELENG_6_3_BP:1.13.2.2
	RELENG_7:1.14.0.2
	RELENG_7_BP:1.14
	RELENG_6:1.13.0.2
	old_RELENG_6_2_0_RELEASE:1.8
	old_RELENG_6_2:1.8.0.18
	old_RELENG_6_2_BP:1.8
	old_RELENG_5_5_0_RELEASE:1.8
	old_RELENG_5_5:1.8.0.16
	old_RELENG_5_5_BP:1.8
	old_RELENG_6_1_0_RELEASE:1.8
	old_RELENG_6_1:1.8.0.14
	old_RELENG_6_1_BP:1.8
	old_RELENG_6_0_0_RELEASE:1.8
	old_RELENG_6_0:1.8.0.12
	old_RELENG_6_0_BP:1.8
	old_RELENG_6:1.8.0.10
	old_RELENG_6_BP:1.8
	old_RELENG_5_4_0_RELEASE:1.8
	old_RELENG_5_4:1.8.0.8
	old_RELENG_5_4_BP:1.8
	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.8
	old_RELENG_5_3:1.8.0.6
	old_RELENG_5_3_BP:1.8
	old_RELENG_5:1.8.0.4
	old_RELENG_5_BP:1.8
	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.8
	old_RELENG_5_2_0_RELEASE:1.8
	old_RELENG_5_2:1.8.0.2
	old_RELENG_5_2_BP:1.8
	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.7
	old_RELENG_5_1:1.7.0.4
	old_RELENG_5_1_BP:1.7
	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.7
	old_RELENG_5_0:1.7.0.2
	old_RELENG_5_0_BP:1.7
	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.17
date	2013.06.03.00.36.28;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2013.01.25.00.47.42;	author svnexp;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	2012.11.17.01.50.09;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2007.05.25.02.27.46;	author rafan;	state Exp;
branches
	1.14.2.1
	1.14.6.1
	1.14.8.1
	1.14.10.1
	1.14.12.1
	1.14.14.1
	1.14.16.1;
next	1.13;

1.13
date	2007.03.09.12.11.56;	author rafan;	state Exp;
branches
	1.13.2.1;
next	1.12;

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

1.11
date	2007.01.20.07.46.44;	author rafan;	state Exp;
branches;
next	1.10;

1.10
date	2007.01.20.07.43.46;	author rafan;	state Exp;
branches;
next	1.9;

1.9
date	2005.11.10.18.07.05;	author ru;	state Exp;
branches;
next	1.8;

1.8
date	2003.06.06.13.46.55;	author kuriyama;	state Exp;
branches;
next	1.7;

1.7
date	2002.05.21.07.08.30;	author peter;	state Exp;
branches;
next	1.6;

1.6
date	2001.03.27.17.27.01;	author ru;	state Exp;
branches;
next	1.5;

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

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

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

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

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

1.16.2.1
date	2013.01.25.00.47.42;	author svnexp;	state dead;
branches;
next	1.16.2.2;

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

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

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

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

1.14.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.14.10.1.2.1
	1.14.10.1.4.1
	1.14.10.1.6.1
	1.14.10.1.8.1;
next	1.14.10.2;

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

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

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

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

1.14.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.14.10.1.8.2;

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

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

1.14.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.14.14.2;

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

1.14.16.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.14.16.1.2.1
	1.14.16.1.4.1;
next	1.14.16.2;

1.14.16.2
date	2012.11.17.11.36.28;	author svnexp;	state Exp;
branches;
next	1.14.16.3;

1.14.16.3
date	2013.03.16.00.23.22;	author svnexp;	state Exp;
branches;
next	;

1.14.16.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.14.16.1.2.2;

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

1.14.16.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.14.16.1.4.2;

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

1.13.2.1
date	2007.04.06.17.52.05;	author rafan;	state Exp;
branches;
next	1.13.2.2;

1.13.2.2
date	2007.06.14.02.53.23;	author rafan;	state Exp;
branches
	1.13.2.2.4.1;
next	1.13.2.3;

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

1.13.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.27;	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.56;	author tg;	state Exp;
branches;
next	1.2.2.4;

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


desc
@@


1.17
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/form/Makefile 251250 2013-06-02 11:44:23Z tijl $

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

SRCDIR=	${NCURSES_DIR}/form

LIB=	form${LIB_SUFFIX}

.PATH: ${SRCDIR}
SRCS=	\
	ncurses_def.h \
	fld_arg.c \
	fld_attr.c \
	fld_current.c \
	fld_def.c \
	fld_dup.c \
	fld_ftchoice.c \
	fld_ftlink.c \
	fld_info.c \
	fld_just.c \
	fld_link.c \
	fld_max.c \
	fld_move.c \
	fld_newftyp.c \
	fld_opts.c \
	fld_pad.c \
	fld_page.c \
	fld_stat.c \
	fld_type.c \
	fld_user.c \
	frm_cursor.c \
	frm_data.c \
	frm_def.c \
	frm_driver.c \
	frm_hook.c \
	frm_opts.c \
	frm_page.c \
	frm_post.c \
	frm_req_name.c \
	frm_scale.c \
	frm_sub.c \
	frm_user.c \
	frm_win.c \
	fty_alnum.c \
	fty_alpha.c \
	fty_enum.c \
	fty_int.c \
	fty_ipv4.c \
	fty_num.c \
	fty_regex.c

CLEANFILES=	ncurses_def.h

CFLAGS+=	-I${SRCDIR}
CFLAGS+=	-I${NCURSES_DIR}/menu

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

.if defined(ENABLE_WIDEC)
INCS=	form.h

.PATH: ${NCURSES_DIR}/man
MAN=	\
	form.3 \
	form_cursor.3 \
	form_data.3 \
	form_driver.3 \
	form_field.3 \
	form_field_attributes.3 \
	form_field_buffer.3 \
	form_field_info.3 \
	form_field_just.3 \
	form_field_new.3 \
	form_field_opts.3 \
	form_field_userptr.3 \
	form_field_validation.3 \
	form_fieldtype.3 \
	form_hook.3 \
	form_new.3 \
	form_new_page.3 \
	form_opts.3 \
	form_page.3 \
	form_post.3 \
	form_requestname.3 \
	form_userptr.3 \
	form_win.3

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

MLINKS=	form_cursor.3 pos_form_cursor.3 \
	form_data.3 data_ahead.3 \
	form_data.3 data_behind.3 \
	form_field.3 field_count.3 \
	form_field.3 form_fields.3 \
	form_field.3 move_field.3 \
	form_field.3 set_form_fields.3 \
	form_field_attributes.3 field_back.3 \
	form_field_attributes.3 field_fore.3 \
	form_field_attributes.3 field_pad.3 \
	form_field_attributes.3 set_field_back.3 \
	form_field_attributes.3 set_field_fore.3 \
	form_field_attributes.3 set_field_pad.3 \
	form_field_buffer.3 field_buffer.3 \
	form_field_buffer.3 field_status.3 \
	form_field_buffer.3 set_field_buffer.3 \
	form_field_buffer.3 set_field_status.3 \
	form_field_buffer.3 set_max_field.3 \
	form_field_info.3 dynamic_fieldinfo.3 \
	form_field_info.3 field_info.3 \
	form_field_just.3 field_just.3 \
	form_field_just.3 set_field_just.3 \
	form_field_new.3 dup_field.3 \
	form_field_new.3 free_field.3 \
	form_field_new.3 link_field.3 \
	form_field_new.3 new_field.3 \
	form_field_opts.3 field_opts.3 \
	form_field_opts.3 field_opts_off.3 \
	form_field_opts.3 field_opts_on.3 \
	form_field_opts.3 set_field_opts.3 \
	form_field_userptr.3 field_userptr.3 \
	form_field_userptr.3 set_field_userptr.3 \
	form_field_validation.3 field_arg.3 \
	form_field_validation.3 field_type.3 \
	form_field_validation.3 set_field_type.3 \
	form_fieldtype.3 free_fieldtype.3 \
	form_fieldtype.3 link_fieldtype.3 \
	form_fieldtype.3 new_fieldtype.3 \
	form_fieldtype.3 set_fieldtype_arg.3 \
	form_fieldtype.3 set_fieldtype_choice.3 \
	form_hook.3 field_init.3 \
	form_hook.3 field_term.3 \
	form_hook.3 form_init.3 \
	form_hook.3 form_term.3 \
	form_hook.3 set_field_init.3 \
	form_hook.3 set_field_term.3 \
	form_hook.3 set_form_init.3 \
	form_hook.3 set_form_term.3 \
	form_new.3 free_form.3 \
	form_new.3 new_form.3 \
	form_new_page.3 new_page.3 \
	form_new_page.3 set_new_page.3 \
	form_opts.3 form_opts_off.3 \
	form_opts.3 form_opts_on.3 \
	form_opts.3 set_form_opts.3 \
	form_page.3 current_field.3 \
	form_page.3 field_index.3 \
	form_page.3 set_current_field.3 \
	form_page.3 set_form_page.3 \
	form_post.3 post_form.3 \
	form_post.3 unpost_form.3 \
	form_requestname.3 form_request_by_name.3 \
	form_requestname.3 form_request_name.3 \
	form_userptr.3 set_form_userptr.3 \
	form_win.3 form_sub.3 \
	form_win.3 scale_form.3 \
	form_win.3 set_form_sub.3 \
	form_win.3 set_form_win.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.16
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/form/Makefile 245887 2013-01-24 16:38:47Z brooks $
d57 1
a57 1
DPADD=	${LIBNCURSES${LIB_SUFFIX:U}}
@


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


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

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

SRCDIR=	${NCURSES_DIR}/form

LIB=	form${LIB_SUFFIX}

.PATH: ${SRCDIR}
SRCS=	\
	ncurses_def.h \
	fld_arg.c \
	fld_attr.c \
	fld_current.c \
	fld_def.c \
	fld_dup.c \
	fld_ftchoice.c \
	fld_ftlink.c \
	fld_info.c \
	fld_just.c \
	fld_link.c \
	fld_max.c \
	fld_move.c \
	fld_newftyp.c \
	fld_opts.c \
	fld_pad.c \
	fld_page.c \
	fld_stat.c \
	fld_type.c \
	fld_user.c \
	frm_cursor.c \
	frm_data.c \
	frm_def.c \
	frm_driver.c \
	frm_hook.c \
	frm_opts.c \
	frm_page.c \
	frm_post.c \
	frm_req_name.c \
	frm_scale.c \
	frm_sub.c \
	frm_user.c \
	frm_win.c \
	fty_alnum.c \
	fty_alpha.c \
	fty_enum.c \
	fty_int.c \
	fty_ipv4.c \
	fty_num.c \
	fty_regex.c

CLEANFILES=	ncurses_def.h

CFLAGS+=	-I${SRCDIR}
CFLAGS+=	-I${NCURSES_DIR}/menu

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

.if defined(ENABLE_WIDEC)
INCS=	form.h
.endif

.PATH: ${NCURSES_DIR}/man
MAN=	\
	form.3 \
	form_cursor.3 \
	form_data.3 \
	form_driver.3 \
	form_field.3 \
	form_field_attributes.3 \
	form_field_buffer.3 \
	form_field_info.3 \
	form_field_just.3 \
	form_field_new.3 \
	form_field_opts.3 \
	form_field_userptr.3 \
	form_field_validation.3 \
	form_fieldtype.3 \
	form_hook.3 \
	form_new.3 \
	form_new_page.3 \
	form_opts.3 \
	form_page.3 \
	form_post.3 \
	form_requestname.3 \
	form_userptr.3 \
	form_win.3

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

MLINKS=	form_cursor.3 pos_form_cursor.3 \
	form_data.3 data_ahead.3 \
	form_data.3 data_behind.3 \
	form_field.3 field_count.3 \
	form_field.3 form_fields.3 \
	form_field.3 move_field.3 \
	form_field.3 set_form_fields.3 \
	form_field_attributes.3 field_back.3 \
	form_field_attributes.3 field_fore.3 \
	form_field_attributes.3 field_pad.3 \
	form_field_attributes.3 set_field_back.3 \
	form_field_attributes.3 set_field_fore.3 \
	form_field_attributes.3 set_field_pad.3 \
	form_field_buffer.3 field_buffer.3 \
	form_field_buffer.3 field_status.3 \
	form_field_buffer.3 set_field_buffer.3 \
	form_field_buffer.3 set_field_status.3 \
	form_field_buffer.3 set_max_field.3 \
	form_field_info.3 dynamic_fieldinfo.3 \
	form_field_info.3 field_info.3 \
	form_field_just.3 field_just.3 \
	form_field_just.3 set_field_just.3 \
	form_field_new.3 dup_field.3 \
	form_field_new.3 free_field.3 \
	form_field_new.3 link_field.3 \
	form_field_new.3 new_field.3 \
	form_field_opts.3 field_opts.3 \
	form_field_opts.3 field_opts_off.3 \
	form_field_opts.3 field_opts_on.3 \
	form_field_opts.3 set_field_opts.3 \
	form_field_userptr.3 field_userptr.3 \
	form_field_userptr.3 set_field_userptr.3 \
	form_field_validation.3 field_arg.3 \
	form_field_validation.3 field_type.3 \
	form_field_validation.3 set_field_type.3 \
	form_fieldtype.3 free_fieldtype.3 \
	form_fieldtype.3 link_fieldtype.3 \
	form_fieldtype.3 new_fieldtype.3 \
	form_fieldtype.3 set_fieldtype_arg.3 \
	form_fieldtype.3 set_fieldtype_choice.3 \
	form_hook.3 field_init.3 \
	form_hook.3 field_term.3 \
	form_hook.3 form_init.3 \
	form_hook.3 form_term.3 \
	form_hook.3 set_field_init.3 \
	form_hook.3 set_field_term.3 \
	form_hook.3 set_form_init.3 \
	form_hook.3 set_form_term.3 \
	form_new.3 free_form.3 \
	form_new.3 new_form.3 \
	form_new_page.3 new_page.3 \
	form_new_page.3 set_new_page.3 \
	form_opts.3 form_opts_off.3 \
	form_opts.3 form_opts_on.3 \
	form_opts.3 set_form_opts.3 \
	form_page.3 current_field.3 \
	form_page.3 field_index.3 \
	form_page.3 set_current_field.3 \
	form_page.3 set_form_page.3 \
	form_post.3 post_form.3 \
	form_post.3 unpost_form.3 \
	form_requestname.3 form_request_by_name.3 \
	form_requestname.3 form_request_name.3 \
	form_userptr.3 set_form_userptr.3 \
	form_win.3 form_sub.3 \
	form_win.3 scale_form.3 \
	form_win.3 set_form_sub.3 \
	form_win.3 set_form_win.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.15
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/ncurses/form/Makefile 169971 2007-05-25 02:27:46Z rafan $
a61 1
.endif
d159 3
@


1.14
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.14.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/lib/ncurses/form/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.14.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.14.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/form/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.14.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/form/Makefile 248358 2013-03-15 22:31:51Z brooks $
d62 1
a159 3
.else
NO_MAN=
.endif
@


1.14.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.14.16.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/lib/ncurses/form/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.14.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.14.16.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/lib/ncurses/form/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.14.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.14.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/lib/ncurses/form/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.14.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.14.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.14.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/form/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.14.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.14.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/lib/ncurses/form/Makefile 169971 2007-05-25 02:27:46Z rafan $
@


1.14.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.14.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.14.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.14.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.14.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.13
log
@Enable ncurses wide character support

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


1.13.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.13.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
@a59 1
.if defined(ENABLE_WIDEC)
a60 1
.endif
@


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


1.13.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.12
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=	form
d57 2
a58 2
DPADD=	${LIBNCURSES}
LDADD=	-lncurses
@


1.11
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 libform
d3 1
a3 1
.include	"${.CURDIR}/../config.mk"
d5 1
a5 1
SRCDIR=		${NCURSES_DIR}/form
d7 46
a52 46
LIB=		form
DPADD=		${LIBNCURSES}
LDADD=		-lncurses

.PATH:		${SRCDIR}
SRCS=		\
		ncurses_def.h \
		fld_arg.c \
		fld_attr.c \
		fld_current.c \
		fld_def.c \
		fld_dup.c \
		fld_ftchoice.c \
		fld_ftlink.c \
		fld_info.c \
		fld_just.c \
		fld_link.c \
		fld_max.c \
		fld_move.c \
		fld_newftyp.c \
		fld_opts.c \
		fld_pad.c \
		fld_page.c \
		fld_stat.c \
		fld_type.c \
		fld_user.c \
		frm_cursor.c \
		frm_data.c \
		frm_def.c \
		frm_driver.c \
		frm_hook.c \
		frm_opts.c \
		frm_page.c \
		frm_post.c \
		frm_req_name.c \
		frm_scale.c \
		frm_sub.c \
		frm_user.c \
		frm_win.c \
		fty_alnum.c \
		fty_alpha.c \
		fty_enum.c \
		fty_int.c \
		fty_ipv4.c \
		fty_num.c \
		fty_regex.c
d57 2
a58 1
INCS=		${SRCDIR}/form.h
d60 1
a60 1
CLEANFILES+=	ncurses_def.h
d62 96
a157 102
.PATH:		${NCURSES_DIR}/man
MANx=		\
		form.3x \
		form_cursor.3x \
		form_data.3x \
		form_driver.3x \
		form_field.3x \
		form_field_attributes.3x \
		form_field_buffer.3x \
		form_field_info.3x \
		form_field_just.3x \
		form_field_new.3x \
		form_field_opts.3x \
		form_field_userptr.3x \
		form_field_validation.3x \
		form_fieldtype.3x \
		form_hook.3x \
		form_new.3x \
		form_new_page.3x \
		form_opts.3x \
		form_page.3x \
		form_post.3x \
		form_requestname.3x \
		form_userptr.3x \
		form_win.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=		form_cursor.3 pos_form_cursor.3 \
		form_data.3 data_ahead.3 \
		form_data.3 data_behind.3 \
		form_field.3 field_count.3 \
		form_field.3 form_fields.3 \
		form_field.3 move_field.3 \
		form_field.3 set_form_fields.3 \
		form_field_attributes.3 field_back.3 \
		form_field_attributes.3 field_fore.3 \
		form_field_attributes.3 field_pad.3 \
		form_field_attributes.3 set_field_back.3 \
		form_field_attributes.3 set_field_fore.3 \
		form_field_attributes.3 set_field_pad.3 \
		form_field_buffer.3 field_buffer.3 \
		form_field_buffer.3 field_status.3 \
		form_field_buffer.3 set_field_buffer.3 \
		form_field_buffer.3 set_field_status.3 \
		form_field_buffer.3 set_max_field.3 \
		form_field_info.3 dynamic_fieldinfo.3 \
		form_field_info.3 field_info.3 \
		form_field_just.3 field_just.3 \
		form_field_just.3 set_field_just.3 \
		form_field_new.3 dup_field.3 \
		form_field_new.3 free_field.3 \
		form_field_new.3 link_field.3 \
		form_field_new.3 new_field.3 \
		form_field_opts.3 field_opts.3 \
		form_field_opts.3 field_opts_off.3 \
		form_field_opts.3 field_opts_on.3 \
		form_field_opts.3 set_field_opts.3 \
		form_field_userptr.3 field_userptr.3 \
		form_field_userptr.3 set_field_userptr.3 \
		form_field_validation.3 field_arg.3 \
		form_field_validation.3 field_type.3 \
		form_field_validation.3 set_field_type.3 \
		form_fieldtype.3 free_fieldtype.3 \
		form_fieldtype.3 link_fieldtype.3 \
		form_fieldtype.3 new_fieldtype.3 \
		form_fieldtype.3 set_fieldtype_arg.3 \
		form_fieldtype.3 set_fieldtype_choice.3 \
		form_hook.3 field_init.3 \
		form_hook.3 field_term.3 \
		form_hook.3 form_init.3 \
		form_hook.3 form_term.3 \
		form_hook.3 set_field_init.3 \
		form_hook.3 set_field_term.3 \
		form_hook.3 set_form_init.3 \
		form_hook.3 set_form_term.3 \
		form_new.3 free_form.3 \
		form_new.3 new_form.3 \
		form_new_page.3 new_page.3 \
		form_new_page.3 set_new_page.3 \
		form_opts.3 form_opts_off.3 \
		form_opts.3 form_opts_on.3 \
		form_opts.3 set_form_opts.3 \
		form_page.3 current_field.3 \
		form_page.3 field_index.3 \
		form_page.3 set_current_field.3 \
		form_page.3 set_form_page.3 \
		form_post.3 post_form.3 \
		form_post.3 unpost_form.3 \
		form_requestname.3 form_request_by_name.3 \
		form_requestname.3 form_request_name.3 \
		form_userptr.3 set_form_userptr.3 \
		form_win.3 form_sub.3 \
		form_win.3 scale_form.3 \
		form_win.3 set_form_sub.3 \
		form_win.3 set_form_win.3
d160 5
@


1.10
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 53
a58 19
.PATH:	${NCURSES}/form
.PATH:	${NCURSES}/include
.PATH:  ${NCURSES}/man

LIB=    form
DPADD=	${LIBNCURSES}
LDADD=	-lncurses

AWK?=	awk

SRCS=	ncurses_def.h \
	fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c fld_ftchoice.c \
	fld_ftlink.c fld_info.c fld_just.c fld_link.c fld_max.c fld_move.c \
	fld_newftyp.c fld_opts.c fld_pad.c fld_page.c fld_stat.c fld_type.c \
	fld_user.c frm_cursor.c frm_data.c frm_def.c frm_driver.c frm_hook.c \
	frm_opts.c frm_page.c frm_post.c frm_req_name.c frm_scale.c frm_sub.c \
	frm_user.c frm_win.c fty_alnum.c fty_alpha.c fty_enum.c fty_int.c \
	fty_ipv4.c fty_num.c fty_regex.c
INCS=	${NCURSES}/form/form.h
a60 18
CFLAGS+= -I.
.if exists(${.OBJDIR}/../libncurses)
CFLAGS+= -I${.OBJDIR}/../libncurses
.endif
CFLAGS+=-I${.CURDIR}/../libncurses -I${NCURSES}/form -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=	form.3x form_cursor.3x form_data.3x form_driver.3x \
	form_field.3x form_field_attributes.3x form_field_buffer.3x \
	form_field_info.3x form_field_just.3x form_field_new.3x \
	form_field_opts.3x form_field_userptr.3x \
	form_field_validation.3x form_fieldtype.3x form_hook.3x \
	form_new.3x form_new_page.3x form_opts.3x form_page.3x \
	form_post.3x form_requestname.3x form_userptr.3x form_win.3x
d62 26
d90 2
a91 2
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
d96 68
a163 45
MLINKS+=form_cursor.3 pos_form_cursor.3
MLINKS+=form_data.3 data_ahead.3 form_data.3 data_behind.3
MLINKS+=form_field.3 field_count.3 form_field.3 form_fields.3 \
	form_field.3 move_field.3 form_field.3 set_form_fields.3
MLINKS+=form_field_attributes.3 field_back.3 \
	form_field_attributes.3 field_fore.3 \
	form_field_attributes.3 field_pad.3 \
	form_field_attributes.3 set_field_back.3 \
	form_field_attributes.3 set_field_fore.3 \
	form_field_attributes.3 set_field_pad.3
MLINKS+=form_field_buffer.3 field_buffer.3 \
	form_field_buffer.3 field_status.3 \
	form_field_buffer.3 set_field_buffer.3 \
	form_field_buffer.3 set_field_status.3 \
	form_field_buffer.3 set_max_field.3
MLINKS+=form_field_info.3 dynamic_fieldinfo.3 form_field_info.3 field_info.3
MLINKS+=form_field_just.3 field_just.3 form_field_just.3 set_field_just.3
MLINKS+=form_field_new.3 dup_field.3 form_field_new.3 free_field.3 \
	form_field_new.3 link_field.3 form_field_new.3 new_field.3
MLINKS+=form_field_opts.3 field_opts.3 form_field_opts.3 field_opts_off.3 \
	form_field_opts.3 field_opts_on.3 form_field_opts.3 set_field_opts.3 \
	form_field_opts.3 set_form_opts.3
MLINKS+=form_field_userptr.3 field_userptr.3 \
	form_field_userptr.3 set_field_userptr.3
MLINKS+=form_field_validation.3 field_arg.3 \
	form_field_validation.3 field_type.3 \
	form_field_validation.3 set_field_type.3
MLINKS+=form_fieldtype.3 link_fieldtype.3 \
	form_fieldtype.3 set_fieldtype_arg.3 \
	form_fieldtype.3 set_fieldtype_choice.3
MLINKS+=form_hook.3 field_init.3 form_hook.3 field_term.3 \
	form_hook.3 form_init.3 form_hook.3 form_term.3 \
	form_hook.3 set_field_init.3 form_hook.3 set_field_term.3 \
	form_hook.3 set_form_init.3 form_hook.3 set_form_term.3
MLINKS+=form_new.3 free_form.3 form_new.3 new_form.3
MLINKS+=form_new_page.3 new_page.3 form_new_page.3 set_new_page.3
MLINKS+=form_opts.3 form_opts_off.3 form_opts.3 form_opts_on.3
MLINKS+=form_page.3 current_field.3 form_page.3 field_index.3 \
	form_page.3 set_current_field.3 form_page.3 set_form_page.3
MLINKS+=form_post.3 post_form.3 form_post.3 unpost_form.3
MLINKS+=form_requestname.3 form_request_by_name.3 \
	form_requestname.3 form_request_name.3
MLINKS+=form_userptr.3 set_form_userptr.3
MLINKS+=form_win.3 form_sub.3 form_win.3 scale_form.3 \
	form_win.3 set_form_sub.3 form_win.3 set_form_win.3
@


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


1.8
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
@d11 3
@


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


1.6
log
@MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libform/Makefile,v 1.5 2000/12/05 12:38:22 tg Exp $
d24 5
a28 1
CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
@


1.5
log
@Install manpages, including appropriate MLINKS.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libform/Makefile,v 1.4 2000/10/11 08:19:56 peter Exp $
d31 1
a31 1
MAN3x=	form.3x form_cursor.3x form_data.3x form_driver.3x \
d39 5
a43 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}
a93 2

.SUFFIXES: .3x .3
@


1.4
log
@Update for ncurses 5.1-20001009 import
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libform/Makefile,v 1.3 2000/05/24 09:01:22 tg Exp $
d8 1
d31 63
d95 2
@


1.3
log
@Add missing source files. Sort SRCS.

PR:		18631
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libform/Makefile,v 1.2 2000/01/14 07:57:30 rgrimes Exp $
d7 1
a7 1
.PATH:	${NCURSES}/menu
d10 1
d12 2
a13 1
SRCS=	fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c fld_ftchoice.c \
d22 2
a23 1
CFLAGS+=-I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
d25 4
@


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/libform/Makefile,v 1.1 1999/09/05 05:37:49 peter Exp $
d11 7
a17 4
SRCS=	fty_regex.c fty_num.c fty_int.c fty_ipv4.c fty_enum.c fty_alpha.c \
	fty_alnum.c \
	frm_data.c frm_win.c frm_user.c frm_opts.c frm_hook.c frm_req_name.c \
	fld_user.c fld_type.c fld_stat.c fld_def.c frm_def.c frm_driver.c
@


1.2.2.1
log
@MFC: Add missing source files.

PR:		18631
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libform/Makefile,v 1.2 2000/01/14 07:57:30 rgrimes Exp $
d11 4
a14 7
SRCS=	fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c fld_ftchoice.c \
	fld_ftlink.c fld_info.c fld_just.c fld_link.c fld_max.c fld_move.c \
	fld_newftyp.c fld_opts.c fld_pad.c fld_page.c fld_stat.c fld_type.c \
	fld_user.c frm_cursor.c frm_data.c frm_def.c frm_driver.c frm_hook.c \
	frm_opts.c frm_page.c frm_post.c frm_req_name.c frm_scale.c frm_sub.c \
	frm_user.c frm_win.c fty_alnum.c fty_alpha.c fty_enum.c fty_int.c \
	fty_ipv4.c fty_num.c fty_regex.c
@


1.2.2.2
log
@MFC: ncurses 5.1-20001009
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libform/Makefile,v 1.2.2.1 2000/05/25 09:54:27 tg Exp $
d7 1
a7 1
.PATH:	${NCURSES}/include
a9 1
AWK?=	awk
d11 1
a11 2
SRCS=	ncurses_def.h \
	fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c fld_ftchoice.c \
d20 1
a20 2
CLEANFILES+=	ncurses_def.h
CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
a21 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/libform/Makefile,v 1.2.2.2 2000/10/12 18:41:05 peter Exp $
a7 1
.PATH:  ${NCURSES}/man
a29 63
MAN3x=	form.3x form_cursor.3x form_data.3x form_driver.3x \
	form_field.3x form_field_attributes.3x form_field_buffer.3x \
	form_field_info.3x form_field_just.3x form_field_new.3x \
	form_field_opts.3x form_field_userptr.3x \
	form_field_validation.3x form_fieldtype.3x form_hook.3x \
	form_new.3x form_new_page.3x form_opts.3x form_page.3x \
	form_post.3x form_requestname.3x form_userptr.3x form_win.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+=form_cursor.3 pos_form_cursor.3
MLINKS+=form_data.3 data_ahead.3 form_data.3 data_behind.3
MLINKS+=form_field.3 field_count.3 form_field.3 form_fields.3 \
	form_field.3 move_field.3 form_field.3 set_form_fields.3
MLINKS+=form_field_attributes.3 field_back.3 \
	form_field_attributes.3 field_fore.3 \
	form_field_attributes.3 field_pad.3 \
	form_field_attributes.3 set_field_back.3 \
	form_field_attributes.3 set_field_fore.3 \
	form_field_attributes.3 set_field_pad.3
MLINKS+=form_field_buffer.3 field_buffer.3 \
	form_field_buffer.3 field_status.3 \
	form_field_buffer.3 set_field_buffer.3 \
	form_field_buffer.3 set_field_status.3 \
	form_field_buffer.3 set_max_field.3
MLINKS+=form_field_info.3 dynamic_fieldinfo.3 form_field_info.3 field_info.3
MLINKS+=form_field_just.3 field_just.3 form_field_just.3 set_field_just.3
MLINKS+=form_field_new.3 dup_field.3 form_field_new.3 free_field.3 \
	form_field_new.3 link_field.3 form_field_new.3 new_field.3
MLINKS+=form_field_opts.3 field_opts.3 form_field_opts.3 field_opts_off.3 \
	form_field_opts.3 field_opts_on.3 form_field_opts.3 set_field_opts.3 \
	form_field_opts.3 set_form_opts.3
MLINKS+=form_field_userptr.3 field_userptr.3 \
	form_field_userptr.3 set_field_userptr.3
MLINKS+=form_field_validation.3 field_arg.3 \
	form_field_validation.3 field_type.3 \
	form_field_validation.3 set_field_type.3
MLINKS+=form_fieldtype.3 link_fieldtype.3 \
	form_fieldtype.3 set_fieldtype_arg.3 \
	form_fieldtype.3 set_fieldtype_choice.3
MLINKS+=form_hook.3 field_init.3 form_hook.3 field_term.3 \
	form_hook.3 form_init.3 form_hook.3 form_term.3 \
	form_hook.3 set_field_init.3 form_hook.3 set_field_term.3 \
	form_hook.3 set_form_init.3 form_hook.3 set_form_term.3
MLINKS+=form_new.3 free_form.3 form_new.3 new_form.3
MLINKS+=form_new_page.3 new_page.3 form_new_page.3 set_new_page.3
MLINKS+=form_opts.3 form_opts_off.3 form_opts.3 form_opts_on.3
MLINKS+=form_page.3 current_field.3 form_page.3 field_index.3 \
	form_page.3 set_current_field.3 form_page.3 set_form_page.3
MLINKS+=form_post.3 post_form.3 form_post.3 unpost_form.3
MLINKS+=form_requestname.3 form_request_by_name.3 \
	form_requestname.3 form_request_name.3
MLINKS+=form_userptr.3 set_form_userptr.3
MLINKS+=form_win.3 form_sub.3 form_win.3 scale_form.3 \
	form_win.3 set_form_sub.3 form_win.3 set_form_win.3

a30 2

.SUFFIXES: .3x .3
@


1.2.2.4
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libform/Makefile,v 1.2.2.3 2000/12/07 12:23:56 tg Exp $
d31 1
a31 1
MANx=	form.3x form_cursor.3x form_data.3x form_driver.3x \
d39 6
a44 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}
d95 2
@


1.1
log
@Add bmake glue for libform (the SVSV-style ETI curses form driver from
ncurses)
@
text
@d2 1
a2 1
# $FreeBSD$
d15 1
a18 4

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
		${NCURSES}/form/form.h ${DESTDIR}/usr/include
@

