head	1.100;
access;
symbols
	RELENG_8_4:1.100.0.2
	RELENG_9_1_0_RELEASE:1.98.4.1.4.2
	RELENG_9_1:1.98.4.1.0.4
	RELENG_9_1_BP:1.98.4.1
	RELENG_8_3_0_RELEASE:1.98.2.1.8.1
	RELENG_8_3:1.98.2.1.0.8
	RELENG_8_3_BP:1.98.2.1
	RELENG_9_0_0_RELEASE:1.98.4.1.2.1
	RELENG_9_0:1.98.4.1.0.2
	RELENG_9_0_BP:1.98.4.1
	RELENG_9:1.98.0.4
	RELENG_9_BP:1.98
	RELENG_7_4_0_RELEASE:1.92.2.3.8.1
	RELENG_8_2_0_RELEASE:1.98.2.1.6.1
	RELENG_7_4:1.92.2.3.0.8
	RELENG_7_4_BP:1.92.2.3
	RELENG_8_2:1.98.2.1.0.6
	RELENG_8_2_BP:1.98.2.1
	RELENG_8_1_0_RELEASE:1.98.2.1.4.1
	RELENG_8_1:1.98.2.1.0.4
	RELENG_8_1_BP:1.98.2.1
	RELENG_7_3_0_RELEASE:1.92.2.3.6.1
	RELENG_7_3:1.92.2.3.0.6
	RELENG_7_3_BP:1.92.2.3
	RELENG_8_0_0_RELEASE:1.98.2.1.2.1
	RELENG_8_0:1.98.2.1.0.2
	RELENG_8_0_BP:1.98.2.1
	RELENG_8:1.98.0.2
	RELENG_8_BP:1.98
	RELENG_7_2_0_RELEASE:1.92.2.3.4.1
	RELENG_7_2:1.92.2.3.0.4
	RELENG_7_2_BP:1.92.2.3
	RELENG_7_1_0_RELEASE:1.92.2.3.2.1
	RELENG_6_4_0_RELEASE:1.87.2.6.2.1
	RELENG_7_1:1.92.2.3.0.2
	RELENG_7_1_BP:1.92.2.3
	RELENG_6_4:1.87.2.6.0.2
	RELENG_6_4_BP:1.87.2.6
	RELENG_7_0_0_RELEASE:1.92.2.1
	RELENG_6_3_0_RELEASE:1.87.2.4
	RELENG_7_0:1.92.2.1.0.2
	RELENG_7_0_BP:1.92.2.1
	RELENG_6_3:1.87.2.4.0.2
	RELENG_6_3_BP:1.87.2.4
	RELENG_7:1.92.0.2
	RELENG_7_BP:1.92
	RELENG_6:1.87.0.2
	old_RELENG_6_2_0_RELEASE:1.78.2.1
	old_RELENG_6_2:1.78.2.1.0.6
	old_RELENG_6_2_BP:1.78.2.1
	old_RELENG_5_5_0_RELEASE:1.73.4.1
	old_RELENG_5_5:1.73.4.1.0.4
	old_RELENG_5_5_BP:1.73.4.1
	old_RELENG_6_1_0_RELEASE:1.78.2.1
	old_RELENG_6_1:1.78.2.1.0.4
	old_RELENG_6_1_BP:1.78.2.1
	old_RELENG_6_0_0_RELEASE:1.78.2.1
	old_RELENG_6_0:1.78.2.1.0.2
	old_RELENG_6_0_BP:1.78.2.1
	old_RELENG_6:1.78.0.2
	old_RELENG_6_BP:1.78
	old_RELENG_5_4_0_RELEASE:1.73.4.1
	old_RELENG_5_4:1.73.4.1.0.2
	old_RELENG_5_4_BP:1.73.4.1
	old_RELENG_4_11_0_RELEASE:1.39.2.14
	old_RELENG_4_11:1.39.2.14.0.4
	old_RELENG_4_11_BP:1.39.2.14
	old_RELENG_5_3_0_RELEASE:1.73
	old_RELENG_5_3:1.73.0.6
	old_RELENG_5_3_BP:1.73
	old_RELENG_5:1.73.0.4
	old_RELENG_5_BP:1.73
	old_RELENG_4_10_0_RELEASE:1.39.2.14
	old_RELENG_4_10:1.39.2.14.0.2
	old_RELENG_4_10_BP:1.39.2.14
	old_RELENG_5_2_1_RELEASE:1.73
	old_RELENG_5_2_0_RELEASE:1.73
	old_RELENG_5_2:1.73.0.2
	old_RELENG_5_2_BP:1.73
	old_RELENG_4_9_0_RELEASE:1.39.2.13
	old_RELENG_4_9:1.39.2.13.0.6
	old_RELENG_4_9_BP:1.39.2.13
	old_RELENG_5_1_0_RELEASE:1.69
	old_RELENG_5_1:1.69.0.2
	old_RELENG_5_1_BP:1.69
	old_RELENG_4_8_0_RELEASE:1.39.2.13
	old_RELENG_4_8:1.39.2.13.0.4
	old_RELENG_4_8_BP:1.39.2.13
	old_RELENG_5_0_0_RELEASE:1.65
	old_RELENG_5_0:1.65.0.2
	old_RELENG_5_0_BP:1.65
	old_RELENG_4_7_0_RELEASE:1.39.2.13
	old_RELENG_4_7:1.39.2.13.0.2
	old_RELENG_4_7_BP:1.39.2.13
	old_RELENG_4_6_2_RELEASE:1.39.2.10
	old_RELENG_4_6_1_RELEASE:1.39.2.10
	old_RELENG_4_6_0_RELEASE:1.39.2.10
	old_RELENG_4_6:1.39.2.10.0.4
	old_RELENG_4_6_BP:1.39.2.10
	old_RELENG_4_5_0_RELEASE:1.39.2.10
	old_RELENG_4_5:1.39.2.10.0.2
	old_RELENG_4_5_BP:1.39.2.10
	old_RELENG_4_4_0_RELEASE:1.39.2.9
	old_RELENG_4_4:1.39.2.9.0.2
	old_RELENG_4_4_BP:1.39.2.9
	old_RELENG_4_3_0_RELEASE:1.39.2.4
	old_RELENG_4_3:1.39.2.4.0.2
	old_RELENG_4_3_BP:1.39.2.4
	old_RELENG_4_2_0_RELEASE:1.39.2.3
	old_RELENG_4_1_1_RELEASE:1.39.2.2
	old_PRE_SMPNG:1.42
	old_RELENG_4_1_0_RELEASE:1.39.2.1
	old_RELENG_3_5_0_RELEASE:1.25.2.1
	old_RELENG_4_0_0_RELEASE:1.39
	old_RELENG_4:1.39.0.2
	old_RELENG_4_BP:1.39
	old_RELENG_3_4_0_RELEASE:1.25.2.1
	old_RELENG_3_3_0_RELEASE:1.25.2.1
	old_RELENG_3_2_PAO:1.25.0.4
	old_RELENG_3_2_PAO_BP:1.25
	old_RELENG_3_2_0_RELEASE:1.25
	old_RELENG_3_1_0_RELEASE:1.25
	old_RELENG_3:1.25.0.2
	old_RELENG_3_BP:1.25
	old_RELENG_2_2_8_RELEASE:1.19.2.2
	old_RELENG_3_0_0_RELEASE:1.25
	old_RELENG_2_2_7_RELEASE:1.19.2.2
	old_RELENG_2_2_6_RELEASE:1.19.2.2
	old_RELENG_2_2_5_RELEASE:1.19.2.2
	old_RELENG_2_2_2_RELEASE:1.19
	old_RELENG_2_2_1_RELEASE:1.19
	old_RELENG_2_2_0_RELEASE:1.19
	old_RELENG_2_1_7_RELEASE:1.13.4.1
	old_RELENG_2_1_6_1_RELEASE:1.13.4.1
	old_RELENG_2_1_6_RELEASE:1.13.4.1
	old_RELENG_2_2:1.19.0.2
	old_RELENG_2_2_BP:1.19
	old_RELENG_2_1_5_RELEASE:1.13.4.1
	old_RELENG_2_1_0_RELEASE:1.13.4.1
	old_RELENG_2_1_0:1.13.0.4
	old_RELENG_2_1_0_BP:1.13
	old_RELENG_2_0_5_RELEASE:1.13
	old_RELENG_2_0_5:1.13.0.2
	old_RELENG_2_0_5_BP:1.13
	old_RELENG_2_0_5_ALPHA:1.13
	old_RELEASE_2_0:1.6
	old_BETA_2_0:1.6
	old_ALPHA_2_0:1.6.0.2
	old_ncurses_1_8_5:1.1.1.1
	old_zmbenhal:1.1.1;
locks; strict;
comment	@# @;


1.100
date	2013.01.25.00.47.42;	author svnexp;	state Exp;
branches
	1.100.2.1;
next	1.99;

1.99
date	2012.11.17.01.50.09;	author svnexp;	state Exp;
branches;
next	1.98;

1.98
date	2009.07.19.17.25.24;	author kensmith;	state Exp;
branches
	1.98.2.1
	1.98.4.1;
next	1.97;

1.97
date	2008.11.15.09.23.48;	author rafan;	state Exp;
branches;
next	1.96;

1.96
date	2008.02.13.14.34.39;	author rafan;	state Exp;
branches;
next	1.95;

1.95
date	2008.02.11.13.39.36;	author rafan;	state Exp;
branches;
next	1.94;

1.94
date	2007.12.30.11.17.40;	author rafan;	state Exp;
branches;
next	1.93;

1.93
date	2007.10.20.19.01.50;	author ru;	state Exp;
branches;
next	1.92;

1.92
date	2007.07.21.00.27.17;	author rafan;	state Exp;
branches
	1.92.2.1;
next	1.91;

1.91
date	2007.06.16.14.42.08;	author rafan;	state Exp;
branches;
next	1.90;

1.90
date	2007.05.25.02.27.46;	author rafan;	state Exp;
branches;
next	1.89;

1.89
date	2007.04.16.09.54.59;	author ru;	state Exp;
branches;
next	1.88;

1.88
date	2007.04.16.09.11.24;	author rafan;	state Exp;
branches;
next	1.87;

1.87
date	2007.03.09.12.11.57;	author rafan;	state Exp;
branches
	1.87.2.1;
next	1.86;

1.86
date	2007.03.09.09.54.07;	author rafan;	state Exp;
branches;
next	1.85;

1.85
date	2007.02.01.08.45.26;	author rafan;	state Exp;
branches;
next	1.84;

1.84
date	2007.01.20.07.46.44;	author rafan;	state Exp;
branches;
next	1.83;

1.83
date	2007.01.20.07.43.46;	author rafan;	state Exp;
branches;
next	1.82;

1.82
date	2006.03.18.21.37.04;	author ru;	state Exp;
branches;
next	1.81;

1.81
date	2006.03.18.11.01.06;	author ru;	state Exp;
branches;
next	1.80;

1.80
date	2006.03.17.18.54.27;	author ru;	state Exp;
branches;
next	1.79;

1.79
date	2005.07.22.17.19.02;	author kensmith;	state Exp;
branches;
next	1.78;

1.78
date	2004.12.21.12.05.10;	author ru;	state Exp;
branches
	1.78.2.1;
next	1.77;

1.77
date	2004.12.21.09.51.08;	author ru;	state Exp;
branches;
next	1.76;

1.76
date	2004.12.21.09.33.44;	author ru;	state Exp;
branches;
next	1.75;

1.75
date	2004.10.24.15.32.32;	author ru;	state Exp;
branches;
next	1.74;

1.74
date	2004.10.18.16.26.25;	author ru;	state Exp;
branches;
next	1.73;

1.73
date	2003.08.30.13.57.31;	author ru;	state Exp;
branches
	1.73.4.1;
next	1.72;

1.72
date	2003.08.18.15.25.39;	author obrien;	state Exp;
branches;
next	1.71;

1.71
date	2003.08.17.08.28.45;	author gordon;	state Exp;
branches;
next	1.70;

1.70
date	2003.06.06.13.46.55;	author kuriyama;	state Exp;
branches;
next	1.69;

1.69
date	2003.04.30.15.49.40;	author obrien;	state Exp;
branches;
next	1.68;

1.68
date	2003.04.18.13.01.07;	author ru;	state Exp;
branches;
next	1.67;

1.67
date	2003.04.05.20.30.30;	author imp;	state Exp;
branches;
next	1.66;

1.66
date	2003.02.25.15.41.49;	author ru;	state Exp;
branches;
next	1.65;

1.65
date	2002.11.13.13.47.48;	author ru;	state Exp;
branches;
next	1.64;

1.64
date	2002.11.13.11.50.40;	author ru;	state Exp;
branches;
next	1.63;

1.63
date	2002.09.28.00.25.30;	author peter;	state Exp;
branches;
next	1.62;

1.62
date	2002.09.25.14.19.51;	author markm;	state Exp;
branches;
next	1.61;

1.61
date	2002.09.24.19.55.37;	author ache;	state Exp;
branches;
next	1.60;

1.60
date	2002.09.18.21.16.17;	author mux;	state Exp;
branches;
next	1.59;

1.59
date	2002.09.17.01.48.51;	author peter;	state Exp;
branches;
next	1.58;

1.58
date	2002.08.21.16.19.57;	author mike;	state Exp;
branches;
next	1.57;

1.57
date	2002.07.29.09.40.11;	author ru;	state Exp;
branches;
next	1.56;

1.56
date	2002.07.18.12.07.47;	author ru;	state Exp;
branches;
next	1.55;

1.55
date	2002.06.02.16.11.57;	author ache;	state Exp;
branches;
next	1.54;

1.54
date	2002.05.21.05.40.28;	author peter;	state Exp;
branches;
next	1.53;

1.53
date	2002.05.12.16.00.54;	author ru;	state Exp;
branches;
next	1.52;

1.52
date	2001.09.14.15.27.51;	author ru;	state Exp;
branches;
next	1.51;

1.51
date	2001.06.12.01.14.02;	author peter;	state Exp;
branches;
next	1.50;

1.50
date	2001.06.07.17.27.44;	author sobomax;	state Exp;
branches;
next	1.49;

1.49
date	2001.05.18.00.41.27;	author obrien;	state Exp;
branches;
next	1.48;

1.48
date	2001.05.17.08.48.26;	author peter;	state Exp;
branches;
next	1.47;

1.47
date	2001.05.17.08.30.09;	author peter;	state Exp;
branches;
next	1.46;

1.46
date	2001.03.27.17.27.08;	author ru;	state Exp;
branches;
next	1.45;

1.45
date	2000.12.05.12.40.14;	author tg;	state Exp;
branches;
next	1.44;

1.44
date	2000.10.11.11.25.47;	author peter;	state Exp;
branches;
next	1.43;

1.43
date	2000.10.11.08.07.28;	author peter;	state Exp;
branches;
next	1.42;

1.42
date	2000.08.04.15.38.32;	author ru;	state Exp;
branches;
next	1.41;

1.41
date	2000.07.03.09.47.47;	author peter;	state Exp;
branches;
next	1.40;

1.40
date	2000.07.03.09.40.52;	author peter;	state Exp;
branches;
next	1.39;

1.39
date	2000.03.02.08.23.23;	author peter;	state Exp;
branches
	1.39.2.1;
next	1.38;

1.38
date	2000.01.26.16.51.36;	author peter;	state Exp;
branches;
next	1.37;

1.37
date	2000.01.11.12.51.55;	author green;	state Exp;
branches;
next	1.36;

1.36
date	2000.01.11.12.37.52;	author green;	state Exp;
branches;
next	1.35;

1.35
date	2000.01.10.12.12.51;	author phantom;	state Exp;
branches;
next	1.34;

1.34
date	99.12.20.10.37.55;	author marcel;	state Exp;
branches;
next	1.33;

1.33
date	99.12.13.21.25.08;	author marcel;	state Exp;
branches;
next	1.32;

1.32
date	99.12.11.13.38.04;	author marcel;	state Exp;
branches;
next	1.31;

1.31
date	99.11.30.05.56.12;	author peter;	state Exp;
branches;
next	1.30;

1.30
date	99.09.26.19.11.04;	author peter;	state Exp;
branches;
next	1.29;

1.29
date	99.09.01.05.14.57;	author peter;	state Exp;
branches;
next	1.28;

1.28
date	99.08.30.23.15.40;	author dt;	state Exp;
branches;
next	1.27;

1.27
date	99.08.30.07.56.55;	author peter;	state Exp;
branches;
next	1.26;

1.26
date	99.08.28.00.05.16;	author peter;	state Exp;
branches;
next	1.25;

1.25
date	98.03.20.16.50.04;	author bde;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	97.10.20.17.53.54;	author ache;	state Exp;
branches;
next	1.23;

1.23
date	97.08.25.07.41.13;	author ache;	state Exp;
branches;
next	1.22;

1.22
date	97.08.24.19.09.32;	author ache;	state Exp;
branches;
next	1.21;

1.21
date	97.02.22.15.07.38;	author peter;	state Exp;
branches;
next	1.20;

1.20
date	97.01.14.06.09.51;	author jkh;	state Exp;
branches;
next	1.19;

1.19
date	96.09.05.17.14.22;	author bde;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	96.08.30.01.58.36;	author peter;	state Exp;
branches;
next	1.17;

1.17
date	96.08.26.09.25.20;	author peter;	state Exp;
branches;
next	1.16;

1.16
date	96.05.27.22.58.29;	author wosch;	state Exp;
branches;
next	1.15;

1.15
date	96.02.09.00.45.32;	author mpp;	state Exp;
branches;
next	1.14;

1.14
date	95.08.06.12.37.32;	author bde;	state Exp;
branches;
next	1.13;

1.13
date	95.05.08.16.08.49;	author ache;	state Exp;
branches
	1.13.4.1;
next	1.12;

1.12
date	95.05.03.18.54.09;	author ache;	state Exp;
branches;
next	1.11;

1.11
date	95.04.20.21.35.51;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	95.02.13.17.23.18;	author ache;	state Exp;
branches;
next	1.9;

1.9
date	94.12.04.02.43.41;	author ache;	state Exp;
branches;
next	1.8;

1.8
date	94.12.02.06.39.03;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	94.11.29.02.48.17;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	94.10.28.06.56.55;	author ache;	state Exp;
branches;
next	1.5;

1.5
date	94.10.12.01.59.06;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	94.10.12.01.51.27;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	94.10.10.00.34.44;	author ache;	state Exp;
branches;
next	1.2;

1.2
date	94.10.09.09.27.53;	author ache;	state Exp;
branches;
next	1.1;

1.1
date	94.10.07.08.58.51;	author ache;	state Exp;
branches
	1.1.1.1;
next	;

1.100.2.1
date	2013.01.25.00.47.42;	author svnexp;	state dead;
branches;
next	1.100.2.2;

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

1.98.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.98.2.1.2.1
	1.98.2.1.4.1
	1.98.2.1.6.1
	1.98.2.1.8.1;
next	1.98.2.2;

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

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

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

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

1.98.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.98.2.1.8.2;

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

1.98.4.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.98.4.1.2.1
	1.98.4.1.4.1;
next	1.98.4.2;

1.98.4.2
date	2012.11.17.11.36.28;	author svnexp;	state Exp;
branches;
next	1.98.4.3;

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

1.98.4.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.98.4.1.2.2;

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

1.98.4.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.98.4.1.4.2;

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

1.92.2.1
date	2007.10.23.15.41.34;	author ru;	state Exp;
branches;
next	1.92.2.2;

1.92.2.2
date	2008.02.16.05.35.55;	author rafan;	state Exp;
branches;
next	1.92.2.3;

1.92.2.3
date	2008.06.04.07.43.58;	author rafan;	state Exp;
branches
	1.92.2.3.2.1
	1.92.2.3.4.1
	1.92.2.3.6.1
	1.92.2.3.8.1;
next	1.92.2.4;

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

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

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

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

1.92.2.3.8.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.92.2.3.8.2;

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

1.87.2.1
date	2007.04.06.17.52.06;	author rafan;	state Exp;
branches;
next	1.87.2.2;

1.87.2.2
date	2007.04.16.09.13.07;	author rafan;	state Exp;
branches;
next	1.87.2.3;

1.87.2.3
date	2007.06.14.02.53.23;	author rafan;	state Exp;
branches;
next	1.87.2.4;

1.87.2.4
date	2007.07.24.01.48.10;	author rafan;	state Exp;
branches;
next	1.87.2.5;

1.87.2.5
date	2008.02.16.05.36.22;	author rafan;	state Exp;
branches;
next	1.87.2.6;

1.87.2.6
date	2008.07.01.09.28.27;	author rafan;	state Exp;
branches
	1.87.2.6.2.1;
next	1.87.2.7;

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

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

1.78.2.1
date	2005.07.22.17.29.06;	author kensmith;	state Exp;
branches;
next	;

1.73.4.1
date	2005.02.13.07.23.13;	author obrien;	state Exp;
branches;
next	;

1.39.2.1
date	2000.07.10.09.54.51;	author ps;	state Exp;
branches;
next	1.39.2.2;

1.39.2.2
date	2000.08.17.07.30.34;	author ru;	state Exp;
branches;
next	1.39.2.3;

1.39.2.3
date	2000.10.12.18.41.06;	author peter;	state Exp;
branches;
next	1.39.2.4;

1.39.2.4
date	2000.12.07.12.23.57;	author tg;	state Exp;
branches;
next	1.39.2.5;

1.39.2.5
date	2001.04.25.10.04.34;	author ru;	state Exp;
branches;
next	1.39.2.6;

1.39.2.6
date	2001.05.17.08.49.44;	author peter;	state Exp;
branches;
next	1.39.2.7;

1.39.2.7
date	2001.06.12.01.11.31;	author peter;	state Exp;
branches;
next	1.39.2.8;

1.39.2.8
date	2001.06.12.01.49.32;	author peter;	state Exp;
branches;
next	1.39.2.9;

1.39.2.9
date	2001.06.14.10.56.09;	author sobomax;	state Exp;
branches;
next	1.39.2.10;

1.39.2.10
date	2001.09.17.15.37.00;	author ru;	state Exp;
branches;
next	1.39.2.11;

1.39.2.11
date	2002.07.18.13.31.23;	author ru;	state Exp;
branches;
next	1.39.2.12;

1.39.2.12
date	2002.07.22.14.21.49;	author ru;	state Exp;
branches;
next	1.39.2.13;

1.39.2.13
date	2002.08.07.16.31.48;	author ru;	state Exp;
branches;
next	1.39.2.14;

1.39.2.14
date	2003.12.16.10.44.40;	author ru;	state Exp;
branches;
next	;

1.25.2.1
date	99.08.29.14.57.18;	author peter;	state Exp;
branches;
next	;

1.19.2.1
date	97.08.24.19.12.01;	author ache;	state Exp;
branches;
next	1.19.2.2;

1.19.2.2
date	97.08.25.07.42.08;	author ache;	state Exp;
branches;
next	1.19.2.3;

1.19.2.3
date	99.09.05.11.17.03;	author peter;	state Exp;
branches;
next	;

1.13.4.1
date	95.08.31.21.50.02;	author davidg;	state Exp;
branches;
next	1.13.4.2;

1.13.4.2
date	99.09.05.11.18.37;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.10.07.08.58.52;	author ache;	state Exp;
branches;
next	;


desc
@@


1.100
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245887
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/lib/ncurses/ncurses/Makefile 245887 2013-01-24 16:38:47Z brooks $

SHLIBDIR?=	/lib

.if !defined(ENABLE_WIDEC)
NO_MAN=
.endif

.include <bsd.own.mk>

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

LIB=		ncurses${LIB_SUFFIX}
SHLIB_MAJOR=	8

NO_LINT=

NCURSES_MAJOR!=	egrep 'NCURSES_MAJOR[ 	]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%'
NCURSES_MINOR!=	egrep 'NCURSES_MINOR[ 	]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%'
NCURSES_PATCH!=	egrep 'NCURSES_PATCH[ 	]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%'

# From autoconf (!)
.if defined(ENABLE_WIDEC)
NCURSES_CH_T=		cchar_t
NCURSES_OK_WCHAR_T=	1
NEED_WCHAR_H=		1
.else
NCURSES_CH_T=		chtype
NCURSES_OK_WCHAR_T=
NEED_WCHAR_H=		0
.endif
NCURSES_CONST=		const
NCURSES_EXT_COLORS=	0
NCURSES_EXT_FUNCS=	1
NCURSES_INLINE=		inline
NCURSES_LIBUTF8=	0
NCURSES_MBSTATE_T=	0
NCURSES_MOUSE_VERSION=	1
NCURSES_OPAQUE=		0
NCURSES_OSPEED=		short
NCURSES_SBOOL=		char
NCURSES_SIZE_T=		short
NCURSES_TPARM_VARARGS=	1
NCURSES_WCHAR_T=	0
NCURSES_WINT_T=		0
NCURSES_XNAMES=		1
BROKEN_LINKER=		0
BUILTIN_BOOL=		1
ENABLE_LP64=		0
ENABLE_OPAQUE=		NCURSES_OPAQUE
ENABLE_REENTRANT=	0
HAVE_TCGETATTR=		1
HAVE_TERMIOS_H=		1
HAVE_TERMIO_H=		0
HAVE_VSSCANF=		1
HEADER_STDBOOL=		1
# XXX amd64, ia64 1L and int
ONEUL=			1UL
TYPEOF_CHTYPE=		long
TYPEOF_MMASK_T=		long
TYPE_OF_BOOL=		unsigned char
USE_BIG_STRINGS=	1
USE_CXX_BOOL=		defined(__cplusplus)

GENSRCS=	\
	codes.c \
	expanded.c \
	fallback.c \
	lib_gen.c \
	lib_keyname.c \
	names.c \
	unctrl.c

GENHDRS=	\
	curses.h \
	hashsize.h \
	init_keytry.h \
	ncurses_def.h \
	nomacros.h \
	parametrized.h \
	term.h \
	termcap.h \
	unctrl.h

SRCS=	${GENHDRS} ${GENSRCS}

.PATH: ${NCURSES_DIR}/ncurses/base
SRCS+=	\
	define_key.c \
	key_defined.c \
	keybound.c \
	keyok.c \
	legacy_coding.c \
	lib_addch.c \
	lib_addstr.c \
	lib_beep.c \
	lib_bkgd.c \
	lib_box.c \
	lib_chgat.c \
	lib_clear.c \
	lib_clearok.c \
	lib_clrbot.c \
	lib_clreol.c \
	lib_color.c \
	lib_colorset.c \
	lib_delch.c \
	lib_delwin.c \
	lib_dft_fgbg.c \
	lib_echo.c \
	lib_endwin.c \
	lib_erase.c \
	lib_flash.c \
	lib_freeall.c \
	lib_getch.c \
	lib_getstr.c \
	lib_hline.c \
	lib_immedok.c \
	lib_inchstr.c \
	lib_initscr.c \
	lib_insch.c \
	lib_insdel.c \
	lib_insnstr.c \
	lib_instr.c \
	lib_isendwin.c \
	lib_leaveok.c \
	lib_mouse.c \
	lib_move.c \
	lib_mvwin.c \
	lib_newterm.c \
	lib_newwin.c \
	lib_nl.c \
	lib_overlay.c \
	lib_pad.c \
	lib_printw.c \
	lib_redrawln.c \
	lib_refresh.c \
	lib_restart.c \
	lib_scanw.c \
	lib_screen.c \
	lib_scroll.c \
	lib_scrollok.c \
	lib_scrreg.c \
	lib_set_term.c \
	lib_slk.c \
	lib_slkatr_set.c \
	lib_slkatrof.c \
	lib_slkatron.c \
	lib_slkatrset.c \
	lib_slkattr.c \
	lib_slkclear.c \
	lib_slkcolor.c \
	lib_slkinit.c \
	lib_slklab.c \
	lib_slkrefr.c \
	lib_slkset.c \
	lib_slktouch.c \
	lib_touch.c \
	lib_ungetch.c \
	lib_vline.c \
	lib_wattroff.c \
	lib_wattron.c \
	lib_winch.c \
	lib_window.c \
	memmove.c \
	nc_panel.c \
	resizeterm.c \
	safe_sprintf.c \
	tries.c \
	version.c \
	vsscanf.c \
	wresize.c

.PATH: ${NCURSES_DIR}/ncurses/tinfo
SRCS+=	\
	access.c \
	add_tries.c \
	alloc_entry.c \
	alloc_ttype.c \
	captoinfo.c \
	comp_captab.c \
	comp_error.c \
	comp_expand.c \
	comp_hash.c \
	comp_parse.c \
	comp_scan.c \
	db_iterator.c \
	doalloc.c \
	entries.c \
	free_ttype.c \
	getenv_num.c \
	hashed_db.c \
	home_terminfo.c \
	init_keytry.c \
	lib_acs.c \
	lib_baudrate.c \
	lib_cur_term.c \
	lib_data.c \
	lib_has_cap.c \
	lib_kernel.c \
	lib_longname.c \
	lib_napms.c \
	lib_options.c \
	lib_print.c \
	lib_raw.c \
	lib_setup.c \
	lib_termcap.c \
	lib_termname.c \
	lib_tgoto.c \
	lib_ti.c \
	lib_tparm.c \
	lib_tputs.c \
	lib_ttyflags.c \
	name_match.c \
	parse_entry.c \
	read_entry.c \
	setbuf.c \
	strings.c \
	trim_sgr0.c \
	write_entry.c

.PATH: ${NCURSES_DIR}/ncurses/tty
SRCS+=	\
	hardscroll.c \
	hashmap.c \
	lib_mvcur.c \
	lib_tstp.c \
	lib_twait.c \
	lib_vidattr.c \
	tty_update.c

.if defined(ENABLE_WIDEC)
.PATH: ${NCURSES_DIR}/ncurses/widechar
SRCS+=	\
	charable.c \
	lib_add_wch.c \
	lib_box_set.c \
	lib_cchar.c \
	lib_erasewchar.c \
	lib_get_wch.c \
	lib_get_wstr.c \
	lib_hline_set.c \
	lib_in_wch.c \
	lib_in_wchnstr.c \
	lib_ins_wch.c \
	lib_inwstr.c \
	lib_key_name.c \
	lib_pecho_wchar.c \
	lib_slk_wset.c \
	lib_unget_wch.c \
	lib_vid_attr.c \
	lib_vline_set.c \
	lib_wacs.c \
	lib_wunctrl.c
.endif

.PATH: ${NCURSES_DIR}/ncurses/trace
SRCS+=	\
	lib_trace.c \
	visbuf.c

# Currently unused, for debugging libncurses itself.
DBGSRCS= \
	lib_traceatr.c \
	lib_tracebits.c \
	lib_tracechr.c \
	lib_tracedmp.c \
	lib_tracemse.c \
	trace_buf.c \
	trace_tries.c \
	trace_xnames.c \
	varargs.c

# From our old libtermcap.
# Used instead of the hideous read_termcap.c abomination.
SRCS+=	termcap.c

CLEANFILES=	${GENSRCS} ${GENHDRS} keys.list make_hash term.h.new \
		make_keys MKterm.h.awk comp_captab.c curses.head

CFLAGS+=	-DFREEBSD_NATIVE -DTERMIOS

# Installed
HEADERS=	curses.h term.h termcap.h unctrl.h
SRCHDRS=	ncurses_dll.h

.if defined(ENABLE_WIDEC)
INCS=		${HEADERS} ${SRCHDRS}
INCSLINKS=	curses.h ${INCLUDEDIR}/ncurses.h
.endif

.if ${MK_INSTALLLIB} != "no"
SYMLINKS+=	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libcurses${LIB_SUFFIX}.a
SYMLINKS+=	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermcap${LIB_SUFFIX}.a
SYMLINKS+=	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermlib${LIB_SUFFIX}.a
SYMLINKS+=	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtinfo${LIB_SUFFIX}.a
.endif
.if !defined(NO_PIC)
# no need for major at all, it's an ld-time redirection only
SYMLINKS+=	libncurses${LIB_SUFFIX}.so ${LIBDIR}/libcurses${LIB_SUFFIX}.so
SYMLINKS+=	libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtermcap${LIB_SUFFIX}.so
SYMLINKS+=	libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtermlib${LIB_SUFFIX}.so
SYMLINKS+=	libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtinfo${LIB_SUFFIX}.so
.endif
.if ${MK_PROFILE} != "no"
SYMLINKS+=	libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libcurses${LIB_SUFFIX}_p.a
SYMLINKS+=	libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtermcap${LIB_SUFFIX}_p.a
SYMLINKS+=	libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtermlib${LIB_SUFFIX}_p.a
SYMLINKS+=	libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtinfo${LIB_SUFFIX}_p.a
.endif

.if defined(ENABLE_WIDEC)
DOCSDIR=	${SHAREDIR}/doc/ncurses
DOCS=		ncurses-intro.html hackguide.html
.endif

.if ${MK_HTML} != "no"
.PATH: ${NCURSES_DIR}/doc/html
FILESGROUPS=	DOCS
.endif

# Generated source
.ORDER: names.c codes.c

names.c: MKnames.awk
	${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKnames.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > names.c

codes.c: MKcodes.awk
	${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKcodes.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > codes.c

lib_gen.c: MKlib_gen.sh curses.h
	LC_ALL=C sh ${NCURSES_DIR}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
	    "${AWK}" generated < curses.h >$@@

lib_keyname.c: keys.list MKkeyname.awk
	${AWK} -f ${NCURSES_DIR}/ncurses/base/MKkeyname.awk bigstrings=${USE_BIG_STRINGS} keys.list > lib_keyname.c

unctrl.c: MKunctrl.awk
	echo | ${AWK} -f ${NCURSES_DIR}/ncurses/base/MKunctrl.awk bigstrings=${USE_BIG_STRINGS} > unctrl.c

comp_captab.c: MKcaptab.sh MKcaptab.awk Caps make_hash
	sh ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.sh "${AWK}" \
	    ${USE_BIG_STRINGS} ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.awk \
	    ${NCURSES_DIR}/include/Caps > comp_captab.c

expanded.c: MKexpanded.sh
	sh ${NCURSES_DIR}/ncurses/tty/MKexpanded.sh "${CC} -E" ${CFLAGS} >expanded.c

fallback.c: MKfallback.sh
	sh ${NCURSES_DIR}/ncurses/tinfo/MKfallback.sh > fallback.c

# Generated headers
nomacros.h: MKlib_gen.sh curses.h
	LC_ALL=C sh ${NCURSES_DIR}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
	    "${AWK}" generated < curses.h | fgrep undef > $@@

init_keytry.h: keys.list make_keys
	./make_keys keys.list > init_keytry.h

hashsize.h: MKhashsize.sh Caps
	sh ${NCURSES_DIR}/include/MKhashsize.sh ${NCURSES_DIR}/include/Caps > $@@

parametrized.h: MKparametrized.sh Caps
	AWK=${AWK} sh ${NCURSES_DIR}/include/MKparametrized.sh \
	    ${NCURSES_DIR}/include/Caps > $@@

term.h: MKterm.h.awk edit_cfg.sh Caps
	${AWK} -f MKterm.h.awk ${NCURSES_DIR}/include/Caps > $@@.new
	sh ${NCURSES_DIR}/include/edit_cfg.sh ${NCURSES_CFG_H} $@@.new
	mv -f $@@.new $@@

curses.h: curses.head MKkey_defs.sh Caps
	cat curses.head > $@@.new
	AWK=${AWK} _POSIX2_VERSION=199209 sh ${NCURSES_DIR}/include/MKkey_defs.sh \
	    ${NCURSES_DIR}/include/Caps >> $@@.new
.if defined(ENABLE_WIDEC)
	cat ${NCURSES_DIR}/include/curses.wide >> $@@.new
.endif
	cat ${NCURSES_DIR}/include/curses.tail >> $@@.new
	mv -f $@@.new $@@

# Generated intermediate files
keys.list: MKkeys_list.sh Caps
	AWK=${AWK} sh ${NCURSES_DIR}/ncurses/tinfo/MKkeys_list.sh \
	    ${NCURSES_DIR}/include/Caps | LC_ALL=C sort > keys.list

# Build tools
build-tools: make_hash make_keys

make_keys: make_keys.c names.c ncurses_def.h ${HEADERS}
	${CC} -o $@@ ${CFLAGS} ${NCURSES_DIR}/ncurses/tinfo/make_keys.c

make_hash: comp_hash.c hashsize.h ncurses_def.h ${HEADERS}
	${CC} -o $@@ ${CFLAGS} -DMAIN_PROGRAM \
		${NCURSES_DIR}/ncurses/tinfo/comp_hash.c

# ./configure generated
MKterm.h.awk: MKterm.h.awk.in
	sed <${NCURSES_DIR}/include/MKterm.h.awk.in >$@@ \
	    -e "/@@BROKEN_LINKER@@/s%%${BROKEN_LINKER}%" \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%" \
	    -e "/@@NCURSES_CONST@@/s%%${NCURSES_CONST}%" \
	    -e "/@@NCURSES_TPARM_VARARGS@@/s%%${NCURSES_TPARM_VARARGS}%" \
	    -e "/@@NCURSES_SBOOL@@/s%%${NCURSES_SBOOL}%" \
	    -e "/@@NCURSES_XNAMES@@/s%%${NCURSES_XNAMES}%" \
	    -e "/@@HAVE_TERMIOS_H@@/s%%${HAVE_TERMIOS_H}%" \
	    -e "/@@HAVE_TERMIO_H@@/s%%${HAVE_TERMIO_H}%" \
	    -e "/@@HAVE_TCGETATTR@@/s%%${HAVE_TCGETATTR}%" \
	    -e "s%@@cf_cv_enable_reentrant@@%${ENABLE_REENTRANT}%g"

termcap.h: termcap.h.in
	sed <${NCURSES_DIR}/include/termcap.h.in >$@@ \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%" \
	    -e "/@@NCURSES_CONST@@/s%%${NCURSES_CONST}%" \
	    -e "/@@NCURSES_OSPEED@@/s%%${NCURSES_OSPEED}%"

curses.head: curses.h.in
	sed <${NCURSES_DIR}/include/curses.h.in >$@@ \
	    -e "/@@BROKEN_LINKER@@/s%%${BROKEN_LINKER}%" \
	    -e "/@@HAVE_VSSCANF@@/s%%${HAVE_VSSCANF}%" \
	    -e "/@@NCURSES_CH_T@@/s%%${NCURSES_CH_T}%" \
	    -e "/@@NCURSES_CONST@@/s%%${NCURSES_CONST}%" \
	    -e "/@@NCURSES_EXT_COLORS@@/s%%${NCURSES_EXT_COLORS}%" \
	    -e "/@@NCURSES_EXT_FUNCS@@/s%%${NCURSES_EXT_FUNCS}%" \
	    -e "/@@NCURSES_INLINE@@/s%%${NCURSES_INLINE}%" \
	    -e "/@@NCURSES_LIBUTF8@@/s%%${NCURSES_LIBUTF8}%" \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MBSTATE_T@@/s%%${NCURSES_MBSTATE_T}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%" \
	    -e "/@@NCURSES_MOUSE_VERSION@@/s%%${NCURSES_MOUSE_VERSION}%" \
	    -e "/@@NCURSES_OK_WCHAR_T@@/s%%${NCURSES_OK_WCHAR_T}%" \
	    -e "/@@NCURSES_OPAQUE@@/s%%${NCURSES_OPAQUE}%" \
	    -e "/@@NCURSES_PATCH@@/s%%${NCURSES_PATCH}%" \
	    -e "/@@NCURSES_SIZE_T@@/s%%${NCURSES_SIZE_T}%" \
	    -e "/@@NCURSES_TPARM_VARARGS@@/s%%${NCURSES_TPARM_VARARGS}%" \
	    -e "/@@NCURSES_WCHAR_T@@/s%%${NCURSES_WCHAR_T}%" \
	    -e "/@@NCURSES_WCHAR_T@@/s%%${NCURSES_WCHAR_T}%" \
	    -e "/@@NCURSES_WINT_T@@/s%%${NCURSES_WINT_T}%" \
	    -e "/@@NEED_WCHAR_H@@/s%%${NEED_WCHAR_H}%" \
	    -e "/@@USE_CXX_BOOL@@/s%%${USE_CXX_BOOL}%" \
	    -e "s%@@cf_cv_1UL@@%${ONEUL}%g" \
	    -e "s%@@cf_cv_builtin_bool@@%${BUILTIN_BOOL}%g" \
	    -e "s%@@cf_cv_enable_lp64@@%${ENABLE_LP64}%g" \
	    -e "s%@@cf_cv_enable_opaque@@%${ENABLE_OPAQUE}%g" \
	    -e "s%@@cf_cv_enable_reentrant@@%${ENABLE_REENTRANT}%g" \
	    -e "s%@@cf_cv_header_stdbool_h@@%${HEADER_STDBOOL}%g" \
	    -e "s%@@cf_cv_type_of_bool@@%${TYPE_OF_BOOL}%g" \
	    -e "s%@@cf_cv_typeof_chtype@@%${TYPEOF_CHTYPE}%g" \
	    -e "s%@@cf_cv_typeof_mmask_t@@%${TYPEOF_MMASK_T}%g" \
	    -e "s/ _WCHAR_T/ __wchar_t/g" \
	    -e "s/ _WINT_T/ __wint_t/g"

unctrl.h: unctrl.h.in
	sed <${NCURSES_DIR}/include/$@@.in >$@@ \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%"

# MAN page gunk
terminfo.5: MKterminfo.sh terminfo.head Caps
	sh ${NCURSES_DIR}/man/MKterminfo.sh ${NCURSES_DIR}/man/terminfo.head \
	    ${NCURSES_DIR}/include/Caps ${NCURSES_DIR}/man/terminfo.tail >$@@

CLEANFILES+=	terminfo.5

.if defined(ENABLE_WIDEC)
.PATH: ${NCURSES_DIR}/man
MAN=	\
	curs_addch.3 \
	curs_addchstr.3 \
	curs_addstr.3 \
	curs_attr.3 \
	curs_beep.3 \
	curs_bkgd.3 \
	curs_bkgrnd.3 \
	curs_border.3 \
	curs_border_set.3 \
	curs_clear.3 \
	curs_color.3 \
	curs_delch.3 \
	curs_deleteln.3 \
	curs_extend.3 \
	curs_getcchar.3 \
	curs_getch.3 \
	curs_getstr.3 \
	curs_getyx.3 \
	curs_inch.3 \
	curs_inchstr.3 \
	curs_initscr.3 \
	curs_inopts.3 \
	curs_insch.3 \
	curs_insstr.3 \
	curs_instr.3 \
	curs_inwstr.3 \
	curs_kernel.3 \
	curs_legacy.3 \
	curs_memleaks.3 \
	curs_mouse.3 \
	curs_move.3 \
	curs_opaque.3 \
	curs_outopts.3 \
	curs_overlay.3 \
	curs_pad.3 \
	curs_print.3 \
	curs_refresh.3 \
	curs_scr_dump.3 \
	curs_scroll.3 \
	curs_slk.3 \
	curs_termattrs.3 \
	curs_termcap.3 \
	curs_terminfo.3 \
	curs_threads.3 \
	curs_touch.3 \
	curs_trace.3 \
	curs_util.3 \
	curs_window.3 \
	default_colors.3 \
	define_key.3 \
	key_defined.3 \
	keybound.3 \
	keyok.3 \
	legacy_coding.3 \
	ncurses.3 \
	resizeterm.3 \
	wresize.3

MAN+=	\
	curs_add_wch.3 \
	curs_add_wchstr.3 \
	curs_addwstr.3 \
	curs_get_wch.3 \
	curs_get_wstr.3 \
	curs_in_wch.3 \
	curs_in_wchstr.3 \
	curs_ins_wch.3 \
	curs_ins_wstr.3 \
	curs_printw.3 \
	curs_scanw.3
.endif

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

MAN+=	term.5 terminfo.5
MAN+=	term.7

MLINKS=	ncurses.3 curses.3 \
	curs_addch.3 addch.3 \
	curs_addch.3 echochar.3 \
	curs_addch.3 mvaddch.3 \
	curs_addch.3 mvwaddch.3 \
	curs_addch.3 waddch.3 \
	curs_addch.3 wechochar.3 \
	curs_addchstr.3 addchnstr.3 \
	curs_addchstr.3 addchstr.3 \
	curs_addchstr.3 mvaddchnstr.3 \
	curs_addchstr.3 mvaddchstr.3 \
	curs_addchstr.3 mvwaddchnstr.3 \
	curs_addchstr.3 mvwaddchstr.3 \
	curs_addchstr.3 waddchnstr.3 \
	curs_addchstr.3 waddchstr.3 \
	curs_addstr.3 addnstr.3 \
	curs_addstr.3 addstr.3 \
	curs_addstr.3 mvaddnstr.3 \
	curs_addstr.3 mvaddstr.3 \
	curs_addstr.3 mvwaddnstr.3 \
	curs_addstr.3 mvwaddstr.3 \
	curs_addstr.3 waddnstr.3 \
	curs_addstr.3 waddstr.3 \
	curs_attr.3 PAIR_NUMBER.3 \
	curs_attr.3 attr_get.3 \
	curs_attr.3 attr_off.3 \
	curs_attr.3 attr_on.3 \
	curs_attr.3 attr_set.3 \
	curs_attr.3 attroff.3 \
	curs_attr.3 attron.3 \
	curs_attr.3 attrset.3 \
	curs_attr.3 chgat.3 \
	curs_attr.3 color_set.3 \
	curs_attr.3 mvchgat.3 \
	curs_attr.3 mvwchgat.3 \
	curs_attr.3 standend.3 \
	curs_attr.3 standout.3 \
	curs_attr.3 wattr_get.3 \
	curs_attr.3 wattr_off.3 \
	curs_attr.3 wattr_on.3 \
	curs_attr.3 wattr_set.3 \
	curs_attr.3 wattroff.3 \
	curs_attr.3 wattron.3 \
	curs_attr.3 wattrset.3 \
	curs_attr.3 wchgat.3 \
	curs_attr.3 wcolor_set.3 \
	curs_attr.3 wstandend.3 \
	curs_attr.3 wstandout.3 \
	curs_beep.3 beep.3 \
	curs_beep.3 flash.3 \
	curs_bkgd.3 bkgd.3 \
	curs_bkgd.3 bkgdset.3 \
	curs_bkgd.3 getbkgd.3 \
	curs_bkgd.3 wbkgd.3 \
	curs_bkgd.3 wbkgdset.3 \
	curs_bkgrnd.3 bkgrnd.3 \
	curs_bkgrnd.3 bkgrndset.3 \
	curs_bkgrnd.3 getbkgrnd.3 \
	curs_bkgrnd.3 wbkgrnd.3 \
	curs_bkgrnd.3 wbkgrndset.3 \
	curs_bkgrnd.3 wgetbkgrnd.3 \
	curs_border.3 border.3 \
	curs_border.3 box.3 \
	curs_border.3 hline.3 \
	curs_border.3 mvhline.3 \
	curs_border.3 mvvline.3 \
	curs_border.3 mvwhline.3 \
	curs_border.3 mvwvline.3 \
	curs_border.3 vline.3 \
	curs_border.3 wborder.3 \
	curs_border.3 whline.3 \
	curs_border.3 wvline.3 \
	curs_border_set.3 border_set.3 \
	curs_border_set.3 box_set.3 \
	curs_border_set.3 hline_set.3 \
	curs_border_set.3 mvhline_set.3 \
	curs_border_set.3 mvvline_set.3 \
	curs_border_set.3 mvwhline_set.3 \
	curs_border_set.3 mvwvline_set.3 \
	curs_border_set.3 vline_set.3 \
	curs_border_set.3 wborder_set.3 \
	curs_border_set.3 whline_set.3 \
	curs_border_set.3 wvline_set.3 \
	curs_clear.3 clear.3 \
	curs_clear.3 clrtobot.3 \
	curs_clear.3 clrtoeol.3 \
	curs_clear.3 erase.3 \
	curs_clear.3 wclear.3 \
	curs_clear.3 wclrtobot.3 \
	curs_clear.3 wclrtoeol.3 \
	curs_clear.3 werase.3 \
	curs_color.3 COLOR_PAIR.3 \
	curs_color.3 can_change_color.3 \
	curs_color.3 color_content.3 \
	curs_color.3 has_colors.3 \
	curs_color.3 init_color.3 \
	curs_color.3 init_pair.3 \
	curs_color.3 pair_content.3 \
	curs_color.3 start_color.3 \
	curs_delch.3 delch.3 \
	curs_delch.3 mvdelch.3 \
	curs_delch.3 mvwdelch.3 \
	curs_delch.3 wdelch.3 \
	curs_deleteln.3 deleteln.3 \
	curs_deleteln.3 insdelln.3 \
	curs_deleteln.3 insertln.3 \
	curs_deleteln.3 wdeleteln.3 \
	curs_deleteln.3 winsdelln.3 \
	curs_deleteln.3 winsertln.3 \
	curs_extend.3 curses_version.3 \
	curs_extend.3 use_extended_names.3 \
	curs_getcchar.3 getcchar.3 \
	curs_getcchar.3 setcchar.3 \
	curs_getch.3 getch.3 \
	curs_getch.3 has_key.3 \
	curs_getch.3 mvgetch.3 \
	curs_getch.3 mvwgetch.3 \
	curs_getch.3 ungetch.3 \
	curs_getch.3 wgetch.3 \
	curs_getstr.3 getnstr.3 \
	curs_getstr.3 getstr.3 \
	curs_getstr.3 mvgetnstr.3 \
	curs_getstr.3 mvgetstr.3 \
	curs_getstr.3 mvwgetnstr.3 \
	curs_getstr.3 mvwgetstr.3 \
	curs_getstr.3 wgetnstr.3 \
	curs_getstr.3 wgetstr.3 \
	curs_getyx.3 getbegyx.3 \
	curs_getyx.3 getmaxyx.3 \
	curs_getyx.3 getparyx.3 \
	curs_getyx.3 getyx.3 \
	curs_inch.3 inch.3 \
	curs_inch.3 mvinch.3 \
	curs_inch.3 mvwinch.3 \
	curs_inch.3 winch.3 \
	curs_inchstr.3 inchnstr.3 \
	curs_inchstr.3 inchstr.3 \
	curs_inchstr.3 mvinchnstr.3 \
	curs_inchstr.3 mvinchstr.3 \
	curs_inchstr.3 mvwinchnstr.3 \
	curs_inchstr.3 mvwinchstr.3 \
	curs_inchstr.3 winchnstr.3 \
	curs_inchstr.3 winchstr.3 \
	curs_initscr.3 delscreen.3 \
	curs_initscr.3 endwin.3 \
	curs_initscr.3 initscr.3 \
	curs_initscr.3 isendwin.3 \
	curs_initscr.3 newterm.3 \
	curs_initscr.3 set_term.3 \
	curs_inopts.3 cbreak.3 \
	curs_inopts.3 echo.3 \
	curs_inopts.3 halfdelay.3 \
	curs_inopts.3 intrflush.3 \
	curs_inopts.3 keypad.3 \
	curs_inopts.3 meta.3 \
	curs_inopts.3 nocbreak.3 \
	curs_inopts.3 nodelay.3 \
	curs_inopts.3 noecho.3 \
	curs_inopts.3 noqiflush.3 \
	curs_inopts.3 noraw.3 \
	curs_inopts.3 notimeout.3 \
	curs_inopts.3 qiflush.3 \
	curs_inopts.3 raw.3 \
	curs_inopts.3 timeout.3 \
	curs_inopts.3 typeahead.3 \
	curs_inopts.3 wtimeout.3 \
	curs_insch.3 insch.3 \
	curs_insch.3 mvinsch.3 \
	curs_insch.3 mvwinsch.3 \
	curs_insch.3 winsch.3 \
	curs_insstr.3 insnstr.3 \
	curs_insstr.3 insstr.3 \
	curs_insstr.3 mvinsnstr.3 \
	curs_insstr.3 mvinsstr.3 \
	curs_insstr.3 mvwinsnstr.3 \
	curs_insstr.3 mvwinsstr.3 \
	curs_insstr.3 winsnstr.3 \
	curs_insstr.3 winsstr.3 \
	curs_instr.3 innstr.3 \
	curs_instr.3 instr.3 \
	curs_instr.3 mvinnstr.3 \
	curs_instr.3 mvinstr.3 \
	curs_instr.3 mvwinnstr.3 \
	curs_instr.3 mvwinstr.3 \
	curs_instr.3 winnstr.3 \
	curs_instr.3 winstr.3 \
	curs_kernel.3 curs_set.3 \
	curs_kernel.3 def_prog_mode.3 \
	curs_kernel.3 def_shell_mode.3 \
	curs_kernel.3 getsyx.3 \
	curs_kernel.3 napms.3 \
	curs_kernel.3 reset_prog_mode.3 \
	curs_kernel.3 reset_shell_mode.3 \
	curs_kernel.3 resetty.3 \
	curs_kernel.3 ripoffline.3 \
	curs_kernel.3 savetty.3 \
	curs_kernel.3 setsyx.3 \
	curs_legacy.3 getbegx.3 \
	curs_legacy.3 getbegy.3 \
	curs_legacy.3 getcurx.3 \
	curs_legacy.3 getcury.3 \
	curs_legacy.3 getmaxx.3 \
	curs_legacy.3 getmaxy.3 \
	curs_legacy.3 getparx.3 \
	curs_legacy.3 getpary.3 \
	curs_memleaks.3 _nc_free_and_exit.3 \
	curs_memleaks.3 _nc_freeall.3 \
	curs_mouse.3 getmouse.3 \
	curs_mouse.3 mouse_trafo.3 \
	curs_mouse.3 mouseinterval.3 \
	curs_mouse.3 mousemask.3 \
	curs_mouse.3 ungetmouse.3 \
	curs_mouse.3 wenclose.3 \
	curs_mouse.3 wmouse_trafo.3 \
	curs_move.3 move.3 \
	curs_move.3 wmove.3 \
	curs_opaque.3 is_cleared.3 \
	curs_opaque.3 is_idcok.3 \
	curs_opaque.3 is_idlok.3 \
	curs_opaque.3 is_immedok.3 \
	curs_opaque.3 is_keypad.3 \
	curs_opaque.3 is_leaveok.3 \
	curs_opaque.3 is_nodelay.3 \
	curs_opaque.3 is_notimeout.3 \
	curs_opaque.3 is_scrollok.3 \
	curs_opaque.3 is_syncok.3 \
	curs_opaque.3 is_timeout.3 \
	curs_opaque.3 wgetparent.3 \
	curs_opaque.3 wgetscrreg.3 \
	curs_outopts.3 clearok.3 \
	curs_outopts.3 idcok.3 \
	curs_outopts.3 idlok.3 \
	curs_outopts.3 immedok.3 \
	curs_outopts.3 leaveok.3 \
	curs_outopts.3 nl.3 \
	curs_outopts.3 nonl.3 \
	curs_outopts.3 scrollok.3 \
	curs_outopts.3 setscrreg.3 \
	curs_outopts.3 wsetscrreg.3 \
	curs_overlay.3 copywin.3 \
	curs_overlay.3 overlay.3 \
	curs_overlay.3 overwrite.3 \
	curs_pad.3 newpad.3 \
	curs_pad.3 pecho_wchar.3 \
	curs_pad.3 pechochar.3 \
	curs_pad.3 pnoutrefresh.3 \
	curs_pad.3 prefresh.3 \
	curs_pad.3 subpad.3 \
	curs_print.3 mcprint.3 \
	curs_refresh.3 doupdate.3 \
	curs_refresh.3 redrawwin.3 \
	curs_refresh.3 refresh.3 \
	curs_refresh.3 wnoutrefresh.3 \
	curs_refresh.3 wredrawln.3 \
	curs_refresh.3 wrefresh.3 \
	curs_scr_dump.3 scr_dump.3 \
	curs_scr_dump.3 scr_init.3 \
	curs_scr_dump.3 scr_restore.3 \
	curs_scr_dump.3 scr_set.3 \
	curs_scroll.3 scrl.3 \
	curs_scroll.3 scroll.3 \
	curs_scroll.3 wscrl.3 \
	curs_slk.3 slk_attr.3 \
	curs_slk.3 slk_attr_off.3 \
	curs_slk.3 slk_attr_on.3 \
	curs_slk.3 slk_attr_set.3 \
	curs_slk.3 slk_attroff.3 \
	curs_slk.3 slk_attron.3 \
	curs_slk.3 slk_attrset.3 \
	curs_slk.3 slk_clear.3 \
	curs_slk.3 slk_color.3 \
	curs_slk.3 slk_init.3 \
	curs_slk.3 slk_label.3 \
	curs_slk.3 slk_noutrefresh.3 \
	curs_slk.3 slk_refresh.3 \
	curs_slk.3 slk_restore.3 \
	curs_slk.3 slk_set.3 \
	curs_slk.3 slk_touch.3 \
	curs_termattrs.3 baudrate.3 \
	curs_termattrs.3 erasechar.3 \
	curs_termattrs.3 erasewchar.3 \
	curs_termattrs.3 has_ic.3 \
	curs_termattrs.3 has_il.3 \
	curs_termattrs.3 killchar.3 \
	curs_termattrs.3 killwchar.3 \
	curs_termattrs.3 longname.3 \
	curs_termattrs.3 term_attrs.3 \
	curs_termattrs.3 termattrs.3 \
	curs_termattrs.3 termname.3 \
	curs_termcap.3 termcap.3 \
	curs_termcap.3 tgetent.3 \
	curs_termcap.3 tgetflag.3 \
	curs_termcap.3 tgetnum.3 \
	curs_termcap.3 tgetstr.3 \
	curs_termcap.3 tgoto.3 \
	curs_termcap.3 tputs.3 \
	curs_terminfo.3 del_curterm.3 \
	curs_terminfo.3 mvcur.3 \
	curs_terminfo.3 putp.3 \
	curs_terminfo.3 restartterm.3 \
	curs_terminfo.3 set_curterm.3 \
	curs_terminfo.3 setterm.3 \
	curs_terminfo.3 setupterm.3 \
	curs_terminfo.3 tigetflag.3 \
	curs_terminfo.3 tigetnum.3 \
	curs_terminfo.3 tigetstr.3 \
	curs_terminfo.3 tparm.3 \
	curs_terminfo.3 vid_attr.3 \
	curs_terminfo.3 vid_puts.3 \
	curs_terminfo.3 vidattr.3 \
	curs_terminfo.3 vidputs.3 \
	curs_threads.3 set_escdelay.3 \
	curs_threads.3 set_tabsize.3 \
	curs_threads.3 use_screen.3 \
	curs_threads.3 use_window.3 \
	curs_touch.3 is_linetouched.3 \
	curs_touch.3 is_wintouched.3 \
	curs_touch.3 touchline.3 \
	curs_touch.3 touchwin.3 \
	curs_touch.3 untouchwin.3 \
	curs_touch.3 wtouchln.3 \
	curs_trace.3 _nc_tracebits.3 \
	curs_trace.3 _traceattr.3 \
	curs_trace.3 _traceattr2.3 \
	curs_trace.3 _tracechar.3 \
	curs_trace.3 _tracechtype.3 \
	curs_trace.3 _tracechtype2.3 \
	curs_trace.3 _tracedump.3 \
	curs_trace.3 _tracef.3 \
	curs_trace.3 _tracemouse.3 \
	curs_trace.3 trace.3 \
	curs_util.3 delay_output.3 \
	curs_util.3 filter.3 \
	curs_util.3 flushinp.3 \
	curs_util.3 getwin.3 \
	curs_util.3 key_name.3 \
	curs_util.3 keyname.3 \
	curs_util.3 nofilter.3 \
	curs_util.3 putwin.3 \
	curs_util.3 unctrl.3 \
	curs_util.3 use_env.3 \
	curs_util.3 wunctrl.3 \
	curs_window.3 delwin.3 \
	curs_window.3 derwin.3 \
	curs_window.3 dupwin.3 \
	curs_window.3 mvderwin.3 \
	curs_window.3 mvwin.3 \
	curs_window.3 newwin.3 \
	curs_window.3 subwin.3 \
	curs_window.3 syncok.3 \
	curs_window.3 wcursyncup.3 \
	curs_window.3 wsyncdown.3 \
	curs_window.3 wsyncup.3 \
	default_colors.3 assume_default_colors.3 \
	default_colors.3 use_default_colors.3 \
	legacy_coding.3 use_legacy_coding.3 \
	resizeterm.3 is_term_resized.3 \
	resizeterm.3 resize_term.3

.if defined(ENABLE_WIDEC)
MLINKS+=curs_add_wch.3 add_wch.3 \
	curs_add_wch.3 echo_wchar.3 \
	curs_add_wch.3 mvadd_wch.3 \
	curs_add_wch.3 mvwadd_wch.3 \
	curs_add_wch.3 wadd_wch.3 \
	curs_add_wch.3 wecho_wchar.3 \
	curs_add_wchstr.3 add_wchnstr.3 \
	curs_add_wchstr.3 add_wchstr.3 \
	curs_add_wchstr.3 mvadd_wchnstr.3 \
	curs_add_wchstr.3 mvadd_wchstr.3 \
	curs_add_wchstr.3 mvwadd_wchnstr.3 \
	curs_add_wchstr.3 mvwadd_wchstr.3 \
	curs_add_wchstr.3 wadd_wchnstr.3 \
	curs_add_wchstr.3 wadd_wchstr.3 \
	curs_addwstr.3 addnwstr.3 \
	curs_addwstr.3 addwstr.3 \
	curs_addwstr.3 mvaddnwstr.3 \
	curs_addwstr.3 mvaddwstr.3 \
	curs_addwstr.3 mvwaddnwstr.3 \
	curs_addwstr.3 mvwaddwstr.3 \
	curs_addwstr.3 waddnwstr.3 \
	curs_addwstr.3 waddwstr.3 \
	curs_get_wch.3 get_wch.3 \
	curs_get_wch.3 mvget_wch.3 \
	curs_get_wch.3 mvwget_wch.3 \
	curs_get_wch.3 unget_wch.3 \
	curs_get_wch.3 wget_wch.3 \
	curs_get_wstr.3 get_wstr.3 \
	curs_get_wstr.3 getn_wstr.3 \
	curs_get_wstr.3 mvget_wstr.3 \
	curs_get_wstr.3 mvgetn_wstr.3 \
	curs_get_wstr.3 mvwget_wstr.3 \
	curs_get_wstr.3 mvwgetn_wstr.3 \
	curs_get_wstr.3 wget_wstr.3 \
	curs_get_wstr.3 wgetn_wstr.3 \
	curs_in_wch.3 in_wch.3 \
	curs_in_wch.3 mvin_wch.3 \
	curs_in_wch.3 mvwin_wch.3 \
	curs_in_wch.3 win_wch.3 \
	curs_in_wchstr.3 in_wchnstr.3 \
	curs_in_wchstr.3 in_wchstr.3 \
	curs_in_wchstr.3 mvin_wchnstr.3 \
	curs_in_wchstr.3 mvin_wchstr.3 \
	curs_in_wchstr.3 mvwin_wchnstr.3 \
	curs_in_wchstr.3 mvwin_wchstr.3 \
	curs_in_wchstr.3 win_wchnstr.3 \
	curs_in_wchstr.3 win_wchstr.3 \
	curs_ins_wch.3 ins_wch.3 \
	curs_ins_wch.3 mvins_wch.3 \
	curs_ins_wch.3 mvwins_wch.3 \
	curs_ins_wch.3 wins_wch.3 \
	curs_ins_wstr.3 ins_nwstr.3 \
	curs_ins_wstr.3 ins_wstr.3 \
	curs_ins_wstr.3 mvins_nwstr.3 \
	curs_ins_wstr.3 mvins_wstr.3 \
	curs_ins_wstr.3 mvwins_nwstr.3 \
	curs_ins_wstr.3 mvwins_wstr.3 \
	curs_ins_wstr.3 wins_nwstr.3 \
	curs_ins_wstr.3 wins_wstr.3 \
	curs_inwstr.3 innwstr.3 \
	curs_inwstr.3 inwstr.3 \
	curs_inwstr.3 mvinnwstr.3 \
	curs_inwstr.3 mvinwstr.3 \
	curs_inwstr.3 mvwinnwstr.3 \
	curs_inwstr.3 mvwinwstr.3 \
	curs_inwstr.3 winnwstr.3 \
	curs_inwstr.3 winwstr.3 \
	curs_printw.3 mvprintw.3 \
	curs_printw.3 mvwprintw.3 \
	curs_printw.3 printw.3 \
	curs_printw.3 vw_printw.3 \
	curs_printw.3 vwprintw.3 \
	curs_printw.3 wprintw.3 \
	curs_scanw.3 mvscanw.3 \
	curs_scanw.3 mvwscanw.3 \
	curs_scanw.3 scanw.3 \
	curs_scanw.3 vw_scanw.3 \
	curs_scanw.3 vwscanw.3 \
	curs_scanw.3 wscanw.3
.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.100.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:25 +0000
@
text
@d1 993
@


1.100.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 987
# $FreeBSD: releng/8.4/lib/ncurses/ncurses/Makefile 195767 2009-07-19 17:25:24Z kensmith $

SHLIBDIR?=	/lib

.include <bsd.own.mk>

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

LIB=		ncurses${LIB_SUFFIX}
SHLIB_MAJOR=	8

NO_LINT=

NCURSES_MAJOR!=	egrep 'NCURSES_MAJOR[ 	]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%'
NCURSES_MINOR!=	egrep 'NCURSES_MINOR[ 	]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%'
NCURSES_PATCH!=	egrep 'NCURSES_PATCH[ 	]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%'

# From autoconf (!)
.if defined(ENABLE_WIDEC)
NCURSES_CH_T=		cchar_t
NCURSES_OK_WCHAR_T=	1
NEED_WCHAR_H=		1
.else
NCURSES_CH_T=		chtype
NCURSES_OK_WCHAR_T=
NEED_WCHAR_H=		0
.endif
NCURSES_CONST=		const
NCURSES_EXT_COLORS=	0
NCURSES_EXT_FUNCS=	1
NCURSES_INLINE=		inline
NCURSES_LIBUTF8=	0
NCURSES_MBSTATE_T=	0
NCURSES_MOUSE_VERSION=	1
NCURSES_OPAQUE=		0
NCURSES_OSPEED=		short
NCURSES_SBOOL=		char
NCURSES_SIZE_T=		short
NCURSES_TPARM_VARARGS=	1
NCURSES_WCHAR_T=	0
NCURSES_WINT_T=		0
NCURSES_XNAMES=		1
BROKEN_LINKER=		0
BUILTIN_BOOL=		1
ENABLE_LP64=		0
ENABLE_OPAQUE=		NCURSES_OPAQUE
ENABLE_REENTRANT=	0
HAVE_TCGETATTR=		1
HAVE_TERMIOS_H=		1
HAVE_TERMIO_H=		0
HAVE_VSSCANF=		1
HEADER_STDBOOL=		1
# XXX amd64, ia64 1L and int
ONEUL=			1UL
TYPEOF_CHTYPE=		long
TYPEOF_MMASK_T=		long
TYPE_OF_BOOL=		unsigned char
USE_BIG_STRINGS=	1
USE_CXX_BOOL=		defined(__cplusplus)

GENSRCS=	\
	codes.c \
	expanded.c \
	fallback.c \
	lib_gen.c \
	lib_keyname.c \
	names.c \
	unctrl.c

GENHDRS=	\
	curses.h \
	hashsize.h \
	init_keytry.h \
	ncurses_def.h \
	nomacros.h \
	parametrized.h \
	term.h \
	termcap.h \
	unctrl.h

SRCS=	${GENHDRS} ${GENSRCS}

.PATH: ${NCURSES_DIR}/ncurses/base
SRCS+=	\
	define_key.c \
	key_defined.c \
	keybound.c \
	keyok.c \
	legacy_coding.c \
	lib_addch.c \
	lib_addstr.c \
	lib_beep.c \
	lib_bkgd.c \
	lib_box.c \
	lib_chgat.c \
	lib_clear.c \
	lib_clearok.c \
	lib_clrbot.c \
	lib_clreol.c \
	lib_color.c \
	lib_colorset.c \
	lib_delch.c \
	lib_delwin.c \
	lib_dft_fgbg.c \
	lib_echo.c \
	lib_endwin.c \
	lib_erase.c \
	lib_flash.c \
	lib_freeall.c \
	lib_getch.c \
	lib_getstr.c \
	lib_hline.c \
	lib_immedok.c \
	lib_inchstr.c \
	lib_initscr.c \
	lib_insch.c \
	lib_insdel.c \
	lib_insnstr.c \
	lib_instr.c \
	lib_isendwin.c \
	lib_leaveok.c \
	lib_mouse.c \
	lib_move.c \
	lib_mvwin.c \
	lib_newterm.c \
	lib_newwin.c \
	lib_nl.c \
	lib_overlay.c \
	lib_pad.c \
	lib_printw.c \
	lib_redrawln.c \
	lib_refresh.c \
	lib_restart.c \
	lib_scanw.c \
	lib_screen.c \
	lib_scroll.c \
	lib_scrollok.c \
	lib_scrreg.c \
	lib_set_term.c \
	lib_slk.c \
	lib_slkatr_set.c \
	lib_slkatrof.c \
	lib_slkatron.c \
	lib_slkatrset.c \
	lib_slkattr.c \
	lib_slkclear.c \
	lib_slkcolor.c \
	lib_slkinit.c \
	lib_slklab.c \
	lib_slkrefr.c \
	lib_slkset.c \
	lib_slktouch.c \
	lib_touch.c \
	lib_ungetch.c \
	lib_vline.c \
	lib_wattroff.c \
	lib_wattron.c \
	lib_winch.c \
	lib_window.c \
	memmove.c \
	nc_panel.c \
	resizeterm.c \
	safe_sprintf.c \
	tries.c \
	version.c \
	vsscanf.c \
	wresize.c

.PATH: ${NCURSES_DIR}/ncurses/tinfo
SRCS+=	\
	access.c \
	add_tries.c \
	alloc_entry.c \
	alloc_ttype.c \
	captoinfo.c \
	comp_captab.c \
	comp_error.c \
	comp_expand.c \
	comp_hash.c \
	comp_parse.c \
	comp_scan.c \
	db_iterator.c \
	doalloc.c \
	entries.c \
	free_ttype.c \
	getenv_num.c \
	hashed_db.c \
	home_terminfo.c \
	init_keytry.c \
	lib_acs.c \
	lib_baudrate.c \
	lib_cur_term.c \
	lib_data.c \
	lib_has_cap.c \
	lib_kernel.c \
	lib_longname.c \
	lib_napms.c \
	lib_options.c \
	lib_print.c \
	lib_raw.c \
	lib_setup.c \
	lib_termcap.c \
	lib_termname.c \
	lib_tgoto.c \
	lib_ti.c \
	lib_tparm.c \
	lib_tputs.c \
	lib_ttyflags.c \
	name_match.c \
	parse_entry.c \
	read_entry.c \
	setbuf.c \
	strings.c \
	trim_sgr0.c \
	write_entry.c

.PATH: ${NCURSES_DIR}/ncurses/tty
SRCS+=	\
	hardscroll.c \
	hashmap.c \
	lib_mvcur.c \
	lib_tstp.c \
	lib_twait.c \
	lib_vidattr.c \
	tty_update.c

.if defined(ENABLE_WIDEC)
.PATH: ${NCURSES_DIR}/ncurses/widechar
SRCS+=	\
	charable.c \
	lib_add_wch.c \
	lib_box_set.c \
	lib_cchar.c \
	lib_erasewchar.c \
	lib_get_wch.c \
	lib_get_wstr.c \
	lib_hline_set.c \
	lib_in_wch.c \
	lib_in_wchnstr.c \
	lib_ins_wch.c \
	lib_inwstr.c \
	lib_key_name.c \
	lib_pecho_wchar.c \
	lib_slk_wset.c \
	lib_unget_wch.c \
	lib_vid_attr.c \
	lib_vline_set.c \
	lib_wacs.c \
	lib_wunctrl.c
.endif

.PATH: ${NCURSES_DIR}/ncurses/trace
SRCS+=	\
	lib_trace.c \
	visbuf.c

# Currently unused, for debugging libncurses itself.
DBGSRCS= \
	lib_traceatr.c \
	lib_tracebits.c \
	lib_tracechr.c \
	lib_tracedmp.c \
	lib_tracemse.c \
	trace_buf.c \
	trace_tries.c \
	trace_xnames.c \
	varargs.c

# From our old libtermcap.
# Used instead of the hideous read_termcap.c abomination.
SRCS+=	termcap.c

CLEANFILES=	${GENSRCS} ${GENHDRS} keys.list make_hash term.h.new \
		make_keys MKterm.h.awk comp_captab.c curses.head

CFLAGS+=	-DFREEBSD_NATIVE -DTERMIOS

# Installed
HEADERS=	curses.h term.h termcap.h unctrl.h
SRCHDRS=	ncurses_dll.h

.if defined(ENABLE_WIDEC)
INCS=		${HEADERS} ${SRCHDRS}
INCSLINKS=	curses.h ${INCLUDEDIR}/ncurses.h
.endif

.if ${MK_INSTALLLIB} != "no"
SYMLINKS+=	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libcurses${LIB_SUFFIX}.a
SYMLINKS+=	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermcap${LIB_SUFFIX}.a
SYMLINKS+=	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermlib${LIB_SUFFIX}.a
SYMLINKS+=	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtinfo${LIB_SUFFIX}.a
.endif
.if !defined(NO_PIC)
# no need for major at all, it's an ld-time redirection only
SYMLINKS+=	libncurses${LIB_SUFFIX}.so ${LIBDIR}/libcurses${LIB_SUFFIX}.so
SYMLINKS+=	libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtermcap${LIB_SUFFIX}.so
SYMLINKS+=	libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtermlib${LIB_SUFFIX}.so
SYMLINKS+=	libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtinfo${LIB_SUFFIX}.so
.endif
.if ${MK_PROFILE} != "no"
SYMLINKS+=	libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libcurses${LIB_SUFFIX}_p.a
SYMLINKS+=	libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtermcap${LIB_SUFFIX}_p.a
SYMLINKS+=	libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtermlib${LIB_SUFFIX}_p.a
SYMLINKS+=	libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtinfo${LIB_SUFFIX}_p.a
.endif

DOCSDIR=	${SHAREDIR}/doc/ncurses
DOCS=		ncurses-intro.html hackguide.html

.if ${MK_HTML} != "no"
.PATH: ${NCURSES_DIR}/doc/html
FILESGROUPS=	DOCS
.endif

# Generated source
.ORDER: names.c codes.c

names.c: MKnames.awk
	${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKnames.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > names.c

codes.c: MKcodes.awk
	${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKcodes.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > codes.c

lib_gen.c: MKlib_gen.sh curses.h
	LC_ALL=C sh ${NCURSES_DIR}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
	    "${AWK}" generated < curses.h >$@@

lib_keyname.c: keys.list MKkeyname.awk
	${AWK} -f ${NCURSES_DIR}/ncurses/base/MKkeyname.awk bigstrings=${USE_BIG_STRINGS} keys.list > lib_keyname.c

unctrl.c: MKunctrl.awk
	echo | ${AWK} -f ${NCURSES_DIR}/ncurses/base/MKunctrl.awk bigstrings=${USE_BIG_STRINGS} > unctrl.c

comp_captab.c: MKcaptab.sh MKcaptab.awk Caps make_hash
	sh ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.sh "${AWK}" \
	    ${USE_BIG_STRINGS} ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.awk \
	    ${NCURSES_DIR}/include/Caps > comp_captab.c

expanded.c: MKexpanded.sh
	sh ${NCURSES_DIR}/ncurses/tty/MKexpanded.sh "${CC} -E" ${CFLAGS} >expanded.c

fallback.c: MKfallback.sh
	sh ${NCURSES_DIR}/ncurses/tinfo/MKfallback.sh > fallback.c

# Generated headers
nomacros.h: MKlib_gen.sh curses.h
	LC_ALL=C sh ${NCURSES_DIR}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
	    "${AWK}" generated < curses.h | fgrep undef > $@@

init_keytry.h: keys.list make_keys
	./make_keys keys.list > init_keytry.h

hashsize.h: MKhashsize.sh Caps
	sh ${NCURSES_DIR}/include/MKhashsize.sh ${NCURSES_DIR}/include/Caps > $@@

parametrized.h: MKparametrized.sh Caps
	AWK=${AWK} sh ${NCURSES_DIR}/include/MKparametrized.sh \
	    ${NCURSES_DIR}/include/Caps > $@@

term.h: MKterm.h.awk edit_cfg.sh Caps
	${AWK} -f MKterm.h.awk ${NCURSES_DIR}/include/Caps > $@@.new
	sh ${NCURSES_DIR}/include/edit_cfg.sh ${NCURSES_CFG_H} $@@.new
	mv -f $@@.new $@@

curses.h: curses.head MKkey_defs.sh Caps
	cat curses.head > $@@.new
	AWK=${AWK} _POSIX2_VERSION=199209 sh ${NCURSES_DIR}/include/MKkey_defs.sh \
	    ${NCURSES_DIR}/include/Caps >> $@@.new
.if defined(ENABLE_WIDEC)
	cat ${NCURSES_DIR}/include/curses.wide >> $@@.new
.endif
	cat ${NCURSES_DIR}/include/curses.tail >> $@@.new
	mv -f $@@.new $@@

# Generated intermediate files
keys.list: MKkeys_list.sh Caps
	AWK=${AWK} sh ${NCURSES_DIR}/ncurses/tinfo/MKkeys_list.sh \
	    ${NCURSES_DIR}/include/Caps | LC_ALL=C sort > keys.list

# Build tools
build-tools: make_hash make_keys

make_keys: make_keys.c names.c ncurses_def.h ${HEADERS}
	${CC} -o $@@ ${CFLAGS} ${NCURSES_DIR}/ncurses/tinfo/make_keys.c

make_hash: comp_hash.c hashsize.h ncurses_def.h ${HEADERS}
	${CC} -o $@@ ${CFLAGS} -DMAIN_PROGRAM \
		${NCURSES_DIR}/ncurses/tinfo/comp_hash.c

# ./configure generated
MKterm.h.awk: MKterm.h.awk.in
	sed <${NCURSES_DIR}/include/MKterm.h.awk.in >$@@ \
	    -e "/@@BROKEN_LINKER@@/s%%${BROKEN_LINKER}%" \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%" \
	    -e "/@@NCURSES_CONST@@/s%%${NCURSES_CONST}%" \
	    -e "/@@NCURSES_TPARM_VARARGS@@/s%%${NCURSES_TPARM_VARARGS}%" \
	    -e "/@@NCURSES_SBOOL@@/s%%${NCURSES_SBOOL}%" \
	    -e "/@@NCURSES_XNAMES@@/s%%${NCURSES_XNAMES}%" \
	    -e "/@@HAVE_TERMIOS_H@@/s%%${HAVE_TERMIOS_H}%" \
	    -e "/@@HAVE_TERMIO_H@@/s%%${HAVE_TERMIO_H}%" \
	    -e "/@@HAVE_TCGETATTR@@/s%%${HAVE_TCGETATTR}%" \
	    -e "s%@@cf_cv_enable_reentrant@@%${ENABLE_REENTRANT}%g"

termcap.h: termcap.h.in
	sed <${NCURSES_DIR}/include/termcap.h.in >$@@ \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%" \
	    -e "/@@NCURSES_CONST@@/s%%${NCURSES_CONST}%" \
	    -e "/@@NCURSES_OSPEED@@/s%%${NCURSES_OSPEED}%"

curses.head: curses.h.in
	sed <${NCURSES_DIR}/include/curses.h.in >$@@ \
	    -e "/@@BROKEN_LINKER@@/s%%${BROKEN_LINKER}%" \
	    -e "/@@HAVE_VSSCANF@@/s%%${HAVE_VSSCANF}%" \
	    -e "/@@NCURSES_CH_T@@/s%%${NCURSES_CH_T}%" \
	    -e "/@@NCURSES_CONST@@/s%%${NCURSES_CONST}%" \
	    -e "/@@NCURSES_EXT_COLORS@@/s%%${NCURSES_EXT_COLORS}%" \
	    -e "/@@NCURSES_EXT_FUNCS@@/s%%${NCURSES_EXT_FUNCS}%" \
	    -e "/@@NCURSES_INLINE@@/s%%${NCURSES_INLINE}%" \
	    -e "/@@NCURSES_LIBUTF8@@/s%%${NCURSES_LIBUTF8}%" \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MBSTATE_T@@/s%%${NCURSES_MBSTATE_T}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%" \
	    -e "/@@NCURSES_MOUSE_VERSION@@/s%%${NCURSES_MOUSE_VERSION}%" \
	    -e "/@@NCURSES_OK_WCHAR_T@@/s%%${NCURSES_OK_WCHAR_T}%" \
	    -e "/@@NCURSES_OPAQUE@@/s%%${NCURSES_OPAQUE}%" \
	    -e "/@@NCURSES_PATCH@@/s%%${NCURSES_PATCH}%" \
	    -e "/@@NCURSES_SIZE_T@@/s%%${NCURSES_SIZE_T}%" \
	    -e "/@@NCURSES_TPARM_VARARGS@@/s%%${NCURSES_TPARM_VARARGS}%" \
	    -e "/@@NCURSES_WCHAR_T@@/s%%${NCURSES_WCHAR_T}%" \
	    -e "/@@NCURSES_WCHAR_T@@/s%%${NCURSES_WCHAR_T}%" \
	    -e "/@@NCURSES_WINT_T@@/s%%${NCURSES_WINT_T}%" \
	    -e "/@@NEED_WCHAR_H@@/s%%${NEED_WCHAR_H}%" \
	    -e "/@@USE_CXX_BOOL@@/s%%${USE_CXX_BOOL}%" \
	    -e "s%@@cf_cv_1UL@@%${ONEUL}%g" \
	    -e "s%@@cf_cv_builtin_bool@@%${BUILTIN_BOOL}%g" \
	    -e "s%@@cf_cv_enable_lp64@@%${ENABLE_LP64}%g" \
	    -e "s%@@cf_cv_enable_opaque@@%${ENABLE_OPAQUE}%g" \
	    -e "s%@@cf_cv_enable_reentrant@@%${ENABLE_REENTRANT}%g" \
	    -e "s%@@cf_cv_header_stdbool_h@@%${HEADER_STDBOOL}%g" \
	    -e "s%@@cf_cv_type_of_bool@@%${TYPE_OF_BOOL}%g" \
	    -e "s%@@cf_cv_typeof_chtype@@%${TYPEOF_CHTYPE}%g" \
	    -e "s%@@cf_cv_typeof_mmask_t@@%${TYPEOF_MMASK_T}%g" \
	    -e "s/ _WCHAR_T/ __wchar_t/g" \
	    -e "s/ _WINT_T/ __wint_t/g"

unctrl.h: unctrl.h.in
	sed <${NCURSES_DIR}/include/$@@.in >$@@ \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%"

# MAN page gunk
terminfo.5: MKterminfo.sh terminfo.head Caps
	sh ${NCURSES_DIR}/man/MKterminfo.sh ${NCURSES_DIR}/man/terminfo.head \
	    ${NCURSES_DIR}/include/Caps ${NCURSES_DIR}/man/terminfo.tail >$@@

CLEANFILES+=	terminfo.5

.PATH: ${NCURSES_DIR}/man
MAN=	\
	curs_addch.3 \
	curs_addchstr.3 \
	curs_addstr.3 \
	curs_attr.3 \
	curs_beep.3 \
	curs_bkgd.3 \
	curs_bkgrnd.3 \
	curs_border.3 \
	curs_border_set.3 \
	curs_clear.3 \
	curs_color.3 \
	curs_delch.3 \
	curs_deleteln.3 \
	curs_extend.3 \
	curs_getcchar.3 \
	curs_getch.3 \
	curs_getstr.3 \
	curs_getyx.3 \
	curs_inch.3 \
	curs_inchstr.3 \
	curs_initscr.3 \
	curs_inopts.3 \
	curs_insch.3 \
	curs_insstr.3 \
	curs_instr.3 \
	curs_inwstr.3 \
	curs_kernel.3 \
	curs_legacy.3 \
	curs_memleaks.3 \
	curs_mouse.3 \
	curs_move.3 \
	curs_opaque.3 \
	curs_outopts.3 \
	curs_overlay.3 \
	curs_pad.3 \
	curs_print.3 \
	curs_refresh.3 \
	curs_scr_dump.3 \
	curs_scroll.3 \
	curs_slk.3 \
	curs_termattrs.3 \
	curs_termcap.3 \
	curs_terminfo.3 \
	curs_threads.3 \
	curs_touch.3 \
	curs_trace.3 \
	curs_util.3 \
	curs_window.3 \
	default_colors.3 \
	define_key.3 \
	key_defined.3 \
	keybound.3 \
	keyok.3 \
	legacy_coding.3 \
	ncurses.3 \
	resizeterm.3 \
	wresize.3

.if defined(ENABLE_WIDEC)
MAN+=	\
	curs_add_wch.3 \
	curs_add_wchstr.3 \
	curs_addwstr.3 \
	curs_get_wch.3 \
	curs_get_wstr.3 \
	curs_in_wch.3 \
	curs_in_wchstr.3 \
	curs_ins_wch.3 \
	curs_ins_wstr.3 \
	curs_printw.3 \
	curs_scanw.3
.endif

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

MAN+=	term.5 terminfo.5
MAN+=	term.7

MLINKS=	ncurses.3 curses.3 \
	curs_addch.3 addch.3 \
	curs_addch.3 echochar.3 \
	curs_addch.3 mvaddch.3 \
	curs_addch.3 mvwaddch.3 \
	curs_addch.3 waddch.3 \
	curs_addch.3 wechochar.3 \
	curs_addchstr.3 addchnstr.3 \
	curs_addchstr.3 addchstr.3 \
	curs_addchstr.3 mvaddchnstr.3 \
	curs_addchstr.3 mvaddchstr.3 \
	curs_addchstr.3 mvwaddchnstr.3 \
	curs_addchstr.3 mvwaddchstr.3 \
	curs_addchstr.3 waddchnstr.3 \
	curs_addchstr.3 waddchstr.3 \
	curs_addstr.3 addnstr.3 \
	curs_addstr.3 addstr.3 \
	curs_addstr.3 mvaddnstr.3 \
	curs_addstr.3 mvaddstr.3 \
	curs_addstr.3 mvwaddnstr.3 \
	curs_addstr.3 mvwaddstr.3 \
	curs_addstr.3 waddnstr.3 \
	curs_addstr.3 waddstr.3 \
	curs_attr.3 PAIR_NUMBER.3 \
	curs_attr.3 attr_get.3 \
	curs_attr.3 attr_off.3 \
	curs_attr.3 attr_on.3 \
	curs_attr.3 attr_set.3 \
	curs_attr.3 attroff.3 \
	curs_attr.3 attron.3 \
	curs_attr.3 attrset.3 \
	curs_attr.3 chgat.3 \
	curs_attr.3 color_set.3 \
	curs_attr.3 mvchgat.3 \
	curs_attr.3 mvwchgat.3 \
	curs_attr.3 standend.3 \
	curs_attr.3 standout.3 \
	curs_attr.3 wattr_get.3 \
	curs_attr.3 wattr_off.3 \
	curs_attr.3 wattr_on.3 \
	curs_attr.3 wattr_set.3 \
	curs_attr.3 wattroff.3 \
	curs_attr.3 wattron.3 \
	curs_attr.3 wattrset.3 \
	curs_attr.3 wchgat.3 \
	curs_attr.3 wcolor_set.3 \
	curs_attr.3 wstandend.3 \
	curs_attr.3 wstandout.3 \
	curs_beep.3 beep.3 \
	curs_beep.3 flash.3 \
	curs_bkgd.3 bkgd.3 \
	curs_bkgd.3 bkgdset.3 \
	curs_bkgd.3 getbkgd.3 \
	curs_bkgd.3 wbkgd.3 \
	curs_bkgd.3 wbkgdset.3 \
	curs_bkgrnd.3 bkgrnd.3 \
	curs_bkgrnd.3 bkgrndset.3 \
	curs_bkgrnd.3 getbkgrnd.3 \
	curs_bkgrnd.3 wbkgrnd.3 \
	curs_bkgrnd.3 wbkgrndset.3 \
	curs_bkgrnd.3 wgetbkgrnd.3 \
	curs_border.3 border.3 \
	curs_border.3 box.3 \
	curs_border.3 hline.3 \
	curs_border.3 mvhline.3 \
	curs_border.3 mvvline.3 \
	curs_border.3 mvwhline.3 \
	curs_border.3 mvwvline.3 \
	curs_border.3 vline.3 \
	curs_border.3 wborder.3 \
	curs_border.3 whline.3 \
	curs_border.3 wvline.3 \
	curs_border_set.3 border_set.3 \
	curs_border_set.3 box_set.3 \
	curs_border_set.3 hline_set.3 \
	curs_border_set.3 mvhline_set.3 \
	curs_border_set.3 mvvline_set.3 \
	curs_border_set.3 mvwhline_set.3 \
	curs_border_set.3 mvwvline_set.3 \
	curs_border_set.3 vline_set.3 \
	curs_border_set.3 wborder_set.3 \
	curs_border_set.3 whline_set.3 \
	curs_border_set.3 wvline_set.3 \
	curs_clear.3 clear.3 \
	curs_clear.3 clrtobot.3 \
	curs_clear.3 clrtoeol.3 \
	curs_clear.3 erase.3 \
	curs_clear.3 wclear.3 \
	curs_clear.3 wclrtobot.3 \
	curs_clear.3 wclrtoeol.3 \
	curs_clear.3 werase.3 \
	curs_color.3 COLOR_PAIR.3 \
	curs_color.3 can_change_color.3 \
	curs_color.3 color_content.3 \
	curs_color.3 has_colors.3 \
	curs_color.3 init_color.3 \
	curs_color.3 init_pair.3 \
	curs_color.3 pair_content.3 \
	curs_color.3 start_color.3 \
	curs_delch.3 delch.3 \
	curs_delch.3 mvdelch.3 \
	curs_delch.3 mvwdelch.3 \
	curs_delch.3 wdelch.3 \
	curs_deleteln.3 deleteln.3 \
	curs_deleteln.3 insdelln.3 \
	curs_deleteln.3 insertln.3 \
	curs_deleteln.3 wdeleteln.3 \
	curs_deleteln.3 winsdelln.3 \
	curs_deleteln.3 winsertln.3 \
	curs_extend.3 curses_version.3 \
	curs_extend.3 use_extended_names.3 \
	curs_getcchar.3 getcchar.3 \
	curs_getcchar.3 setcchar.3 \
	curs_getch.3 getch.3 \
	curs_getch.3 has_key.3 \
	curs_getch.3 mvgetch.3 \
	curs_getch.3 mvwgetch.3 \
	curs_getch.3 ungetch.3 \
	curs_getch.3 wgetch.3 \
	curs_getstr.3 getnstr.3 \
	curs_getstr.3 getstr.3 \
	curs_getstr.3 mvgetnstr.3 \
	curs_getstr.3 mvgetstr.3 \
	curs_getstr.3 mvwgetnstr.3 \
	curs_getstr.3 mvwgetstr.3 \
	curs_getstr.3 wgetnstr.3 \
	curs_getstr.3 wgetstr.3 \
	curs_getyx.3 getbegyx.3 \
	curs_getyx.3 getmaxyx.3 \
	curs_getyx.3 getparyx.3 \
	curs_getyx.3 getyx.3 \
	curs_inch.3 inch.3 \
	curs_inch.3 mvinch.3 \
	curs_inch.3 mvwinch.3 \
	curs_inch.3 winch.3 \
	curs_inchstr.3 inchnstr.3 \
	curs_inchstr.3 inchstr.3 \
	curs_inchstr.3 mvinchnstr.3 \
	curs_inchstr.3 mvinchstr.3 \
	curs_inchstr.3 mvwinchnstr.3 \
	curs_inchstr.3 mvwinchstr.3 \
	curs_inchstr.3 winchnstr.3 \
	curs_inchstr.3 winchstr.3 \
	curs_initscr.3 delscreen.3 \
	curs_initscr.3 endwin.3 \
	curs_initscr.3 initscr.3 \
	curs_initscr.3 isendwin.3 \
	curs_initscr.3 newterm.3 \
	curs_initscr.3 set_term.3 \
	curs_inopts.3 cbreak.3 \
	curs_inopts.3 echo.3 \
	curs_inopts.3 halfdelay.3 \
	curs_inopts.3 intrflush.3 \
	curs_inopts.3 keypad.3 \
	curs_inopts.3 meta.3 \
	curs_inopts.3 nocbreak.3 \
	curs_inopts.3 nodelay.3 \
	curs_inopts.3 noecho.3 \
	curs_inopts.3 noqiflush.3 \
	curs_inopts.3 noraw.3 \
	curs_inopts.3 notimeout.3 \
	curs_inopts.3 qiflush.3 \
	curs_inopts.3 raw.3 \
	curs_inopts.3 timeout.3 \
	curs_inopts.3 typeahead.3 \
	curs_inopts.3 wtimeout.3 \
	curs_insch.3 insch.3 \
	curs_insch.3 mvinsch.3 \
	curs_insch.3 mvwinsch.3 \
	curs_insch.3 winsch.3 \
	curs_insstr.3 insnstr.3 \
	curs_insstr.3 insstr.3 \
	curs_insstr.3 mvinsnstr.3 \
	curs_insstr.3 mvinsstr.3 \
	curs_insstr.3 mvwinsnstr.3 \
	curs_insstr.3 mvwinsstr.3 \
	curs_insstr.3 winsnstr.3 \
	curs_insstr.3 winsstr.3 \
	curs_instr.3 innstr.3 \
	curs_instr.3 instr.3 \
	curs_instr.3 mvinnstr.3 \
	curs_instr.3 mvinstr.3 \
	curs_instr.3 mvwinnstr.3 \
	curs_instr.3 mvwinstr.3 \
	curs_instr.3 winnstr.3 \
	curs_instr.3 winstr.3 \
	curs_kernel.3 curs_set.3 \
	curs_kernel.3 def_prog_mode.3 \
	curs_kernel.3 def_shell_mode.3 \
	curs_kernel.3 getsyx.3 \
	curs_kernel.3 napms.3 \
	curs_kernel.3 reset_prog_mode.3 \
	curs_kernel.3 reset_shell_mode.3 \
	curs_kernel.3 resetty.3 \
	curs_kernel.3 ripoffline.3 \
	curs_kernel.3 savetty.3 \
	curs_kernel.3 setsyx.3 \
	curs_legacy.3 getbegx.3 \
	curs_legacy.3 getbegy.3 \
	curs_legacy.3 getcurx.3 \
	curs_legacy.3 getcury.3 \
	curs_legacy.3 getmaxx.3 \
	curs_legacy.3 getmaxy.3 \
	curs_legacy.3 getparx.3 \
	curs_legacy.3 getpary.3 \
	curs_memleaks.3 _nc_free_and_exit.3 \
	curs_memleaks.3 _nc_freeall.3 \
	curs_mouse.3 getmouse.3 \
	curs_mouse.3 mouse_trafo.3 \
	curs_mouse.3 mouseinterval.3 \
	curs_mouse.3 mousemask.3 \
	curs_mouse.3 ungetmouse.3 \
	curs_mouse.3 wenclose.3 \
	curs_mouse.3 wmouse_trafo.3 \
	curs_move.3 move.3 \
	curs_move.3 wmove.3 \
	curs_opaque.3 is_cleared.3 \
	curs_opaque.3 is_idcok.3 \
	curs_opaque.3 is_idlok.3 \
	curs_opaque.3 is_immedok.3 \
	curs_opaque.3 is_keypad.3 \
	curs_opaque.3 is_leaveok.3 \
	curs_opaque.3 is_nodelay.3 \
	curs_opaque.3 is_notimeout.3 \
	curs_opaque.3 is_scrollok.3 \
	curs_opaque.3 is_syncok.3 \
	curs_opaque.3 is_timeout.3 \
	curs_opaque.3 wgetparent.3 \
	curs_opaque.3 wgetscrreg.3 \
	curs_outopts.3 clearok.3 \
	curs_outopts.3 idcok.3 \
	curs_outopts.3 idlok.3 \
	curs_outopts.3 immedok.3 \
	curs_outopts.3 leaveok.3 \
	curs_outopts.3 nl.3 \
	curs_outopts.3 nonl.3 \
	curs_outopts.3 scrollok.3 \
	curs_outopts.3 setscrreg.3 \
	curs_outopts.3 wsetscrreg.3 \
	curs_overlay.3 copywin.3 \
	curs_overlay.3 overlay.3 \
	curs_overlay.3 overwrite.3 \
	curs_pad.3 newpad.3 \
	curs_pad.3 pecho_wchar.3 \
	curs_pad.3 pechochar.3 \
	curs_pad.3 pnoutrefresh.3 \
	curs_pad.3 prefresh.3 \
	curs_pad.3 subpad.3 \
	curs_print.3 mcprint.3 \
	curs_refresh.3 doupdate.3 \
	curs_refresh.3 redrawwin.3 \
	curs_refresh.3 refresh.3 \
	curs_refresh.3 wnoutrefresh.3 \
	curs_refresh.3 wredrawln.3 \
	curs_refresh.3 wrefresh.3 \
	curs_scr_dump.3 scr_dump.3 \
	curs_scr_dump.3 scr_init.3 \
	curs_scr_dump.3 scr_restore.3 \
	curs_scr_dump.3 scr_set.3 \
	curs_scroll.3 scrl.3 \
	curs_scroll.3 scroll.3 \
	curs_scroll.3 wscrl.3 \
	curs_slk.3 slk_attr.3 \
	curs_slk.3 slk_attr_off.3 \
	curs_slk.3 slk_attr_on.3 \
	curs_slk.3 slk_attr_set.3 \
	curs_slk.3 slk_attroff.3 \
	curs_slk.3 slk_attron.3 \
	curs_slk.3 slk_attrset.3 \
	curs_slk.3 slk_clear.3 \
	curs_slk.3 slk_color.3 \
	curs_slk.3 slk_init.3 \
	curs_slk.3 slk_label.3 \
	curs_slk.3 slk_noutrefresh.3 \
	curs_slk.3 slk_refresh.3 \
	curs_slk.3 slk_restore.3 \
	curs_slk.3 slk_set.3 \
	curs_slk.3 slk_touch.3 \
	curs_termattrs.3 baudrate.3 \
	curs_termattrs.3 erasechar.3 \
	curs_termattrs.3 erasewchar.3 \
	curs_termattrs.3 has_ic.3 \
	curs_termattrs.3 has_il.3 \
	curs_termattrs.3 killchar.3 \
	curs_termattrs.3 killwchar.3 \
	curs_termattrs.3 longname.3 \
	curs_termattrs.3 term_attrs.3 \
	curs_termattrs.3 termattrs.3 \
	curs_termattrs.3 termname.3 \
	curs_termcap.3 termcap.3 \
	curs_termcap.3 tgetent.3 \
	curs_termcap.3 tgetflag.3 \
	curs_termcap.3 tgetnum.3 \
	curs_termcap.3 tgetstr.3 \
	curs_termcap.3 tgoto.3 \
	curs_termcap.3 tputs.3 \
	curs_terminfo.3 del_curterm.3 \
	curs_terminfo.3 mvcur.3 \
	curs_terminfo.3 putp.3 \
	curs_terminfo.3 restartterm.3 \
	curs_terminfo.3 set_curterm.3 \
	curs_terminfo.3 setterm.3 \
	curs_terminfo.3 setupterm.3 \
	curs_terminfo.3 tigetflag.3 \
	curs_terminfo.3 tigetnum.3 \
	curs_terminfo.3 tigetstr.3 \
	curs_terminfo.3 tparm.3 \
	curs_terminfo.3 vid_attr.3 \
	curs_terminfo.3 vid_puts.3 \
	curs_terminfo.3 vidattr.3 \
	curs_terminfo.3 vidputs.3 \
	curs_threads.3 set_escdelay.3 \
	curs_threads.3 set_tabsize.3 \
	curs_threads.3 use_screen.3 \
	curs_threads.3 use_window.3 \
	curs_touch.3 is_linetouched.3 \
	curs_touch.3 is_wintouched.3 \
	curs_touch.3 touchline.3 \
	curs_touch.3 touchwin.3 \
	curs_touch.3 untouchwin.3 \
	curs_touch.3 wtouchln.3 \
	curs_trace.3 _nc_tracebits.3 \
	curs_trace.3 _traceattr.3 \
	curs_trace.3 _traceattr2.3 \
	curs_trace.3 _tracechar.3 \
	curs_trace.3 _tracechtype.3 \
	curs_trace.3 _tracechtype2.3 \
	curs_trace.3 _tracedump.3 \
	curs_trace.3 _tracef.3 \
	curs_trace.3 _tracemouse.3 \
	curs_trace.3 trace.3 \
	curs_util.3 delay_output.3 \
	curs_util.3 filter.3 \
	curs_util.3 flushinp.3 \
	curs_util.3 getwin.3 \
	curs_util.3 key_name.3 \
	curs_util.3 keyname.3 \
	curs_util.3 nofilter.3 \
	curs_util.3 putwin.3 \
	curs_util.3 unctrl.3 \
	curs_util.3 use_env.3 \
	curs_util.3 wunctrl.3 \
	curs_window.3 delwin.3 \
	curs_window.3 derwin.3 \
	curs_window.3 dupwin.3 \
	curs_window.3 mvderwin.3 \
	curs_window.3 mvwin.3 \
	curs_window.3 newwin.3 \
	curs_window.3 subwin.3 \
	curs_window.3 syncok.3 \
	curs_window.3 wcursyncup.3 \
	curs_window.3 wsyncdown.3 \
	curs_window.3 wsyncup.3 \
	default_colors.3 assume_default_colors.3 \
	default_colors.3 use_default_colors.3 \
	legacy_coding.3 use_legacy_coding.3 \
	resizeterm.3 is_term_resized.3 \
	resizeterm.3 resize_term.3

.if defined(ENABLE_WIDEC)
MLINKS+=curs_add_wch.3 add_wch.3 \
	curs_add_wch.3 echo_wchar.3 \
	curs_add_wch.3 mvadd_wch.3 \
	curs_add_wch.3 mvwadd_wch.3 \
	curs_add_wch.3 wadd_wch.3 \
	curs_add_wch.3 wecho_wchar.3 \
	curs_add_wchstr.3 add_wchnstr.3 \
	curs_add_wchstr.3 add_wchstr.3 \
	curs_add_wchstr.3 mvadd_wchnstr.3 \
	curs_add_wchstr.3 mvadd_wchstr.3 \
	curs_add_wchstr.3 mvwadd_wchnstr.3 \
	curs_add_wchstr.3 mvwadd_wchstr.3 \
	curs_add_wchstr.3 wadd_wchnstr.3 \
	curs_add_wchstr.3 wadd_wchstr.3 \
	curs_addwstr.3 addnwstr.3 \
	curs_addwstr.3 addwstr.3 \
	curs_addwstr.3 mvaddnwstr.3 \
	curs_addwstr.3 mvaddwstr.3 \
	curs_addwstr.3 mvwaddnwstr.3 \
	curs_addwstr.3 mvwaddwstr.3 \
	curs_addwstr.3 waddnwstr.3 \
	curs_addwstr.3 waddwstr.3 \
	curs_get_wch.3 get_wch.3 \
	curs_get_wch.3 mvget_wch.3 \
	curs_get_wch.3 mvwget_wch.3 \
	curs_get_wch.3 unget_wch.3 \
	curs_get_wch.3 wget_wch.3 \
	curs_get_wstr.3 get_wstr.3 \
	curs_get_wstr.3 getn_wstr.3 \
	curs_get_wstr.3 mvget_wstr.3 \
	curs_get_wstr.3 mvgetn_wstr.3 \
	curs_get_wstr.3 mvwget_wstr.3 \
	curs_get_wstr.3 mvwgetn_wstr.3 \
	curs_get_wstr.3 wget_wstr.3 \
	curs_get_wstr.3 wgetn_wstr.3 \
	curs_in_wch.3 in_wch.3 \
	curs_in_wch.3 mvin_wch.3 \
	curs_in_wch.3 mvwin_wch.3 \
	curs_in_wch.3 win_wch.3 \
	curs_in_wchstr.3 in_wchnstr.3 \
	curs_in_wchstr.3 in_wchstr.3 \
	curs_in_wchstr.3 mvin_wchnstr.3 \
	curs_in_wchstr.3 mvin_wchstr.3 \
	curs_in_wchstr.3 mvwin_wchnstr.3 \
	curs_in_wchstr.3 mvwin_wchstr.3 \
	curs_in_wchstr.3 win_wchnstr.3 \
	curs_in_wchstr.3 win_wchstr.3 \
	curs_ins_wch.3 ins_wch.3 \
	curs_ins_wch.3 mvins_wch.3 \
	curs_ins_wch.3 mvwins_wch.3 \
	curs_ins_wch.3 wins_wch.3 \
	curs_ins_wstr.3 ins_nwstr.3 \
	curs_ins_wstr.3 ins_wstr.3 \
	curs_ins_wstr.3 mvins_nwstr.3 \
	curs_ins_wstr.3 mvins_wstr.3 \
	curs_ins_wstr.3 mvwins_nwstr.3 \
	curs_ins_wstr.3 mvwins_wstr.3 \
	curs_ins_wstr.3 wins_nwstr.3 \
	curs_ins_wstr.3 wins_wstr.3 \
	curs_inwstr.3 innwstr.3 \
	curs_inwstr.3 inwstr.3 \
	curs_inwstr.3 mvinnwstr.3 \
	curs_inwstr.3 mvinwstr.3 \
	curs_inwstr.3 mvwinnwstr.3 \
	curs_inwstr.3 mvwinwstr.3 \
	curs_inwstr.3 winnwstr.3 \
	curs_inwstr.3 winwstr.3 \
	curs_printw.3 mvprintw.3 \
	curs_printw.3 mvwprintw.3 \
	curs_printw.3 printw.3 \
	curs_printw.3 vw_printw.3 \
	curs_printw.3 vwprintw.3 \
	curs_printw.3 wprintw.3 \
	curs_scanw.3 mvscanw.3 \
	curs_scanw.3 mvwscanw.3 \
	curs_scanw.3 scanw.3 \
	curs_scanw.3 vw_scanw.3 \
	curs_scanw.3 vwscanw.3 \
	curs_scanw.3 wscanw.3
.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.99
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/ncurses/ncurses/Makefile 195767 2009-07-19 17:25:24Z kensmith $
d5 4
d311 1
d314 1
d466 1
a526 1
.if defined(ENABLE_WIDEC)
@


1.98
log
@SVN rev 195767 on 2009-07-19 17:25:24Z by kensmith

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE.  Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by:    kib
Approved by:    re (rwatson)
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.98.4.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.98.4.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/ncurses/Makefile 195767 2009-07-19 17:25:24Z kensmith $
@


1.98.4.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/ncurses/Makefile 248358 2013-03-15 22:31:51Z brooks $
a4 4
.if !defined(ENABLE_WIDEC)
NO_MAN=
.endif

a306 1
.if defined(ENABLE_WIDEC)
a308 1
.endif
a459 1
.if defined(ENABLE_WIDEC)
d520 1
@


1.98.4.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.98.4.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/lib/ncurses/ncurses/Makefile 195767 2009-07-19 17:25:24Z kensmith $
@


1.98.4.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.98.4.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/lib/ncurses/ncurses/Makefile 195767 2009-07-19 17:25:24Z kensmith $
@


1.98.2.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.98.2.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/ncurses/Makefile 195767 2009-07-19 17:25:24Z kensmith $
@


1.98.2.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.98.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/lib/ncurses/ncurses/Makefile 195767 2009-07-19 17:25:24Z kensmith $
@


1.98.2.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.98.2.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.98.2.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.97
log
@SVN rev 184989 on 2008-11-15 09:23:48Z by rafan

- Update ncurses to 5.7-20081102 (5.7 release) and build glue
- This also removes $FreeBSD$ from two now unmodifed source files
  ncurses/tinfo/lib_raw.c and ncurses/tinfo/lib_baudrate.c

MFC after:	2 months (after 7.1 and 6.4 are released)
@
text
@d10 1
a10 1
SHLIB_MAJOR=	7
@


1.96
log
@- Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove
  the one links to curs_terminfo.

Submitted by:	David Naylor <blackdragon at highveldmail.co.za>
MFC after:	3 days
@
text
@d490 1
d745 2
@


1.95
log
@- Update build glues for ncurses 5.6 snapshot 20080209
- While I'm here, sort macro defines in ncurses_cfg.h
@
text
@a843 1
	curs_terminfo.3 tputs.3 \
@


1.94
log
@- Update build glue for 5.6-20071222
@
text
@d504 1
d849 4
@


1.93
log
@- Convert NO_INSTALLLIB option to a new syntax: makefiles should
  test MK_INSTALLLIB, users can set WITHOUT_INSTALLLIB.  The old
  NO_INSTALLLIB is still supported as several makefiles set it.

- While here, fix an install when instructed not to install libs
  (usr.bin/lex/lib/Makefile).

PR:		bin/114200
Submitted by:	Henrik Brix Andersen
@
text
@d21 1
d25 1
d35 1
d38 1
d46 2
d58 1
d184 1
d242 1
a272 4
# Components of names.c and codes.c
NAMESRCS=	boolnames boolfnames numnames numfnames strnames strfnames
CODESRCS=	boolcodes numcodes strcodes

d274 1
a274 2
		make_keys MKterm.h.awk comp_captab.c curses.head \
		namehdr nameftr codeftr ${NAMESRCS} ${CODESRCS}
d316 1
a316 4
namehdr nameftr codeftr ${NAMESRCS} ${CODESRCS}: MKnames.awk Caps
	${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKnames.awk ${NCURSES_DIR}/include/Caps

.ORDER: namehdr ${NAMESRCS} ${CODESRCS} nameftr codeftr names.c codes.c
d318 2
a319 2
names.c: namehdr ${NAMESRCS} nameftr
	cat namehdr ${NAMESRCS} nameftr > $@@
d321 2
a322 2
codes.c: namehdr ${CODESRCS} codeftr
	cat namehdr ${CODESRCS} codeftr > $@@
d329 1
a329 1
	${AWK} -f ${NCURSES_DIR}/ncurses/base/MKkeyname.awk keys.list > lib_keyname.c
d332 1
a332 1
	echo | ${AWK} -f ${NCURSES_DIR}/ncurses/base/MKunctrl.awk > unctrl.c
d334 3
a336 2
comp_captab.c: MKcaptab.awk Caps make_hash
	sh ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.awk "${AWK}" \
d393 1
d402 2
a403 1
	    -e "/@@HAVE_TCGETATTR@@/s%%${HAVE_TCGETATTR}%"
d426 2
d429 1
d439 2
d489 1
d492 1
d735 8
d752 13
@


1.92
log
@- Correctly substitute variables like @@NCURSES_MAJOR@@ in manual pages

PR:		doc/114711
Submitted by:	Yuri Pankov <yuri at darklight.org.ru>
Approved by:	re (bmah)
MFC after:	3 days
@
text
@d283 1
a283 1
.if !defined(NO_INSTALLLIB)
@


1.92.2.1
log
@MFC: Added MK_INSTALLLIB support and fixed usr.bin/lex/lib/Makefile
in case of installing with WITHOUT_INSTALLLIB (e.g. in nanobsd(8)).

PR:		bin/114200
Approved by:	re (kensmith)
@
text
@d283 1
a283 1
.if ${MK_INSTALLLIB} != "no"
@


1.92.2.2
log
@MFC rev 1.96

- Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove
  the one links to curs_terminfo.

Submitted by:   David Naylor <blackdragon at highveldmail.co.za>
@
text
@d811 1
@


1.92.2.3
log
@SVN rev 179539 on 2008-06-04 07:43:58Z by rafan

MFC ncurses 5.6-20080503 build glue

 rev 174999, 176190, 178869
@
text
@a20 1
NCURSES_OK_WCHAR_T=	1
a23 1
NCURSES_OK_WCHAR_T=
a32 1
NCURSES_OPAQUE=		0
a34 1
NCURSES_SIZE_T=		short
a41 2
ENABLE_OPAQUE=		NCURSES_OPAQUE
ENABLE_REENTRANT=	0
a51 1
USE_BIG_STRINGS=	1
a176 1
	entries.c \
a233 1
	lib_key_name.c \
d264 4
d269 2
a270 1
		make_keys MKterm.h.awk comp_captab.c curses.head
d312 4
a315 1
.ORDER: names.c codes.c
d317 2
a318 2
names.c: MKnames.awk
	${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKnames.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > names.c
d320 2
a321 2
codes.c: MKcodes.awk
	${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKcodes.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > codes.c
d328 1
a328 1
	${AWK} -f ${NCURSES_DIR}/ncurses/base/MKkeyname.awk bigstrings=${USE_BIG_STRINGS} keys.list > lib_keyname.c
d331 1
a331 1
	echo | ${AWK} -f ${NCURSES_DIR}/ncurses/base/MKunctrl.awk bigstrings=${USE_BIG_STRINGS} > unctrl.c
d333 2
a334 3
comp_captab.c: MKcaptab.sh MKcaptab.awk Caps make_hash
	sh ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.sh "${AWK}" \
	    ${USE_BIG_STRINGS} ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.awk \
a390 1
	    -e "/@@BROKEN_LINKER@@/s%%${BROKEN_LINKER}%" \
d399 1
a399 2
	    -e "/@@HAVE_TCGETATTR@@/s%%${HAVE_TCGETATTR}%" \
	    -e "s%@@cf_cv_enable_reentrant@@%${ENABLE_REENTRANT}%g"
a421 2
	    -e "/@@NCURSES_OK_WCHAR_T@@/s%%${NCURSES_OK_WCHAR_T}%" \
	    -e "/@@NCURSES_OPAQUE@@/s%%${NCURSES_OPAQUE}%" \
a422 1
	    -e "/@@NCURSES_SIZE_T@@/s%%${NCURSES_SIZE_T}%" \
a431 2
	    -e "s%@@cf_cv_enable_opaque@@%${ENABLE_OPAQUE}%g" \
	    -e "s%@@cf_cv_enable_reentrant@@%${ENABLE_REENTRANT}%g" \
a479 1
	curs_legacy.3 \
a481 1
	curs_opaque.3 \
a492 1
	curs_threads.3 \
a723 8
	curs_legacy.3 getbegx.3 \
	curs_legacy.3 getbegy.3 \
	curs_legacy.3 getcurx.3 \
	curs_legacy.3 getcury.3 \
	curs_legacy.3 getmaxx.3 \
	curs_legacy.3 getmaxy.3 \
	curs_legacy.3 getparx.3 \
	curs_legacy.3 getpary.3 \
a732 13
	curs_opaque.3 is_cleared.3 \
	curs_opaque.3 is_idcok.3 \
	curs_opaque.3 is_idlok.3 \
	curs_opaque.3 is_immedok.3 \
	curs_opaque.3 is_keypad.3 \
	curs_opaque.3 is_leaveok.3 \
	curs_opaque.3 is_nodelay.3 \
	curs_opaque.3 is_notimeout.3 \
	curs_opaque.3 is_scrollok.3 \
	curs_opaque.3 is_syncok.3 \
	curs_opaque.3 is_timeout.3 \
	curs_opaque.3 wgetparent.3 \
	curs_opaque.3 wgetscrreg.3 \
a814 4
	curs_threads.3 set_escdelay.3 \
	curs_threads.3 set_tabsize.3 \
	curs_threads.3 use_screen.3 \
	curs_threads.3 use_window.3 \
@


1.92.2.4
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/lib/ncurses/ncurses/Makefile 179539 2008-06-04 07:43:58Z rafan $
@


1.92.2.3.8.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.92.2.3.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/lib/ncurses/ncurses/Makefile 179539 2008-06-04 07:43:58Z rafan $
@


1.92.2.3.6.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.92.2.3.4.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.92.2.3.2.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.91
log
@- Bump ncurses share library version for the coming RELENG_7

Pointed out by:	     jhb
Approved by:	     delphij (mentor)
@
text
@a449 2
MANFILTER=      sed -e 's%@@TERMINFO@@%${TERMINFODIR}/terminfo%g' \
		    -e 's%@@NCURSES_OSPEED@@%${NCURSES_OSPEED}%g'
@


1.90
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
@d10 1
a10 1
SHLIB_MAJOR=	6
@


1.89
log
@Add a missing backslash and unbreak the build.
@
text
@d277 2
d281 1
@


1.88
log
@- Add missing man page links
- Remove link for define_key.3 which is a real man page
- Some whitespace nits

Approved by:	delphij (mentor)
@
text
@d830 1
a830 1
	curs_trace.3 trace.3
@


1.87
log
@Enable ncurses wide character support

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

d543 1
a543 1
	curs_addstr.3 mvaddnstr.3\
d581 6
d821 10
a854 1
	key_defined.3 define_key.3 \
@


1.87.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
@a283 1
SYMLINKS+=	libncurses${LIB_SUFFIX}.a ${LIBDIR}/libmytinfo${LIB_SUFFIX}.a
a290 1
SYMLINKS+=	libncurses${LIB_SUFFIX}.so ${LIBDIR}/libmytinfo${LIB_SUFFIX}.so
d293 1
a293 1
.if !defined(NO_PROFILE)
a296 1
SYMLINKS+=	libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libmytinfo${LIB_SUFFIX}_p.a
d303 1
a303 1
.if !defined(NO_HTML)
d927 1
@


1.87.2.2
log
@MFC: rev 1.88

- Add missing man page links
- Remove link for define_key.3 which is a real man page
- Some whitespace nits

Approved by:	delphij (mentor)
@
text
@d529 1
d547 1
a547 1
	curs_addstr.3 mvaddnstr.3 \
a584 6
	curs_bkgrnd.3 bkgrnd.3 \
	curs_bkgrnd.3 bkgrndset.3 \
	curs_bkgrnd.3 getbkgrnd.3 \
	curs_bkgrnd.3 wbkgrnd.3 \
	curs_bkgrnd.3 wbkgrndset.3 \
	curs_bkgrnd.3 wgetbkgrnd.3 \
a818 10
	curs_trace.3 _nc_tracebits.3 \
	curs_trace.3 _traceattr.3 \
	curs_trace.3 _traceattr2.3 \
	curs_trace.3 _tracechar.3 \
	curs_trace.3 _tracechtype.3 \
	curs_trace.3 _tracechtype2.3 \
	curs_trace.3 _tracedump.3 \
	curs_trace.3 _tracef.3 \
	curs_trace.3 _tracemouse.3 \
	curs_trace.3 trace.3 \
d843 1
@


1.87.2.3
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
@a276 2

.if defined(ENABLE_WIDEC)
a278 1
.endif
@


1.87.2.4
log
@MFC ncurse manual page changes

  - Correctly substitute variables like @@NCURSES_MAJOR@@ in manual pages

PR:		doc/114711
Submitted by:	Yuri Pankov <yuri at darklight.org.ru>
@
text
@d453 2
@


1.87.2.5
log
@MFC rev 1.96

- Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove
  the one links to curs_terminfo.

Submitted by:   David Naylor <blackdragon at highveldmail.co.za>
@
text
@d814 1
@


1.87.2.6
log
@SVN rev 180142 on 2008-07-01 09:28:27Z by rafan

MFC ncurses 5.6-20080503

 rev 174993, 176187, 178866
@
text
@a20 1
NCURSES_OK_WCHAR_T=	1
a23 1
NCURSES_OK_WCHAR_T=
a32 1
NCURSES_OPAQUE=		0
a34 1
NCURSES_SIZE_T=		short
a41 2
ENABLE_OPAQUE=		NCURSES_OPAQUE
ENABLE_REENTRANT=	0
a51 1
USE_BIG_STRINGS=	1
a176 1
	entries.c \
a233 1
	lib_key_name.c \
d264 4
d269 2
a270 1
		make_keys MKterm.h.awk comp_captab.c curses.head
d315 4
a318 1
.ORDER: names.c codes.c
d320 2
a321 2
names.c: MKnames.awk
	${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKnames.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > names.c
d323 2
a324 2
codes.c: MKcodes.awk
	${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKcodes.awk bigstrings=${USE_BIG_STRINGS} ${NCURSES_DIR}/include/Caps > codes.c
d331 1
a331 1
	${AWK} -f ${NCURSES_DIR}/ncurses/base/MKkeyname.awk bigstrings=${USE_BIG_STRINGS} keys.list > lib_keyname.c
d334 1
a334 1
	echo | ${AWK} -f ${NCURSES_DIR}/ncurses/base/MKunctrl.awk bigstrings=${USE_BIG_STRINGS} > unctrl.c
d336 2
a337 3
comp_captab.c: MKcaptab.sh MKcaptab.awk Caps make_hash
	sh ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.sh "${AWK}" \
	    ${USE_BIG_STRINGS} ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.awk \
a393 1
	    -e "/@@BROKEN_LINKER@@/s%%${BROKEN_LINKER}%" \
d402 1
a402 2
	    -e "/@@HAVE_TCGETATTR@@/s%%${HAVE_TCGETATTR}%" \
	    -e "s%@@cf_cv_enable_reentrant@@%${ENABLE_REENTRANT}%g"
a424 2
	    -e "/@@NCURSES_OK_WCHAR_T@@/s%%${NCURSES_OK_WCHAR_T}%" \
	    -e "/@@NCURSES_OPAQUE@@/s%%${NCURSES_OPAQUE}%" \
a425 1
	    -e "/@@NCURSES_SIZE_T@@/s%%${NCURSES_SIZE_T}%" \
a434 2
	    -e "s%@@cf_cv_enable_opaque@@%${ENABLE_OPAQUE}%g" \
	    -e "s%@@cf_cv_enable_reentrant@@%${ENABLE_REENTRANT}%g" \
a482 1
	curs_legacy.3 \
a484 1
	curs_opaque.3 \
a495 1
	curs_threads.3 \
a726 8
	curs_legacy.3 getbegx.3 \
	curs_legacy.3 getbegy.3 \
	curs_legacy.3 getcurx.3 \
	curs_legacy.3 getcury.3 \
	curs_legacy.3 getmaxx.3 \
	curs_legacy.3 getmaxy.3 \
	curs_legacy.3 getparx.3 \
	curs_legacy.3 getpary.3 \
a735 13
	curs_opaque.3 is_cleared.3 \
	curs_opaque.3 is_idcok.3 \
	curs_opaque.3 is_idlok.3 \
	curs_opaque.3 is_immedok.3 \
	curs_opaque.3 is_keypad.3 \
	curs_opaque.3 is_leaveok.3 \
	curs_opaque.3 is_nodelay.3 \
	curs_opaque.3 is_notimeout.3 \
	curs_opaque.3 is_scrollok.3 \
	curs_opaque.3 is_syncok.3 \
	curs_opaque.3 is_timeout.3 \
	curs_opaque.3 wgetparent.3 \
	curs_opaque.3 wgetscrreg.3 \
a817 4
	curs_threads.3 set_escdelay.3 \
	curs_threads.3 set_tabsize.3 \
	curs_threads.3 use_screen.3 \
	curs_threads.3 use_window.3 \
@


1.87.2.7
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/lib/ncurses/ncurses/Makefile 180142 2008-07-01 09:28:27Z rafan $
@


1.87.2.6.2.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.86
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
@d9 1
a9 1
LIB=		ncurses
d19 4
d25 1
d219 24
d281 4
a284 4
SYMLINKS+=	libncurses.a ${LIBDIR}/libcurses.a
SYMLINKS+=	libncurses.a ${LIBDIR}/libtermcap.a
SYMLINKS+=	libncurses.a ${LIBDIR}/libtermlib.a
SYMLINKS+=	libncurses.a ${LIBDIR}/libtinfo.a
d288 4
a291 4
SYMLINKS+=	libncurses.so ${LIBDIR}/libcurses.so
SYMLINKS+=	libncurses.so ${LIBDIR}/libtermcap.so
SYMLINKS+=	libncurses.so ${LIBDIR}/libtermlib.so
SYMLINKS+=	libncurses.so ${LIBDIR}/libtinfo.so
d294 4
a297 4
SYMLINKS+=	libncurses_p.a ${LIBDIR}/libcurses_p.a
SYMLINKS+=	libncurses_p.a ${LIBDIR}/libtermcap_p.a
SYMLINKS+=	libncurses_p.a ${LIBDIR}/libtermlib_p.a
SYMLINKS+=	libncurses_p.a ${LIBDIR}/libtinfo_p.a
d364 3
d506 15
d845 83
@


1.85
log
@Remove old libmytinfo link.

Approved by:	delphij (mentor)
Requested by:	ache
@
text
@d7 1
a7 1
.include	"${.CURDIR}/../config.mk"
d49 194
a244 20
GENSRC=		\
		codes.c \
		expanded.c \
		fallback.c \
		lib_gen.c \
		lib_keyname.c \
		names.c \
		unctrl.c

GENHDR=		\
		curses.h \
		hashsize.h \
		init_keytry.h \
		ncurses_def.h \
		nomacros.h \
		parametrized.h \
		term.h \
		termcap.h \
		unctrl.h

a250 174
# Components of names.c and codes.c
NAMESRC=	boolnames boolfnames numnames numfnames strnames strfnames
CODESRC=	boolcodes numcodes strcodes

SRCS=		${GENHDR} ${GENSRC}

.PATH:		${NCURSES_DIR}/ncurses/base
SRCS+=		\
		define_key.c \
		key_defined.c \
		keybound.c \
		keyok.c \
		legacy_coding.c \
		lib_addch.c \
		lib_addstr.c \
		lib_beep.c \
		lib_bkgd.c \
		lib_box.c \
		lib_chgat.c \
		lib_clear.c \
		lib_clearok.c \
		lib_clrbot.c \
		lib_clreol.c \
		lib_color.c \
		lib_colorset.c \
		lib_delch.c \
		lib_delwin.c \
		lib_dft_fgbg.c \
		lib_echo.c \
		lib_endwin.c \
		lib_erase.c \
		lib_flash.c \
		lib_freeall.c \
		lib_getch.c \
		lib_getstr.c \
		lib_hline.c \
		lib_immedok.c \
		lib_inchstr.c \
		lib_initscr.c \
		lib_insch.c \
		lib_insdel.c \
		lib_insnstr.c \
		lib_instr.c \
		lib_isendwin.c \
		lib_leaveok.c \
		lib_mouse.c \
		lib_move.c \
		lib_mvwin.c \
		lib_newterm.c \
		lib_newwin.c \
		lib_nl.c \
		lib_overlay.c \
		lib_pad.c \
		lib_printw.c \
		lib_redrawln.c \
		lib_refresh.c \
		lib_restart.c \
		lib_scanw.c \
		lib_screen.c \
		lib_scroll.c \
		lib_scrollok.c \
		lib_scrreg.c \
		lib_set_term.c \
		lib_slk.c \
		lib_slkatr_set.c \
		lib_slkatrof.c \
		lib_slkatron.c \
		lib_slkatrset.c \
		lib_slkattr.c \
		lib_slkclear.c \
		lib_slkcolor.c \
		lib_slkinit.c \
		lib_slklab.c \
		lib_slkrefr.c \
		lib_slkset.c \
		lib_slktouch.c \
		lib_touch.c \
		lib_ungetch.c \
		lib_vline.c \
		lib_wattroff.c \
		lib_wattron.c \
		lib_winch.c \
		lib_window.c \
		memmove.c \
		nc_panel.c \
		resizeterm.c \
		safe_sprintf.c \
		tries.c \
		version.c \
		vsscanf.c \
		wresize.c

.PATH:		${NCURSES_DIR}/ncurses/tinfo
SRCS+=		\
		access.c \
		add_tries.c \
		alloc_entry.c \
		alloc_ttype.c \
		captoinfo.c \
		comp_captab.c \
		comp_error.c \
		comp_expand.c \
		comp_hash.c \
		comp_parse.c \
		comp_scan.c \
		db_iterator.c \
		doalloc.c \
		free_ttype.c \
		getenv_num.c \
		hashed_db.c \
		home_terminfo.c \
		init_keytry.c \
		lib_acs.c \
		lib_baudrate.c \
		lib_cur_term.c \
		lib_data.c \
		lib_has_cap.c \
		lib_kernel.c \
		lib_longname.c \
		lib_napms.c \
		lib_options.c \
		lib_print.c \
		lib_raw.c \
		lib_setup.c \
		lib_termcap.c \
		lib_termname.c \
		lib_tgoto.c \
		lib_ti.c \
		lib_tparm.c \
		lib_tputs.c \
		lib_ttyflags.c \
		name_match.c \
		parse_entry.c \
		read_entry.c \
		setbuf.c \
		strings.c \
		trim_sgr0.c \
		write_entry.c

.PATH:		${NCURSES_DIR}/ncurses/tty
SRCS+=		\
		hardscroll.c \
		hashmap.c \
		lib_mvcur.c \
		lib_tstp.c \
		lib_twait.c \
		lib_vidattr.c \
		tty_update.c

.PATH:		${NCURSES_DIR}/ncurses/trace
SRCS+=		\
		lib_trace.c \
		visbuf.c

# Currently unused, for debugging libncurses itself.
DBGSRCS=	\
		lib_traceatr.c \
		lib_tracebits.c \
		lib_tracechr.c \
		lib_tracedmp.c \
		lib_tracemse.c \
		trace_buf.c \
		trace_tries.c \
		trace_xnames.c \
		varargs.c

# From our old libtermcap.
# Used instead of the hideous read_termcap.c abomination.
SRCS+=		termcap.c

CLEANFILES+=	${GENSRC} ${GENHDR} keys.list make_hash term.h.new \
		make_keys MKterm.h.awk comp_captab.c curses.head \
		namehdr nameftr codeftr ${NAMESRC} ${CODESRC}

d271 1
a271 1
DOCSDIR=	/usr/share/doc/ncurses
d275 1
a275 1
.PATH:		${NCURSES_DIR}/doc/html
d280 1
a280 1
namehdr nameftr codeftr ${NAMESRC} ${CODESRC}: MKnames.awk Caps
d283 1
a283 1
.ORDER: namehdr ${NAMESRC} ${CODESRC} nameftr codeftr names.c codes.c
d285 2
a286 2
names.c:	 namehdr ${NAMESRC} nameftr
	cat namehdr ${NAMESRC} nameftr > $@@
d288 2
a289 2
codes.c:	 namehdr ${CODESRC} codeftr
	cat namehdr ${CODESRC} codeftr > $@@
d291 1
a291 1
lib_gen.c:	MKlib_gen.sh curses.h
d295 1
a295 1
lib_keyname.c:	keys.list MKkeyname.awk
d298 1
a298 1
unctrl.c:	MKunctrl.awk
d301 1
a301 1
comp_captab.c:	MKcaptab.awk Caps make_hash
d305 1
a305 1
expanded.c:	MKexpanded.sh
d308 1
a308 1
fallback.c:	MKfallback.sh
d312 1
a312 1
nomacros.h:	MKlib_gen.sh curses.h
d316 1
a316 1
init_keytry.h:	keys.list make_keys
d319 1
a319 1
hashsize.h:	MKhashsize.sh Caps
d322 1
a322 1
parametrized.h:	MKparametrized.sh Caps
d326 1
a326 1
term.h:		MKterm.h.awk edit_cfg.sh Caps
d331 1
a331 1
curses.h:	curses.head MKkey_defs.sh Caps
d339 1
a339 1
keys.list:	MKkeys_list.sh Caps
d346 1
a346 1
make_keys:	make_keys.c names.c ncurses_def.h ${HEADERS}
d349 1
a349 1
make_hash:	comp_hash.c hashsize.h ncurses_def.h ${HEADERS}
d354 1
a354 1
MKterm.h.awk:	MKterm.h.awk.in
d366 1
a366 1
termcap.h:	termcap.h.in
d373 1
a373 1
curses.head:	curses.h.in
d404 1
a404 1
unctrl.h:	unctrl.h.in
d410 1
a410 1
terminfo.5:	MKterminfo.sh terminfo.head Caps
d418 379
a796 384
.PATH:		${NCURSES_DIR}/man
MANx=		\
		curs_addch.3x \
		curs_addchstr.3x \
		curs_addstr.3x \
		curs_attr.3x \
		curs_beep.3x \
		curs_bkgd.3x \
		curs_bkgrnd.3x \
		curs_border.3x \
		curs_border_set.3x \
		curs_clear.3x \
		curs_color.3x \
		curs_delch.3x \
		curs_deleteln.3x \
		curs_extend.3x \
		curs_getcchar.3x \
		curs_getch.3x \
		curs_getstr.3x \
		curs_getyx.3x \
		curs_inch.3x \
		curs_inchstr.3x \
		curs_initscr.3x \
		curs_inopts.3x \
		curs_insch.3x \
		curs_insstr.3x \
		curs_instr.3x \
		curs_inwstr.3x \
		curs_kernel.3x \
		curs_mouse.3x \
		curs_move.3x \
		curs_outopts.3x \
		curs_overlay.3x \
		curs_pad.3x \
		curs_print.3x \
		curs_refresh.3x \
		curs_scr_dump.3x \
		curs_scroll.3x \
		curs_slk.3x \
		curs_termattrs.3x \
		curs_termcap.3x \
		curs_terminfo.3x \
		curs_touch.3x \
		curs_trace.3x \
		curs_util.3x \
		curs_window.3x \
		default_colors.3x \
		define_key.3x \
		key_defined.3x \
		keybound.3x \
		keyok.3x \
		legacy_coding.3x \
		ncurses.3x \
		resizeterm.3x \
		wresize.3x

MAN=		term.5 terminfo.5
MAN+=		term.7

# 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=		ncurses.3 curses.3 \
		curs_addch.3 addch.3 \
		curs_addch.3 echochar.3 \
		curs_addch.3 mvaddch.3 \
		curs_addch.3 mvwaddch.3 \
		curs_addch.3 waddch.3 \
		curs_addch.3 wechochar.3 \
		curs_addchstr.3 addchnstr.3 \
		curs_addchstr.3 addchstr.3 \
		curs_addchstr.3 mvaddchnstr.3 \
		curs_addchstr.3 mvaddchstr.3 \
		curs_addchstr.3 mvwaddchnstr.3 \
		curs_addchstr.3 mvwaddchstr.3 \
		curs_addchstr.3 waddchnstr.3 \
		curs_addchstr.3 waddchstr.3 \
		curs_addstr.3 addnstr.3 \
		curs_addstr.3 addstr.3 \
		curs_addstr.3 mvaddnstr.3\
		curs_addstr.3 mvaddstr.3 \
		curs_addstr.3 mvwaddnstr.3 \
		curs_addstr.3 mvwaddstr.3 \
		curs_addstr.3 waddnstr.3 \
		curs_addstr.3 waddstr.3 \
		curs_attr.3 PAIR_NUMBER.3 \
		curs_attr.3 attr_get.3 \
		curs_attr.3 attr_off.3 \
		curs_attr.3 attr_on.3 \
		curs_attr.3 attr_set.3 \
		curs_attr.3 attroff.3 \
		curs_attr.3 attron.3 \
		curs_attr.3 attrset.3 \
		curs_attr.3 chgat.3 \
		curs_attr.3 color_set.3 \
		curs_attr.3 mvchgat.3 \
		curs_attr.3 mvwchgat.3 \
		curs_attr.3 standend.3 \
		curs_attr.3 standout.3 \
		curs_attr.3 wattr_get.3 \
		curs_attr.3 wattr_off.3 \
		curs_attr.3 wattr_on.3 \
		curs_attr.3 wattr_set.3 \
		curs_attr.3 wattroff.3 \
		curs_attr.3 wattron.3 \
		curs_attr.3 wattrset.3 \
		curs_attr.3 wchgat.3 \
		curs_attr.3 wcolor_set.3 \
		curs_attr.3 wstandend.3 \
		curs_attr.3 wstandout.3 \
		curs_beep.3 beep.3 \
		curs_beep.3 flash.3 \
		curs_bkgd.3 bkgd.3 \
		curs_bkgd.3 bkgdset.3 \
		curs_bkgd.3 getbkgd.3 \
		curs_bkgd.3 wbkgd.3 \
		curs_bkgd.3 wbkgdset.3 \
		curs_border.3 border.3 \
		curs_border.3 box.3 \
		curs_border.3 hline.3 \
		curs_border.3 mvhline.3 \
		curs_border.3 mvvline.3 \
		curs_border.3 mvwhline.3 \
		curs_border.3 mvwvline.3 \
		curs_border.3 vline.3 \
		curs_border.3 wborder.3 \
		curs_border.3 whline.3 \
		curs_border.3 wvline.3 \
		curs_border_set.3 border_set.3 \
		curs_border_set.3 box_set.3 \
		curs_border_set.3 hline_set.3 \
		curs_border_set.3 mvhline_set.3 \
		curs_border_set.3 mvvline_set.3 \
		curs_border_set.3 mvwhline_set.3 \
		curs_border_set.3 mvwvline_set.3 \
		curs_border_set.3 vline_set.3 \
		curs_border_set.3 wborder_set.3 \
		curs_border_set.3 whline_set.3 \
		curs_border_set.3 wvline_set.3 \
		curs_clear.3 clear.3 \
		curs_clear.3 clrtobot.3 \
		curs_clear.3 clrtoeol.3 \
		curs_clear.3 erase.3 \
		curs_clear.3 wclear.3 \
		curs_clear.3 wclrtobot.3 \
		curs_clear.3 wclrtoeol.3 \
		curs_clear.3 werase.3 \
		curs_color.3 COLOR_PAIR.3 \
		curs_color.3 can_change_color.3 \
		curs_color.3 color_content.3 \
		curs_color.3 has_colors.3 \
		curs_color.3 init_color.3 \
		curs_color.3 init_pair.3 \
		curs_color.3 pair_content.3 \
		curs_color.3 start_color.3 \
		curs_delch.3 delch.3 \
		curs_delch.3 mvdelch.3 \
		curs_delch.3 mvwdelch.3 \
		curs_delch.3 wdelch.3 \
		curs_deleteln.3 deleteln.3 \
		curs_deleteln.3 insdelln.3 \
		curs_deleteln.3 insertln.3 \
		curs_deleteln.3 wdeleteln.3 \
		curs_deleteln.3 winsdelln.3 \
		curs_deleteln.3 winsertln.3 \
		curs_extend.3 curses_version.3 \
		curs_extend.3 use_extended_names.3 \
		curs_getcchar.3 getcchar.3 \
		curs_getcchar.3 setcchar.3 \
		curs_getch.3 getch.3 \
		curs_getch.3 has_key.3 \
		curs_getch.3 mvgetch.3 \
		curs_getch.3 mvwgetch.3 \
		curs_getch.3 ungetch.3 \
		curs_getch.3 wgetch.3 \
		curs_getstr.3 getnstr.3 \
		curs_getstr.3 getstr.3 \
		curs_getstr.3 mvgetnstr.3 \
		curs_getstr.3 mvgetstr.3 \
		curs_getstr.3 mvwgetnstr.3 \
		curs_getstr.3 mvwgetstr.3 \
		curs_getstr.3 wgetnstr.3 \
		curs_getstr.3 wgetstr.3 \
		curs_getyx.3 getbegyx.3 \
		curs_getyx.3 getmaxyx.3 \
		curs_getyx.3 getparyx.3 \
		curs_getyx.3 getyx.3 \
		curs_inch.3 inch.3 \
		curs_inch.3 mvinch.3 \
		curs_inch.3 mvwinch.3 \
		curs_inch.3 winch.3 \
		curs_inchstr.3 inchnstr.3 \
		curs_inchstr.3 inchstr.3 \
		curs_inchstr.3 mvinchnstr.3 \
		curs_inchstr.3 mvinchstr.3 \
		curs_inchstr.3 mvwinchnstr.3 \
		curs_inchstr.3 mvwinchstr.3 \
		curs_inchstr.3 winchnstr.3 \
		curs_inchstr.3 winchstr.3 \
		curs_initscr.3 delscreen.3 \
		curs_initscr.3 endwin.3 \
		curs_initscr.3 initscr.3 \
		curs_initscr.3 isendwin.3 \
		curs_initscr.3 newterm.3 \
		curs_initscr.3 set_term.3 \
		curs_inopts.3 cbreak.3 \
		curs_inopts.3 echo.3 \
		curs_inopts.3 halfdelay.3 \
		curs_inopts.3 intrflush.3 \
		curs_inopts.3 keypad.3 \
		curs_inopts.3 meta.3 \
		curs_inopts.3 nocbreak.3 \
		curs_inopts.3 nodelay.3 \
		curs_inopts.3 noecho.3 \
		curs_inopts.3 noqiflush.3 \
		curs_inopts.3 noraw.3 \
		curs_inopts.3 notimeout.3 \
		curs_inopts.3 qiflush.3 \
		curs_inopts.3 raw.3 \
		curs_inopts.3 timeout.3 \
		curs_inopts.3 typeahead.3 \
		curs_inopts.3 wtimeout.3 \
		curs_insch.3 insch.3 \
		curs_insch.3 mvinsch.3 \
		curs_insch.3 mvwinsch.3 \
		curs_insch.3 winsch.3 \
		curs_insstr.3 insnstr.3 \
		curs_insstr.3 insstr.3 \
		curs_insstr.3 mvinsnstr.3 \
		curs_insstr.3 mvinsstr.3 \
		curs_insstr.3 mvwinsnstr.3 \
		curs_insstr.3 mvwinsstr.3 \
		curs_insstr.3 winsnstr.3 \
		curs_insstr.3 winsstr.3 \
		curs_instr.3 innstr.3 \
		curs_instr.3 instr.3 \
		curs_instr.3 mvinnstr.3 \
		curs_instr.3 mvinstr.3 \
		curs_instr.3 mvwinnstr.3 \
		curs_instr.3 mvwinstr.3 \
		curs_instr.3 winnstr.3 \
		curs_instr.3 winstr.3 \
		curs_kernel.3 curs_set.3 \
		curs_kernel.3 def_prog_mode.3 \
		curs_kernel.3 def_shell_mode.3 \
		curs_kernel.3 getsyx.3 \
		curs_kernel.3 napms.3 \
		curs_kernel.3 reset_prog_mode.3 \
		curs_kernel.3 reset_shell_mode.3 \
		curs_kernel.3 resetty.3 \
		curs_kernel.3 ripoffline.3 \
		curs_kernel.3 savetty.3 \
		curs_kernel.3 setsyx.3 \
		curs_mouse.3 getmouse.3 \
		curs_mouse.3 mouse_trafo.3 \
		curs_mouse.3 mouseinterval.3 \
		curs_mouse.3 mousemask.3 \
		curs_mouse.3 ungetmouse.3 \
		curs_mouse.3 wenclose.3 \
		curs_mouse.3 wmouse_trafo.3 \
		curs_move.3 move.3 \
		curs_move.3 wmove.3 \
		curs_outopts.3 clearok.3 \
		curs_outopts.3 idcok.3 \
		curs_outopts.3 idlok.3 \
		curs_outopts.3 immedok.3 \
		curs_outopts.3 leaveok.3 \
		curs_outopts.3 nl.3 \
		curs_outopts.3 nonl.3 \
		curs_outopts.3 scrollok.3 \
		curs_outopts.3 setscrreg.3 \
		curs_outopts.3 wsetscrreg.3 \
		curs_overlay.3 copywin.3 \
		curs_overlay.3 overlay.3 \
		curs_overlay.3 overwrite.3 \
		curs_pad.3 newpad.3 \
		curs_pad.3 pecho_wchar.3 \
		curs_pad.3 pechochar.3 \
		curs_pad.3 pnoutrefresh.3 \
		curs_pad.3 prefresh.3 \
		curs_pad.3 subpad.3 \
		curs_print.3 mcprint.3 \
		curs_refresh.3 doupdate.3 \
		curs_refresh.3 redrawwin.3 \
		curs_refresh.3 refresh.3 \
		curs_refresh.3 wnoutrefresh.3 \
		curs_refresh.3 wredrawln.3 \
		curs_refresh.3 wrefresh.3 \
		curs_scr_dump.3 scr_dump.3 \
		curs_scr_dump.3 scr_init.3 \
		curs_scr_dump.3 scr_restore.3 \
		curs_scr_dump.3 scr_set.3 \
		curs_scroll.3 scrl.3 \
		curs_scroll.3 scroll.3 \
		curs_scroll.3 wscrl.3 \
		curs_slk.3 slk_attr.3 \
		curs_slk.3 slk_attr_off.3 \
		curs_slk.3 slk_attr_on.3 \
		curs_slk.3 slk_attr_set.3 \
		curs_slk.3 slk_attroff.3 \
		curs_slk.3 slk_attron.3 \
		curs_slk.3 slk_attrset.3 \
		curs_slk.3 slk_clear.3 \
		curs_slk.3 slk_color.3 \
		curs_slk.3 slk_init.3 \
		curs_slk.3 slk_label.3 \
		curs_slk.3 slk_noutrefresh.3 \
		curs_slk.3 slk_refresh.3 \
		curs_slk.3 slk_restore.3 \
		curs_slk.3 slk_set.3 \
		curs_slk.3 slk_touch.3 \
		curs_termattrs.3 baudrate.3 \
		curs_termattrs.3 erasechar.3 \
		curs_termattrs.3 erasewchar.3 \
		curs_termattrs.3 has_ic.3 \
		curs_termattrs.3 has_il.3 \
		curs_termattrs.3 killchar.3 \
		curs_termattrs.3 killwchar.3 \
		curs_termattrs.3 longname.3 \
		curs_termattrs.3 term_attrs.3 \
		curs_termattrs.3 termattrs.3 \
		curs_termattrs.3 termname.3 \
		curs_termcap.3 termcap.3 \
		curs_termcap.3 tgetent.3 \
		curs_termcap.3 tgetflag.3 \
		curs_termcap.3 tgetnum.3 \
		curs_termcap.3 tgetstr.3 \
		curs_termcap.3 tgoto.3 \
		curs_termcap.3 tputs.3 \
		curs_terminfo.3 del_curterm.3 \
		curs_terminfo.3 mvcur.3 \
		curs_terminfo.3 putp.3 \
		curs_terminfo.3 restartterm.3 \
		curs_terminfo.3 set_curterm.3 \
		curs_terminfo.3 setterm.3 \
		curs_terminfo.3 setupterm.3 \
		curs_terminfo.3 tigetflag.3 \
		curs_terminfo.3 tigetnum.3 \
		curs_terminfo.3 tigetstr.3 \
		curs_terminfo.3 tparm.3 \
		curs_terminfo.3 tputs.3 \
		curs_terminfo.3 vid_attr.3 \
		curs_terminfo.3 vid_puts.3 \
		curs_terminfo.3 vidattr.3 \
		curs_terminfo.3 vidputs.3 \
		curs_touch.3 is_linetouched.3 \
		curs_touch.3 is_wintouched.3 \
		curs_touch.3 touchline.3 \
		curs_touch.3 touchwin.3 \
		curs_touch.3 untouchwin.3 \
		curs_touch.3 wtouchln.3 \
		curs_util.3 delay_output.3 \
		curs_util.3 filter.3 \
		curs_util.3 flushinp.3 \
		curs_util.3 getwin.3 \
		curs_util.3 key_name.3 \
		curs_util.3 keyname.3 \
		curs_util.3 nofilter.3 \
		curs_util.3 putwin.3 \
		curs_util.3 unctrl.3 \
		curs_util.3 use_env.3 \
		curs_util.3 wunctrl.3 \
		curs_window.3 delwin.3 \
		curs_window.3 derwin.3 \
		curs_window.3 dupwin.3 \
		curs_window.3 mvderwin.3 \
		curs_window.3 mvwin.3 \
		curs_window.3 newwin.3 \
		curs_window.3 subwin.3 \
		curs_window.3 syncok.3 \
		curs_window.3 wcursyncup.3 \
		curs_window.3 wsyncdown.3 \
		curs_window.3 wsyncup.3 \
		default_colors.3 assume_default_colors.3 \
		default_colors.3 use_default_colors.3 \
		key_defined.3 define_key.3 \
		legacy_coding.3 use_legacy_coding.3 \
		resizeterm.3 is_term_resized.3 \
		resizeterm.3 resize_term.3
d799 5
@


1.84
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
@a254 1
SYMLINKS+=	libncurses.a ${LIBDIR}/libmytinfo.a
a261 1
SYMLINKS+=	libncurses.so ${LIBDIR}/libmytinfo.so
a267 1
SYMLINKS+=	libncurses_p.a ${LIBDIR}/libmytinfo_p.a
@


1.83
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
@d3 1
a3 1
SHLIBDIR?= /lib
d7 1
a7 1
NCURSES=${.CURDIR}/../../contrib/ncurses
d9 2
a10 2
LIB=	ncurses
SHLIB_MAJOR=6
d12 5
a16 7
# Should be elsewhere
AWK?=	awk
TERMINFODIR?=	${SHAREDIR}/misc

NCURSES_MAJOR!=egrep 'NCURSES_MAJOR[ 	]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9]*%%'
NCURSES_MINOR!=egrep 'NCURSES_MINOR[ 	]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9]*%%'
NCURSES_PATCH!=egrep 'NCURSES_PATCH[ 	]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9]*%%'
d19 2
d22 1
a22 3
NCURSES_XNAMES=		1
NCURSES_OSPEED=		short
NCURSES_CH_T=		chtype
d24 1
d27 7
d36 4
a39 1
BOOL_TYPE=		0
d42 4
d47 3
a49 4
TYPEOF_CHTYPE=		long
WIDEC_SHIFT=		8
SHIFT_LIMIT=		32
ONEUL=			1UL
d51 19
a69 30
.PATH:  ${NCURSES}/ncurses
.PATH:  ${NCURSES}/ncurses/base
.PATH:  ${NCURSES}/ncurses/tinfo
.PATH:  ${NCURSES}/ncurses/tty
.PATH:  ${NCURSES}/ncurses/trace
.PATH:  ${NCURSES}/include
.PATH:  ${NCURSES}/man

CFLAGS+=-I. -I${.CURDIR} -I${NCURSES}/ncurses -I${NCURSES}/include
CFLAGS+=-Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS

GENSRC= \
	codes.c \
	expanded.c \
	fallback.c \
	lib_gen.c \
	lib_keyname.c \
	names.c \
	unctrl.c

GENHDR= \
	curses.h \
	hashsize.h \
	init_keytry.h \
	ncurses_def.h \
	nomacros.h \
	parametrized.h \
	term.h \
	termcap.h \
	unctrl.h
d72 4
a75 4
HEADERS=curses.h term.h termcap.h unctrl.h
SRCHDRS=ncurses_dll.h
INCS=	${HEADERS} ${SRCHDRS}
INCSLINKS= curses.h ${INCLUDEDIR}/ncurses.h
d78 2
a79 2
NAMESRC=boolnames boolfnames numnames numfnames strnames strfnames
CODESRC=boolcodes numcodes strcodes
d81 149
a229 134
SRCS=	${GENHDR} ${GENSRC} \
	access.c \
	add_tries.c \
	alloc_entry.c \
	alloc_ttype.c \
	captoinfo.c \
	comp_captab.c \
	comp_error.c \
	comp_expand.c \
	comp_hash.c \
	comp_parse.c \
	comp_scan.c \
	define_key.c \
	doalloc.c \
	free_ttype.c \
	getenv_num.c \
	hardscroll.c \
	hashmap.c \
	home_terminfo.c \
	init_keytry.c \
	keybound.c \
	keyok.c \
	lib_acs.c \
	lib_addch.c \
	lib_addstr.c \
	lib_baudrate.c \
	lib_beep.c \
	lib_bkgd.c \
	lib_box.c \
	lib_chgat.c \
	lib_clear.c \
	lib_clearok.c \
	lib_clrbot.c \
	lib_clreol.c \
	lib_color.c \
	lib_colorset.c \
	lib_cur_term.c \
	lib_data.c \
	lib_delch.c \
	lib_delwin.c \
	lib_dft_fgbg.c \
	lib_echo.c \
	lib_endwin.c \
	lib_erase.c \
	lib_flash.c \
	lib_freeall.c \
	lib_getch.c \
	lib_getstr.c \
	lib_has_cap.c \
	lib_hline.c \
	lib_immedok.c \
	lib_inchstr.c \
	lib_initscr.c \
	lib_insch.c \
	lib_insdel.c \
	lib_insstr.c \
	lib_instr.c \
	lib_isendwin.c \
	lib_kernel.c \
	lib_leaveok.c \
	lib_longname.c \
	lib_mouse.c \
	lib_move.c \
	lib_mvcur.c \
	lib_mvwin.c \
	lib_napms.c \
	lib_newterm.c \
	lib_newwin.c \
	lib_nl.c \
	lib_options.c \
	lib_overlay.c \
	lib_pad.c \
	lib_print.c \
	lib_printw.c \
	lib_raw.c \
	lib_redrawln.c \
	lib_refresh.c \
	lib_restart.c \
	lib_scanw.c \
	lib_screen.c \
	lib_scroll.c \
	lib_scrollok.c \
	lib_scrreg.c \
	lib_set_term.c \
	lib_setup.c \
	lib_slk.c \
	lib_slkatr_set.c \
	lib_slkatrof.c \
	lib_slkatron.c \
	lib_slkatrset.c \
	lib_slkattr.c \
	lib_slkclear.c \
	lib_slkcolor.c \
	lib_slkinit.c \
	lib_slklab.c \
	lib_slkrefr.c \
	lib_slkset.c \
	lib_slktouch.c \
	lib_termcap.c \
	lib_termname.c \
	lib_tgoto.c \
	lib_ti.c \
	lib_touch.c \
	lib_tparm.c \
	lib_tputs.c \
	lib_trace.c \
	lib_tstp.c \
	lib_ttyflags.c \
	lib_twait.c \
	lib_ungetch.c \
	lib_vidattr.c \
	lib_vline.c \
	lib_wattroff.c \
	lib_wattron.c \
	lib_winch.c \
	lib_window.c \
	memmove.c \
	name_match.c \
	nc_panel.c \
	parse_entry.c \
	read_entry.c \
	resizeterm.c \
	safe_sprintf.c \
	setbuf.c \
	sigaction.c \
	strings.c \
	tries.c \
	tty_update.c \
	varargs.c \
	version.c \
	visbuf.c \
	vsscanf.c \
	wresize.c \
	write_entry.c
d232 10
a241 8
DBGSRCS=lib_traceatr.c \
	lib_tracebits.c \
	lib_tracechr.c \
	lib_tracedmp.c \
	lib_tracemse.c \
	trace_buf.c \
	trace_tries.c \
	trace_xnames.c
d245 1
a245 1
SRCS+=	termcap.c
d248 2
a249 2
	make_keys MKterm.h.awk comp_captab.c curses.head \
	namehdr nameftr codeftr ${NAMESRC} ${CODESRC}
d252 5
a256 5
SYMLINKS+=libncurses.a ${LIBDIR}/libcurses.a
SYMLINKS+=libncurses.a ${LIBDIR}/libtermcap.a
SYMLINKS+=libncurses.a ${LIBDIR}/libtermlib.a
SYMLINKS+=libncurses.a ${LIBDIR}/libmytinfo.a
SYMLINKS+=libncurses.a ${LIBDIR}/libtinfo.a
d260 5
a264 5
SYMLINKS+=libncurses.so ${LIBDIR}/libcurses.so
SYMLINKS+=libncurses.so ${LIBDIR}/libtermcap.so
SYMLINKS+=libncurses.so ${LIBDIR}/libtermlib.so
SYMLINKS+=libncurses.so ${LIBDIR}/libmytinfo.so
SYMLINKS+=libncurses.so ${LIBDIR}/libtinfo.so
d267 5
a271 5
SYMLINKS+=libncurses_p.a ${LIBDIR}/libcurses_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermcap_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermlib_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libmytinfo_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libtinfo_p.a
d274 2
a275 2
DOCSDIR= /usr/share/doc/ncurses
DOCS=	ncurses-intro.html hackguide.html
d278 1
a278 1
.PATH: ${NCURSES}/doc/html
d284 1
a284 1
	${AWK} -f ${NCURSES}/ncurses/tinfo/MKnames.awk ${NCURSES}/include/Caps
d295 1
a295 1
	LC_ALL=C sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
d299 1
a299 1
	${AWK} -f ${NCURSES}/ncurses/base/MKkeyname.awk keys.list > lib_keyname.c
d302 1
a302 1
	echo | ${AWK} -f ${NCURSES}/ncurses/base/MKunctrl.awk > unctrl.c
d305 2
a306 2
	sh ${NCURSES}/ncurses/tinfo/MKcaptab.awk "${AWK}" \
	    ${NCURSES}/include/Caps > comp_captab.c
d309 1
a309 1
	sh ${NCURSES}/ncurses/tty/MKexpanded.sh "${CC} -E" ${CFLAGS} >expanded.c
d312 1
a312 1
	sh ${NCURSES}/ncurses/tinfo/MKfallback.sh > fallback.c
a314 4
ncurses_def.h:	MKncurses_def.sh ncurses_defs
	AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
	    ${NCURSES}/include/ncurses_defs > ncurses_def.h

d316 1
a316 1
	LC_ALL=C sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
d323 1
a323 1
	sh ${NCURSES}/include/MKhashsize.sh ${NCURSES}/include/Caps > $@@
d326 2
a327 2
	AWK=${AWK} sh ${NCURSES}/include/MKparametrized.sh \
	    ${NCURSES}/include/Caps > $@@
d330 2
a331 2
	${AWK} -f MKterm.h.awk ${NCURSES}/include/Caps > $@@.new
	sh ${NCURSES}/include/edit_cfg.sh ${.CURDIR}/ncurses_cfg.h $@@.new
d336 3
a338 3
	AWK=${AWK} _POSIX2_VERSION=199209 sh ${NCURSES}/include/MKkey_defs.sh \
	    ${NCURSES}/include/Caps >> $@@.new
	cat ${NCURSES}/include/curses.tail >> $@@.new
d343 2
a344 2
	AWK=${AWK} sh ${NCURSES}/ncurses/tinfo/MKkeys_list.sh \
	    ${NCURSES}/include/Caps | LC_ALL=C sort > keys.list
d350 1
a350 1
	${CC} -o $@@ ${CFLAGS} ${NCURSES}/ncurses/tinfo/make_keys.c
d354 1
a354 1
		${NCURSES}/ncurses/tinfo/comp_hash.c
d358 1
a358 1
	sed <${NCURSES}/include/MKterm.h.awk.in >$@@ \
d362 6
a367 1
	    -e "/@@NCURSES_XNAMES@@/s%%${NCURSES_XNAMES}%"
d370 1
a370 1
	sed <${NCURSES}/include/termcap.h.in >$@@ \
d377 1
a377 1
	sed <${NCURSES}/include/curses.h.in >$@@ \
d380 1
d382 4
d387 1
d389 1
d391 6
a396 4
	    -e "/@@NCURSES_CH_T@@/s%%${NCURSES_CH_T}%" \
	    -e "/@@NCURSES_EXT_FUNCS@@/s%%${NCURSES_EXT_FUNCS}%" \
	    -e "/@@NCURSES_LIBUTF8@@/s%%${NCURSES_LIBUTF8}%" \
	    -e "/@@NCURSES_MBSTATE_T@@/s%%${NCURSES_MBSTATE_T}%" \
d399 1
a399 2
	    -e "s%@@cf_cv_cc_bool_type@@%${BOOL_TYPE}%g" \
	    -e "s%@@cf_cv_shift_limit@@%${SHIFT_LIMIT}%g" \
d403 1
a403 1
	    -e "s%@@cf_cv_widec_shift@@%${WIDEC_SHIFT}%g" \
d405 1
a405 1
	    -e "s/ _WINT_T/ __wint_t/g" \
d408 1
a408 1
	sed <${NCURSES}/include/$@@.in >$@@ \
d414 2
a415 2
	sh ${NCURSES}/man/MKterminfo.sh ${NCURSES}/man/terminfo.head \
	    ${NCURSES}/include/Caps ${NCURSES}/man/terminfo.tail >$@@
d421 58
a478 15
MANx=	curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
	curs_beep.3x curs_bkgd.3x curs_border.3x curs_clear.3x curs_color.3x \
	curs_delch.3x curs_deleteln.3x curs_extend.3x curs_getch.3x \
	curs_getstr.3x \
	curs_getyx.3x curs_inch.3x curs_inchstr.3x curs_initscr.3x \
	curs_inopts.3x curs_insch.3x curs_insstr.3x curs_instr.3x \
	curs_kernel.3x curs_mouse.3x curs_move.3x curs_outopts.3x \
	curs_overlay.3x curs_pad.3x curs_print.3x curs_printw.3x \
	curs_refresh.3x curs_scanw.3x curs_scr_dump.3x curs_scroll.3x \
	curs_slk.3x curs_termattrs.3x curs_termcap.3x curs_terminfo.3x \
	curs_touch.3x curs_trace.3x curs_util.3x curs_window.3x \
	default_colors.3x define_key.3x \
	keybound.3x keyok.3x ncurses.3x resizeterm.3x wresize.3x
MAN=	term.5 terminfo.5
MAN+=	term.7
d482 2
a483 2
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
d488 317
a804 145
MLINKS+=ncurses.3 curses.3
MLINKS+=curs_addch.3 addch.3 curs_addch.3 echochar.3 curs_addch.3 mvaddch.3 \
	curs_addch.3 mvwaddch.3 curs_addch.3 waddch.3 curs_addch.3 wechochar.3
MLINKS+=curs_addchstr.3 addchnstr.3 curs_addchstr.3 addchstr.3 \
	curs_addchstr.3 mvaddchnstr.3 curs_addchstr.3 mvaddchstr.3 \
	curs_addchstr.3 mvwaddchnstr.3 curs_addchstr.3 mvwaddchstr.3 \
	curs_addchstr.3 waddchnstr.3 curs_addchstr.3 waddchstr.3
MLINKS+=curs_addstr.3 addnstr.3 curs_addstr.3 addstr.3 \
	curs_addstr.3 mvaddnstr.3 curs_addstr.3 mvaddstr.3 \
	curs_addstr.3 mvwaddnstr.3 curs_addstr.3 mvwaddstr.3 \
	curs_addstr.3 waddnstr.3 curs_addstr.3 waddstr.3
MLINKS+=curs_attr.3 PAIR_NUMBER.3 \
	curs_attr.3 attr_get.3 curs_attr.3 attr_off.3 curs_attr.3 attr_on.3 \
	curs_attr.3 attr_set.3 curs_attr.3 attroff.3 curs_attr.3 attron.3 \
	curs_attr.3 attrset.3 curs_attr.3 chgat.3 curs_attr.3 color_set.3 \
	curs_attr.3 mvchgat.3 curs_attr.3 mvwchgat.3 curs_attr.3 standend.3 \
	curs_attr.3 standout.3 curs_attr.3 wattr_get.3 curs_attr.3 wattr_off.3 \
	curs_attr.3 wattr_on.3 curs_attr.3 wattr_set.3 curs_attr.3 wattroff.3 \
	curs_attr.3 wattron.3 curs_attr.3 wattrset.3 curs_attr.3 wchgat.3 \
	curs_attr.3 wcolor_set.3 curs_attr.3 wstandend.3 \
	curs_attr.3 wstandout.3
MLINKS+=curs_beep.3 beep.3 curs_beep.3 flash.3
MLINKS+=curs_bkgd.3 bkgd.3 curs_bkgd.3 bkgdset.3 curs_bkgd.3 getbkgd.3 \
	curs_bkgd.3 wbkgd.3 curs_bkgd.3 wbkgdset.3
MLINKS+=curs_border.3 border.3 curs_border.3 box.3 curs_border.3 hline.3 \
	curs_border.3 mvhline.3 curs_border.3 mvvline.3 \
	curs_border.3 mvwhline.3 \
	curs_border.3 mvwvline.3 curs_border.3 vline.3 curs_border.3 wborder.3 \
	curs_border.3 whline.3 curs_border.3 wvline.3
MLINKS+=curs_clear.3 clear.3 curs_clear.3 clrtobot.3 curs_clear.3 clrtoeol.3 \
	curs_clear.3 erase.3 curs_clear.3 wclear.3 curs_clear.3 wclrtobot.3 \
	curs_clear.3 wclrtoeol.3 curs_clear.3 werase.3
MLINKS+=curs_color.3 COLOR_PAIR.3 \
	curs_color.3 can_change_color.3 curs_color.3 color_content.3 \
	curs_color.3 has_colors.3 curs_color.3 init_color.3 \
	curs_color.3 init_pair.3 curs_color.3 pair_content.3 \
	curs_color.3 start_color.3
MLINKS+=curs_delch.3 delch.3 curs_delch.3 mvdelch.3 curs_delch.3 mvwdelch.3 \
	curs_delch.3 wdelch.3
MLINKS+=curs_deleteln.3 deleteln.3 curs_deleteln.3 insdelln.3 \
	curs_deleteln.3 insertln.3 curs_deleteln.3 wdeleteln.3 \
	curs_deleteln.3 winsdelln.3 curs_deleteln.3 winsertln.3
MLINKS+=curs_extend.3 curses_version.3 curs_extend.3 use_extended_names.3
MLINKS+=curs_getch.3 getch.3 curs_getch.3 has_key.3 curs_getch.3 mvgetch.3 \
	curs_getch.3 mvwgetch.3 curs_getch.3 ungetch.3 curs_getch.3 wgetch.3
MLINKS+=curs_getstr.3 getnstr.3 curs_getstr.3 getstr.3 \
	curs_getstr.3 mvgetnstr.3 curs_getstr.3 mvgetstr.3 \
	curs_getstr.3 mvwgetnstr.3 curs_getstr.3 mvwgetstr.3 \
	curs_getstr.3 wgetnstr.3 curs_getstr.3 wgetstr.3
MLINKS+=curs_getyx.3 getbegyx.3 curs_getyx.3 getmaxyx.3 \
	curs_getyx.3 getparyx.3 curs_getyx.3 getyx.3
MLINKS+=curs_inch.3 inch.3 curs_inch.3 mvinch.3 curs_inch.3 mvwinch.3 \
	curs_inch.3 winch.3
MLINKS+=curs_inchstr.3 inchnstr.3 curs_inchstr.3 inchstr.3 \
	curs_inchstr.3 mvinchnstr.3 curs_inchstr.3 mvinchstr.3 \
	curs_inchstr.3 mvwinchnstr.3 curs_inchstr.3 mvwinchstr.3 \
	curs_inchstr.3 winchnstr.3 curs_inchstr.3 winchstr.3
MLINKS+=curs_initscr.3 delscreen.3 curs_initscr.3 endwin.3 \
	curs_initscr.3 initscr.3 curs_initscr.3 isendwin.3 \
	curs_initscr.3 newterm.3 curs_initscr.3 set_term.3
MLINKS+=curs_inopts.3 cbreak.3 curs_inopts.3 echo.3 curs_inopts.3 halfdelay.3 \
	curs_inopts.3 intrflush.3 curs_inopts.3 keypad.3 curs_inopts.3 meta.3 \
	curs_inopts.3 nocbreak.3 curs_inopts.3 nodelay.3 \
	curs_inopts.3 noecho.3 curs_inopts.3 noqiflush.3 curs_inopts.3 noraw.3 \
	curs_inopts.3 notimeout.3 curs_inopts.3 qiflush.3 curs_inopts.3 raw.3 \
	curs_inopts.3 timeout.3 curs_inopts.3 typeahead.3 \
	curs_inopts.3 wtimeout.3
MLINKS+=curs_insch.3 insch.3 curs_insch.3 mvinsch.3 curs_insch.3 mvwinsch.3 \
	curs_insch.3 winsch.3
MLINKS+=curs_insstr.3 insnstr.3 curs_insstr.3 insstr.3 \
	curs_insstr.3 mvinsnstr.3 curs_insstr.3 mvinsstr.3 \
	curs_insstr.3 mvwinsnstr.3 curs_insstr.3 mvwinsstr.3 \
	curs_insstr.3 winsnstr.3 curs_insstr.3 winsstr.3
MLINKS+=curs_instr.3 innstr.3 curs_instr.3 instr.3 curs_instr.3 mvinnstr.3 \
	curs_instr.3 mvinstr.3 curs_instr.3 mvwinnstr.3 \
	curs_instr.3 mvwinstr.3 curs_instr.3 winnstr.3 curs_instr.3 winstr.3
MLINKS+=curs_kernel.3 curs_set.3 curs_kernel.3 def_prog_mode.3 \
	curs_kernel.3 def_shell_mode.3 curs_kernel.3 getsyx.3 \
	curs_kernel.3 napms.3 curs_kernel.3 reset_prog_mode.3 \
	curs_kernel.3 reset_shell_mode.3 curs_kernel.3 resetty.3 \
	curs_kernel.3 ripoffline.3 curs_kernel.3 savetty.3 \
	curs_kernel.3 setsyx.3
MLINKS+=curs_mouse.3 getmouse.3 curs_mouse.3 mouse_trafo.3 \
	curs_mouse.3 mouseinterval.3 \
	curs_mouse.3 mousemask.3 curs_mouse.3 ungetmouse.3 \
	curs_mouse.3 wenclose.3 curs_mouse.3 wmouse_trafo.3
MLINKS+=curs_move.3 move.3 curs_move.3 wmove.3
MLINKS+=curs_outopts.3 clearok.3 curs_outopts.3 idcok.3 curs_outopts.3 idlok.3 \
	curs_outopts.3 immedok.3 curs_outopts.3 leaveok.3 curs_outopts.3 nl.3 \
	curs_outopts.3 nonl.3 curs_outopts.3 scrollok.3 \
	curs_outopts.3 setscrreg.3 curs_outopts.3 wsetscrreg.3
MLINKS+=curs_overlay.3 copywin.3 curs_overlay.3 overlay.3 \
	curs_overlay.3 overwrite.3
MLINKS+=curs_pad.3 newpad.3 curs_pad.3 pechochar.3 curs_pad.3 pnoutrefresh.3 \
	curs_pad.3 prefresh.3 curs_pad.3 subpad.3
MLINKS+=curs_print.3 mcprint.3
MLINKS+=curs_printw.3 mvprintw.3 curs_printw.3 mvwprintw.3 \
	curs_printw.3 printw.3 curs_printw.3 vw_printw.3 \
	curs_printw.3 vwprintw.3 curs_printw.3 wprintw.3
MLINKS+=curs_refresh.3 doupdate.3 curs_refresh.3 redrawwin.3 \
	curs_refresh.3 refresh.3 curs_refresh.3 wnoutrefresh.3 \
	curs_refresh.3 wredrawln.3 curs_refresh.3 wrefresh.3
MLINKS+=curs_scanw.3 mvscanw.3 curs_scanw.3 mvwscanw.3 curs_scanw.3 scanw.3 \
	curs_scanw.3 vw_scanw.3 curs_scanw.3 vwscanw.3 curs_scanw.3 wscanw.3
MLINKS+=curs_scr_dump.3 scr_dump.3 curs_scr_dump.3 scr_init.3 \
	curs_scr_dump.3 scr_restore.3 curs_scr_dump.3 scr_set.3
MLINKS+=curs_scroll.3 scrl.3 curs_scroll.3 scroll.3 curs_scroll.3 wscrl.3
MLINKS+=curs_slk.3 slk_attr.3 curs_slk.3 slk_attr_off.3 \
	curs_slk.3 slk_attr_on.3 curs_slk.3 slk_attr_set.3 \
	curs_slk.3 slk_attroff.3 curs_slk.3 slk_attron.3 \
	curs_slk.3 slk_attrset.3 curs_slk.3 slk_clear.3 \
	curs_slk.3 slk_color.3 curs_slk.3 slk_init.3 curs_slk.3 slk_label.3 \
	curs_slk.3 slk_noutrefresh.3 curs_slk.3 slk_refresh.3 \
	curs_slk.3 slk_restore.3 curs_slk.3 slk_set.3 curs_slk.3 slk_touch.3
MLINKS+=curs_termattrs.3 baudrate.3 curs_termattrs.3 erasechar.3 \
	curs_termattrs.3 has_ic.3 curs_termattrs.3 has_il.3 \
	curs_termattrs.3 killchar.3 curs_termattrs.3 longname.3 \
	curs_termattrs.3 termattrs.3 curs_termattrs.3 termname.3
MLINKS+=curs_termcap.3 termcap.3 curs_termcap.3 tgetent.3 \
	curs_termcap.3 tgetflag.3 curs_termcap.3 tgetnum.3 \
	curs_termcap.3 tgetstr.3 curs_termcap.3 tgoto.3 \
	curs_termcap.3 tputs.3
MLINKS+=curs_terminfo.3 del_curterm.3 curs_terminfo.3 mvcur.3 \
	curs_terminfo.3 putp.3 curs_terminfo.3 restartterm.3 \
	curs_terminfo.3 set_curterm.3 curs_terminfo.3 setterm.3 \
	curs_terminfo.3 setupterm.3 curs_terminfo.3 tigetflag.3 \
	curs_terminfo.3 tigetnum.3 curs_terminfo.3 tigetstr.3 \
	curs_terminfo.3 tparm.3 curs_terminfo.3 tputs.3 \
	curs_terminfo.3 vidattr.3 curs_terminfo.3 vidputs.3
MLINKS+=curs_touch.3 is_linetouched.3 curs_touch.3 is_wintouched.3 \
	curs_touch.3 touchline.3 curs_touch.3 touchwin.3 \
	curs_touch.3 untouchwin.3 curs_touch.3 wtouchln.3
MLINKS+=curs_util.3 delay_output.3 curs_util.3 filter.3 \
	curs_util.3 flushinp.3 curs_util.3 getwin.3 \
	curs_util.3 keyname.3 curs_util.3 putwin.3 \
	curs_util.3 unctrl.3 curs_util.3 use_env.3
MLINKS+=curs_window.3 delwin.3 curs_window.3 derwin.3 curs_window.3 dupwin.3 \
	curs_window.3 mvderwin.3 curs_window.3 mvwin.3 curs_window.3 newwin.3 \
	curs_window.3 subwin.3 curs_window.3 syncok.3 \
	curs_window.3 wcursyncup.3 curs_window.3 wsyncdown.3 \
	curs_window.3 wsyncup.3
MLINKS+=default_colors.3 assume_default_colors.3 \
	default_colors.3 use_default_colors.3

NO_LINT=
@


1.82
log
@Convert NO_PROFILE and NO_LIB32 to new style.
@
text
@@


1.81
log
@Provide alternate default for SHLIBDIR before bsd.own.mk does this.

Reported by:	phk
@
text
@d248 1
a248 1
.if !defined(NO_PROFILE)
@


1.80
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@d3 2
a9 1
SHLIBDIR?= /lib
@


1.79
log
@Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by:	ru
Approved by:	re (not needed for commit check but in principle...)
@
text
@d3 2
d258 1
a258 1
.if !defined(NO_HTML)
@


1.78
log
@NOHTML -> NO_HTML
@
text
@d7 1
a7 1
SHLIB_MAJOR=5
@


1.78.2.1
log
@Insta-MFC of the shared library version bump.  All shared libraries
whose version has not already been bumped since RELENG_5 are being
bumped.

Revisions of files being MFC-ed:

> Path						Revision
> src/gnu/lib/libdialog/Makefile		1.43
> src/gnu/lib/libg2c/Makefile			1.16
> src/gnu/lib/libobjc/Makefile			1.27
> src/gnu/lib/libreadline/Makefile.inc		1.12
> src/gnu/lib/libregex/Makefile			1.32
> src/gnu/lib/libstdc++/Makefile		1.56
> src/kerberos5/lib/Makefile.inc		1.7
> src/lib/Makefile.inc				1.3
> src/lib/libalias/Makefile			1.31
> src/lib/libarchive/Makefile			1.37
> src/lib/libbegemot/Makefile			1.3
> src/lib/libbluetooth/Makefile			1.2
> src/lib/libbsnmp/Makefile.inc			1.6
> src/lib/libbz2/Makefile			1.6
> src/lib/libc_r/Makefile			1.42
> src/lib/libcrypt/Makefile			1.36
> src/lib/libdevstat/Makefile			1.15
> src/lib/libdevstat/devstat.h			1.11
> src/lib/libedit/Makefile			1.29
> src/lib/libexpat/Makefile			1.5
> src/lib/libfetch/Makefile			1.45
> src/lib/libftpio/Makefile			1.14
> src/lib/libgpib/Makefile			1.2
> src/lib/libipsec/Makefile			1.17
> src/lib/libkiconv/Makefile			1.3
> src/lib/libmagic/Makefile			1.7
> src/lib/libmp/Makefile			1.10
> src/lib/libncp/Makefile			1.6
> src/lib/libncurses/Makefile			1.79
> src/lib/libnetgraph/Makefile			1.11
> src/lib/libngatm/Makefile			1.6
> src/lib/libopie/Makefile			1.21
> src/lib/libpam/Makefile.inc			1.17
> src/lib/libpthread/Makefile			1.54
> src/lib/libradius/Makefile			1.12
> src/lib/libsdp/Makefile			1.4
> src/lib/libsmb/Makefile			1.8
> src/lib/libtacplus/Makefile			1.7
> src/lib/libthr/Makefile			1.14
> src/lib/libthread_db/Makefile			1.6
> src/lib/libugidfw/Makefile			1.7
> src/lib/libusbhid/Makefile			1.10
> src/lib/libutil/Makefile			1.57
> src/lib/libvgl/Makefile			1.11
> src/lib/libwrap/Makefile			1.17
> src/lib/libypclnt/Makefile			1.13
> src/lib/msun/Makefile				1.72
> src/secure/lib/libcrypto/Makefile		1.74
> src/secure/lib/libssh/Makefile		1.35
> src/secure/lib/libssl/Makefile		1.22
> src/usr.sbin/bsnmpd/modules/Makefile.inc	1.10

Reviewed by:	ru
Approved by:	re (scottl)
@
text
@d7 1
a7 1
SHLIB_MAJOR=6
@


1.77
log
@NOINSTALLLIB -> NO_INSTALLLIB
@
text
@d256 1
a256 1
.if !defined(NOHTML)
@


1.76
log
@NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
@
text
@d230 1
a230 1
.if !defined(NOINSTALLLIB)
@


1.75
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d237 1
a237 1
.if !defined(NOPIC)
d245 1
a245 1
.if !defined(NOPROFILE)
d559 1
a559 1
NOLINT=
@


1.74
log
@Replaced afterinstall: with FILES.
@
text
@d559 1
a559 1
NOLINT=	true
@


1.73
log
@Unbreak the NOINSTALLLIB install.

PR:		50945
Submitted by:	Rene de Vries <rene@@tunix.nl>
Reminded by:	jmallett
@
text
@d257 2
a258 6
afterinstall:
.for file in ${DOCS}
	cd ${.CURDIR}/../../contrib/ncurses/doc/html ; \
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
		${DESTDIR}${DOCSDIR}
.endfor
@


1.73.4.1
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d563 1
a563 1
NOLINT=
@


1.72
log
@style.Makefile(5)
@
text
@d230 1
d236 1
@


1.71
log
@Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.
@
text
@d6 1
a6 1
SHLIBDIR?=	/lib
@


1.70
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
@d6 1
d237 5
a241 5
SYMLINKS+=libncurses.so ${SHLIBDIR}/libcurses.so
SYMLINKS+=libncurses.so ${SHLIBDIR}/libtermcap.so
SYMLINKS+=libncurses.so ${SHLIBDIR}/libtermlib.so
SYMLINKS+=libncurses.so ${SHLIBDIR}/libmytinfo.so
SYMLINKS+=libncurses.so ${SHLIBDIR}/libtinfo.so
@


1.69
log
@Symlink with -f.
@
text
@d413 1
a413 1
	ln -sf ${.ALLSRC} ${.TARGET}
@


1.68
log
@Make this compile under cs_CZ.ISO8859-2 locale.

Reported by:	Pav Lucistnik <pav@@oook.cz>

We hit this problem earlier, in PR misc/45460.
@
text
@d413 1
a413 1
	ln -s ${.ALLSRC} ${.TARGET}
@


1.67
log
@Migrate to a new way of dealing with building from old revisions of
FreeBSD.  This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build).  We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files.  We then include this directory when building host binaries.

This removes all the past release compatibilty hacks from various
places in the tree.  We still build on tip of stable and current.  I
will work with those that want to support more, although I anticipate
it will just work.

Many thanks to ru@@, obrien@@ and jhb@@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.
@
text
@d275 1
a275 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
d300 1
a300 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
d328 1
a328 1
	    ${NCURSES}/include/Caps | sort > keys.list
@


1.66
log
@Fixed CLEANFILES.

Submitted by:	cron
@
text
@a27 3
.if defined(BOOTSTRAPPING) && !exists(/usr/include/stdbool.h)
HEADER_STDBOOL=		0
.else
a28 1
.endif
@


1.65
log
@Actually check if stdbool.h exists when BOOTSTRAPPING.
@
text
@d229 1
a229 1
CLEANFILES+=	${GENSRC} ${GENHDR} keys.tries make_hash term.h.new \
@


1.64
log
@Bootstrapping aid for 4.0-RELEASE.
@
text
@d28 1
a28 1
.if defined(BOOTSTRAPPING)
@


1.63
log
@Zap now-unused SHLIB_MINOR
@
text
@d28 3
d32 1
@


1.62
log
@Try not to lint(1) contrib'ed sources. This Is Very Messy.
@
text
@a6 1
SHLIB_MINOR=0
@


1.61
log
@Set _POSIX2_VERSION=199209 before calling MKkey_defs.sh as workaround of
obsolete +POS sort syntax.
@
text
@d561 2
@


1.60
log
@Add a missing file into the CLEANFILES variable.

Approved by:	peter
@
text
@d321 1
a321 1
	AWK=${AWK} sh ${NCURSES}/include/MKkey_defs.sh \
@


1.59
log
@Initiate deorbit burn for the i386-only a.out related support.  Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
@
text
@d227 1
a227 1
	make_keys MKterm.h.awk comp_captab.c \
@


1.58
log
@o Merge <machine/ansi.h> and <machine/types.h> into a new header
  called <machine/_types.h>.
o <machine/ansi.h> will continue to live so it can define MD clock
  macros, which are only MD because of gratuitous differences between
  architectures.
o Change all headers to make use of this.  This mainly involves
  changing:
    #ifdef _BSD_FOO_T_
    typedef	_BSD_FOO_T_	foo_t;
    #undef _BSD_FOO_T_
    #endif
  to:
    #ifndef _FOO_T_DECLARED
    typedef	__foo_t	foo_t;
    #define	_FOO_T_DECLARED
    #endif

Concept by:	bde
Reviewed by:	jake, obrien
@
text
@a235 12
.if ${OBJFORMAT} == aout
SYMLINKS+=libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  libcurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  libtermcap.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  libtermlib.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  libmytinfo.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  libtinfo.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
.else
a241 1
.endif
@


1.57
log
@Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
@
text
@d389 2
a390 2
	    -e "s/ _WCHAR_T/ _BSD_WCHAR_T_/g" \
	    -e "s/ _WINT_T/ _BSD_WINT_T_/g" \
@


1.56
log
@s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d271 1
a271 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
@


1.55
log
@Add NCURSES_OSPEED replace command to MANFILTER
@
text
@d271 1
a271 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
@


1.54
log
@Initial update of bmake glue for ncurses-5.2-20020518.  More to come.
@
text
@d403 2
a404 1
MANFILTER=	sed -e 's%@@TERMINFO@@%${TERMINFODIR}/terminfo%g'
@


1.53
log
@Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
@
text
@d18 17
a34 10
NCURSES_CONST=	const
NCURSES_XNAMES=	1
NCURSES_OSPEED=	short
BUILTIN_BOOL=	1
BOOL_TYPE=	0
TYPE_OF_BOOL=	char
TYPEOF_CHTYPE=	long
WIDEC_SHIFT=	8
SHIFT_LIMIT=	32
ONEUL=		1UL
a182 5
	lib_traceatr.c \
	lib_tracebits.c \
	lib_tracechr.c \
	lib_tracedmp.c \
	lib_tracemse.c \
a202 3
	trace_buf.c \
	trace_tries.c \
	trace_xnames.c \
d205 1
d207 1
d210 11
a220 1
	write_entry.c \
d290 1
a290 1
	    "${AWK}" < curses.h >$@@
d293 1
a293 2
	${AWK} -f ${NCURSES}/ncurses/base/MKkeyname.awk \
	    ${NCURSES}/ncurses/tinfo/keys.list > lib_keyname.c
d315 1
a315 1
	    "${AWK}" < curses.h | fgrep undef > $@@
d318 1
a318 1
	./make_keys ${NCURSES}/ncurses/tinfo/keys.list > init_keytry.h
d332 12
d356 1
a356 1
	sed <${NCURSES}/include/$@@.in >$@@ \
d363 1
a363 1
	sed <${NCURSES}/include/$@@.in >$@@ \
d369 5
a373 2
curses.h:	curses.h.in
	sed <${NCURSES}/include/$@@.in >$@@ \
d377 5
a381 1
	    -e "/@@NCURSES_CONST@@/s%%${NCURSES_CONST}%" \
d384 2
a388 2
	    -e "s%@@cf_cv_shift_limit@@%${SHIFT_LIMIT}%g" \
	    -e "s%@@cf_cv_1UL@@%${ONEUL}%g" \
d390 1
a390 1
	    -e "s/ _WINT_T/ _BSD_WINT_T_/g"
@


1.52
log
@Unbreak build-tools -- build and use up-to-date ${HEADERS}.
These might not be present in /usr/include, or they may be
incompatible with the version we are building (for library
upgrades/downgrades).

This stopped the RELENG_4 buildworld on a -CURRENT box.
Well, this only fixes the issue if MFC'ed.  :-)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.51 2001/06/12 01:14:02 peter Exp $
d37 2
a38 2
INCS=	-I. -I${.CURDIR} -I${NCURSES}/ncurses -I${NCURSES}/include
CFLAGS+=${INCS} -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS
d63 2
a255 9
beforeinstall:	${HEADERS}
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${HEADERS} \
	    ${DESTDIR}/usr/include
	cd ${NCURSES}/include ; \
	    ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SRCHDRS} \
	    ${DESTDIR}/usr/include
	rm -f ${DESTDIR}/usr/include/ncurses.h
	ln -s curses.h ${DESTDIR}/usr/include/ncurses.h

d278 1
a278 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${INCS}" \
d304 1
a304 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${INCS}" \
@


1.51
log
@Turn on the extra 'const' settings for various curses functions.  While
this is not strictly compliant with XSI curses, it enables us to pass
const strings to many more functions that are actually const safe than
before.  This should be harmless.

Requested by:  lots of folks
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.50 2001/06/07 17:27:44 sobomax Exp $
d332 1
a332 1
make_keys:	make_keys.c names.c curses.h ncurses_def.h
d335 1
a335 1
make_hash:	comp_hash.c hashsize.h curses.h ncurses_def.h
@


1.50
log
@Create curs_termcap.3 --> termcap.3 MLINK, so many manpages in our tree that
reference to termcap.3 will not be pointing to nowhere.

MFC after:	1 week
@
text
@d1 1
a1 1
# $FreeBSD$
d18 1
a18 1
NCURSES_CONST=	/* nothing */
@


1.49
log
@Use the correct FreeBSD definitions for wint_t and wchar_t.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.48 2001/05/17 08:48:26 peter Exp $
d525 4
a528 3
MLINKS+=curs_termcap.3 tgetent.3 curs_termcap.3 tgetflag.3 \
	curs_termcap.3 tgetnum.3 curs_termcap.3 tgetstr.3 \
	curs_termcap.3 tgoto.3 curs_termcap.3 tputs.3
@


1.48
log
@Argh. Fix a long-standing man page filter botch.  See terminfo(5) for
the effect.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.47 2001/05/17 08:30:09 peter Exp $
d366 3
a368 1
	    -e "s%@@cf_cv_1UL@@%${ONEUL}%g"
@


1.47
log
@Update for ncurses 5.2-20010512 import
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.46 2001/03/27 17:27:08 ru Exp $
d379 1
a379 1
MANFILTER=	sed -e 's%@@DATADIR@@%${TERMINFODIR}/terminfo%g'
@


1.46
log
@MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.45 2000/12/05 12:40:14 tg Exp $
d13 3
a15 3
NCURSES_MAJOR!=egrep 'NCURSES_MAJOR[ 	]*=' ${NCURSES}/dist.mk | sed -e 's/^[^0-9]*//'
NCURSES_MINOR!=egrep 'NCURSES_MINOR[ 	]*=' ${NCURSES}/dist.mk | sed -e 's/^[^0-9]*//'
NCURSES_PATCH!=egrep 'NCURSES_PATCH[ 	]*=' ${NCURSES}/dist.mk | sed -e 's/^[^0-9]*//'
d18 1
a18 1
NCURSES_CONST=
d20 1
a20 2
OSPEED_INCLUDES=\#include <termios.h>
OSPEED_TYPE=	speed_t
d62 1
d257 3
d266 1
a266 1
	cd ${.CURDIR}/../../contrib/ncurses/misc ; \
d342 4
a345 4
	    -e "/@@NCURSES_MAJOR@@/s//${NCURSES_MAJOR}/" \
	    -e "/@@NCURSES_MINOR@@/s//${NCURSES_MINOR}/" \
	    -e "/@@NCURSES_CONST@@/s//${NCURSES_CONST}/" \
	    -e "/@@NCURSES_XNAMES@@/s//${NCURSES_XNAMES}/"
d349 4
a352 5
	    -e "/@@NCURSES_MAJOR@@/s//${NCURSES_MAJOR}/" \
	    -e "/@@NCURSES_MINOR@@/s//${NCURSES_MINOR}/" \
	    -e "/@@NCURSES_CONST@@/s//${NCURSES_CONST}/" \
	    -e "/@@OSPEED_INCLUDES@@/s//${OSPEED_INCLUDES}/" \
	    -e "/@@OSPEED_TYPE@@/s//${OSPEED_TYPE}/"
d356 11
a366 11
	    -e "/@@NCURSES_MAJOR@@/s//${NCURSES_MAJOR}/" \
	    -e "/@@NCURSES_MINOR@@/s//${NCURSES_MINOR}/" \
	    -e "/@@NCURSES_PATCH@@/s//${NCURSES_PATCH}/" \
	    -e "/@@NCURSES_CONST@@/s//${NCURSES_CONST}/" \
	    -e "s/@@cf_cv_builtin_bool@@/${BUILTIN_BOOL}/g" \
	    -e "s/@@cf_cv_cc_bool_type@@/${BOOL_TYPE}/g" \
	    -e "s/@@cf_cv_type_of_bool@@/${TYPE_OF_BOOL}/g" \
	    -e "s/@@cf_cv_typeof_chtype@@/${TYPEOF_CHTYPE}/g" \
	    -e "s/@@cf_cv_widec_shift@@/${WIDEC_SHIFT}/g" \
	    -e "s/@@cf_cv_shift_limit@@/${SHIFT_LIMIT}/g" \
	    -e "s/@@cf_cv_1UL@@/${ONEUL}/g"
d370 2
a371 2
	    -e "/@@NCURSES_MAJOR@@/s//${NCURSES_MAJOR}/" \
	    -e "/@@NCURSES_MINOR@@/s//${NCURSES_MINOR}/"
d379 1
a379 1
MANFILTER=	sed -e 's\#@@DATADIR@@\#${TERMINFODIR}/terminfo\#g'
d393 1
a393 1
	dft_fgbg.3x keybound.3x keyok.3x ncurses.3x resizeterm.3x wresize.3x
@


1.45
log
@Add some missing functions in MLINKS. Link assume_default_colors.3
and use_default_colors.3 to default_colors.3 instead of dft_fgbg.3.
The former seems to be newer and/or better maintained.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.44 2000/10/11 11:25:47 peter Exp $
d379 1
a379 1
MAN3x=	curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
d392 2
a393 2
MAN5=	term.5 terminfo.5
MAN7=	term.7
d395 5
a399 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}
a546 2

.SUFFIXES: .3x .3
@


1.44
log
@Fix a buildworld hiccup with build-tools that wasn't present in standalone
library builds.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.43 2000/10/11 08:07:28 peter Exp $
d415 2
a416 1
MLINKS+=curs_attr.3 attr_get.3 curs_attr.3 attr_off.3 curs_attr.3 attr_on.3 \
d429 2
a430 1
	curs_border.3 mvhline.3 curs_border.3 mvwhline.3 \
d436 2
a437 1
MLINKS+=curs_color.3 can_change_color.3 curs_color.3 color_content.3 \
d486 2
a487 1
MLINKS+=curs_mouse.3 getmouse.3 curs_mouse.3 mouseinterval.3 \
d544 2
a545 1
MLINKS+=dft_fgbg.3 use_default_colors.3
@


1.43
log
@Update bmake glue after ncurses 5.1-20001009 import.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.42 2000/08/04 15:38:32 ru Exp $
d332 1
a332 1
make_hash:	comp_hash.c hashsize.h curses.h
@


1.42
log
@src/Makefile.inc1 sets DESTDIR=${WORLDTMP} for `buildworld' stage
causing pre-processed manual pages, like terminfo(5), to point to
the temporary build tree.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.41 2000/07/03 09:47:47 peter Exp $
d54 1
d168 1
d198 1
d303 4
d329 1
a329 1
make_keys:	make_keys.c names.c curses.h
d389 2
a390 1
	curs_touch.3x curs_util.3x curs_window.3x define_key.3x \
@


1.41
log
@Add new man pages
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.40 2000/07/03 09:40:52 peter Exp $
d11 1
a11 1
TERMINFODIR?=	${DESTDIR}/usr/share/misc
@


1.40
log
@Get this to compile in the 5.1-20000701-prerelease environment.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39 2000/03/02 08:23:23 peter Exp $
d374 2
a375 1
	curs_delch.3x curs_deleteln.3x curs_getch.3x curs_getstr.3x \
d435 1
@


1.39
log
@Make a link from curses.3 -> ncurses.3 so that 'man 3 curses' does
something remotely useful.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.38 2000/01/26 16:51:36 peter Exp $
d19 1
a19 1
NCURSES_XNAMES=	0
@


1.39.2.1
log
@MFC: ncurses 5.1 prerelease (20000701)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.41 2000/07/03 09:47:47 peter Exp $
d19 1
a19 1
NCURSES_XNAMES=	1
d374 1
a374 2
	curs_delch.3x curs_deleteln.3x curs_extend.3x curs_getch.3x \
	curs_getstr.3x \
a433 1
MLINKS+=curs_extend.3 curses_version.3 curs_extend.3 use_extended_names.3
@


1.39.2.2
log
@MFC: (rev 1.42) fix the DESTDIR abuse.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.1 2000/07/10 09:54:51 ps Exp $
d11 1
a11 1
TERMINFODIR?=	${SHAREDIR}/misc
@


1.39.2.3
log
@MFC: ncurses 5.1-20001009
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.2 2000/08/17 07:30:34 ru Exp $
a53 1
	ncurses_def.h \
a166 1
	lib_tgoto.c \
a195 1
	strings.c \
a299 4
ncurses_def.h:	MKncurses_def.sh ncurses_defs
	AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
	    ${NCURSES}/include/ncurses_defs > ncurses_def.h

d322 1
a322 1
make_keys:	make_keys.c names.c curses.h ncurses_def.h
d325 1
a325 1
make_hash:	comp_hash.c hashsize.h curses.h ncurses_def.h
d382 1
a382 2
	curs_touch.3x curs_trace.3x curs_util.3x curs_window.3x \
	default_colors.3x define_key.3x \
@


1.39.2.4
log
@MFC: Install missing manpages, add missing functions to MLINKS.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.3 2000/10/12 18:41:06 peter Exp $
d415 1
a415 2
MLINKS+=curs_attr.3 PAIR_NUMBER.3 \
	curs_attr.3 attr_get.3 curs_attr.3 attr_off.3 curs_attr.3 attr_on.3 \
d428 1
a428 2
	curs_border.3 mvhline.3 curs_border.3 mvvline.3 \
	curs_border.3 mvwhline.3 \
d434 1
a434 2
MLINKS+=curs_color.3 COLOR_PAIR.3 \
	curs_color.3 can_change_color.3 curs_color.3 color_content.3 \
d483 1
a483 2
MLINKS+=curs_mouse.3 getmouse.3 curs_mouse.3 mouse_trafo.3 \
	curs_mouse.3 mouseinterval.3 \
d540 1
a540 2
MLINKS+=default_colors.3 assume_default_colors.3 \
	default_colors.3 use_default_colors.3
@


1.39.2.5
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.4 2000/12/07 12:23:57 tg Exp $
d379 1
a379 1
MANx=	curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
d392 2
a393 2
MAN=	term.5 terminfo.5
MAN+=	term.7
d395 6
a400 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}
d548 2
@


1.39.2.6
log
@MFC: 1.48: fix termcap(5) filter
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.5 2001/04/25 10:04:34 ru Exp $
d377 1
a377 1
MANFILTER=	sed -e 's\#@@TERMINFO@@\#${TERMINFODIR}/terminfo\#g'
@


1.39.2.7
log
@*** empty log message ***
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.6 2001/05/17 08:49:44 peter Exp $
d18 1
a18 1
NCURSES_CONST=	const
@


1.39.2.8
log
@Revert accidental commit.  (wrong branch)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.7 2001/06/12 01:11:31 peter Exp $
d18 1
a18 1
NCURSES_CONST=	
@


1.39.2.9
log
@MFC: create curs_termcap.3 --> termcap.3 MLINK.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.8 2001/06/12 01:49:32 peter Exp $
d521 3
a523 4
MLINKS+=curs_termcap.3 termcap.3 curs_termcap.3 tgetent.3 \
	curs_termcap.3 tgetflag.3 curs_termcap.3 tgetnum.3 \
	curs_termcap.3 tgetstr.3 curs_termcap.3 tgoto.3 \
	curs_termcap.3 tputs.3
@


1.39.2.10
log
@Make downgrading from 5.0-CURRENT to 4.4-RELEASE work.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.9 2001/06/14 10:56:09 sobomax Exp $
d329 1
a329 1
make_keys:	make_keys.c names.c ncurses_def.h ${HEADERS}
d332 1
a332 1
make_hash:	comp_hash.c hashsize.h ncurses_def.h ${HEADERS}
@


1.39.2.11
log
@MFC: s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d1 1
a1 1
# $FreeBSD$
d255 1
a255 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${HEADERS} \
d264 1
a264 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
@


1.39.2.12
log
@MFC: bsd.incs.mk support and assorted header fixes:

Install sys/<arch>/include/pc/*.h to /usr/include/machine/pc/.

Install sys/netatm/*/*.h to /usr/include/netatm/*/.

Don't install compatibility symlinks for <machine/soundcard.h>
and <machine/joystick.h>.

Don't install IPFILTER headers.  Userland utilities fetch them
directly, and they were not visible in the SHARED=symlinks case.

Resurrect SHARED=symlinks in Makefile.inc1.

PR:		docs/29534, bin/28002
@
text
@d38 2
a39 2
CFLAGS+=-I. -I${.CURDIR} -I${NCURSES}/ncurses -I${NCURSES}/include
CFLAGS+=-Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS
a62 2
INCS=	${HEADERS}
INCSLINKS= curses.h ${INCLUDEDIR}/ncurses.h
d254 6
d282 1
a282 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
d308 1
a308 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
@


1.39.2.13
log
@MFC: Drop support for COPY.
@
text
@d260 1
a260 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
@


1.39.2.14
log
@MFC: 1.73: Unbreak the NOINSTALLLIB install.
@
text
@a218 1
.if !defined(NOINSTALLLIB)
a223 1
.endif
@


1.38
log
@Add the new version.c file for curses_version(3)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.37 2000/01/11 12:51:55 green Exp $
d395 1
@


1.37
log
@This is the second half of unbreaking the world build.  Add a -DNOHTML
corollary for -DNOINFO and -DNOMAN.  I'll fix this properly (add
specific HTML doc magic) in the .mk files later; right now, just
unbreak the world.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.36 2000/01/11 12:37:52 green Exp $
d201 1
@


1.36
log
@*draws his sword*
I smite thee, vile buildworld breakage!

The story is that these were added to beforeinstall improperly.  In our
beforeinstall, a full mtree has not been populated.  Since the tree is
not populated, we explode from missing directories on doc install.  It
should not be done in beforeinstall (includes) anyway.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.35 2000/01/10 12:12:51 phantom Exp $
d256 1
d263 1
@


1.35
log
@Install html files to /usr/share/doc/ncurses/
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.34 1999/12/20 10:37:55 marcel Exp $
d256 1
@


1.34
log
@Make sure curses.h is generated when making build-tools make_keys
and make_hash depend on it.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.33 1999/12/13 21:25:08 marcel Exp $
d247 3
d255 6
@


1.33
log
@Add a `build-tools' target for make_hash and make_keys.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.32 1999/12/11 13:38:04 marcel Exp $
d309 1
a309 1
make_keys:	make_keys.c names.c
d312 1
a312 1
make_hash:	comp_hash.c hashsize.h
@


1.32
log
@Install include files with mode 444.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.31 1999/11/30 05:56:12 peter Exp $
d307 2
@


1.31
log
@EEK!  termios mode wasn't activated..

Noticed by:	Christian Weisgerber <naddy@@mips.rhein-neckar.de>
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.30 1999/09/26 19:11:04 peter Exp $
d248 1
a248 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${HEADERS} \
@


1.30
log
@Try and catch a make -j problem in 'make depend'.

Tested by:	Dirk-Willem van Gulik <dirkx@@va-179.skylink.it>
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.29 1999/09/01 05:14:57 peter Exp $
d39 1
a39 1
CFLAGS+=${INCS} -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H
@


1.29
log
@Add a missing dependency for make_hash which could make various forms of
make -jN fail.  This fixes the present problem only, not the larger one
of when those internal tools are built and the cross-compiling etc.

Submitted by:	luoqi
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.28 1999/08/30 23:15:40 dt Exp $
d256 2
@


1.28
log
@Make SYMLINKS relative. SYMLINKS are supposed to be relative, and for this
reason ${DESTDIR} isn't added to the symlink source.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.27 1999/08/30 07:56:55 peter Exp $
d308 1
a308 1
make_hash:	comp_hash.c
@


1.27
log
@Use src/contrib/ncurses, v5.0.990821 prerelease.

This isn't quite finished yet, there are still some unresolved problems
with ospeed and the sgtty.h (non-posix) terminal interface.  Mostly
this only causes problems with src/games.

The other tools and libraries (libform,libpanel,libmenu) will come
shortly but are seperate.

Beware, there be dragons here!  (The build will be broken for a short
while)
@
text
@d1 1
a1 1
# $FreeBSD$
d213 5
a217 5
SYMLINKS+=${LIBDIR}/libncurses.a ${LIBDIR}/libcurses.a
SYMLINKS+=${LIBDIR}/libncurses.a ${LIBDIR}/libtermcap.a
SYMLINKS+=${LIBDIR}/libncurses.a ${LIBDIR}/libtermlib.a
SYMLINKS+=${LIBDIR}/libncurses.a ${LIBDIR}/libmytinfo.a
SYMLINKS+=${LIBDIR}/libncurses.a ${LIBDIR}/libtinfo.a
d220 10
a229 10
SYMLINKS+=${SHLIBDIR}/libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  ${SHLIBDIR}/libcurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=${SHLIBDIR}/libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  ${SHLIBDIR}/libtermcap.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=${SHLIBDIR}/libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  ${SHLIBDIR}/libtermlib.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=${SHLIBDIR}/libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  ${SHLIBDIR}/libmytinfo.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=${SHLIBDIR}/libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  ${SHLIBDIR}/libtinfo.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
d232 5
a236 5
SYMLINKS+=${SHLIBDIR}/libncurses.so ${SHLIBDIR}/libcurses.so
SYMLINKS+=${SHLIBDIR}/libncurses.so ${SHLIBDIR}/libtermcap.so
SYMLINKS+=${SHLIBDIR}/libncurses.so ${SHLIBDIR}/libtermlib.so
SYMLINKS+=${SHLIBDIR}/libncurses.so ${SHLIBDIR}/libmytinfo.so
SYMLINKS+=${SHLIBDIR}/libncurses.so ${SHLIBDIR}/libtinfo.so
d240 5
a244 5
SYMLINKS+=${LIBDIR}/libncurses_p.a ${LIBDIR}/libcurses_p.a
SYMLINKS+=${LIBDIR}/libncurses_p.a ${LIBDIR}/libtermcap_p.a
SYMLINKS+=${LIBDIR}/libncurses_p.a ${LIBDIR}/libtermlib_p.a
SYMLINKS+=${LIBDIR}/libncurses_p.a ${LIBDIR}/libmytinfo_p.a
SYMLINKS+=${LIBDIR}/libncurses_p.a ${LIBDIR}/libtinfo_p.a
@


1.26
log
@$Id$ -> $FreeBSD$
@
text
@a0 1
# Makefile for ncurses
d3 394
a396 90
LIB=    ncurses
SHLIB_MAJOR= 3
SHLIB_MINOR= 1
SRCS=   lib_kernel.c lib_pad.c lib_bkgd.c \
	lib_unctrl.c lib_raw.c lib_vidattr.c lib_trace.c lib_beep.c \
	lib_doupdate.c lib_refresh.c lib_initscr.c lib_newwin.c lib_addch.c \
	lib_addstr.c lib_scroll.c lib_clreol.c lib_touch.c lib_mvcur.c \
	lib_keyname.c keys.tries.h \
	lib_delwin.c lib_endwin.c lib_clrbot.c lib_move.c lib_printw.c \
	lib_scanw.c lib_erase.c lib_getch.c lib_options.c lib_acs.c lib_slk.c\
	lib_box.c lib_clear.c lib_delch.c lib_insch.c lib_instr.c \
	lib_getstr.c lib_mvwin.c lib_longname.c lib_tstp.c \
	lib_newterm.c lib_set_term.c lib_overlay.c lib_scrreg.c lib_color.c \
	lib_insstr.c lib_insdel.c lib_twait.c lib_window.c copyright.c

CFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO #-DTRACE
DPADD=	${LIBMYTINFO}
LDADD=	-lmytinfo

CLEANFILES+= lib_keyname.c keys.tries.h

beforeinstall:
	${INSTALL} -C -m 444 -o $(BINOWN) -g $(BINGRP) ${.CURDIR}/unctrl.h \
		${DESTDIR}/usr/include
	${INSTALL} -C -m 444 -o $(BINOWN) -g $(BINGRP) ${.CURDIR}/curses.h \
		${DESTDIR}/usr/include/ncurses.h

keys.tries.h: ${.CURDIR}/keys.list ${.CURDIR}/MKkeys.awk
	awk -f ${.CURDIR}/MKkeys.awk ${.CURDIR}/keys.list > keys.tries.h

lib_keyname.c: ${.CURDIR}/keys.list ${.CURDIR}/MKkeyname.awk
	awk -f ${.CURDIR}/MKkeyname.awk ${.CURDIR}/keys.list > lib_keyname.c

MAN3 =  curs_addch.3 \
	curs_addchst.3 \
	curs_addstr.3 \
	curs_attr.3 \
	curs_beep.3 \
	curs_bkgd.3 \
	curs_border.3 \
	curs_clear.3 \
	curs_color.3 \
	curs_delch.3 \
	curs_delln.3 \
	curs_getch.3 \
	curs_getstr.3 \
	curs_getyx.3 \
	curs_inch.3  \
	curs_inchstr.3 \
	curs_initscr.3 \
	curs_inopts.3 \
	curs_insch.3 \
	curs_insstr.3 \
	curs_instr.3 \
	curs_kernel.3 \
	curs_move.3 \
	curs_outopts.3 \
	curs_overlay.3 \
	curs_pad.3 \
	curs_printw.3 \
	curs_refresh.3 \
	curs_scanw.3 \
	curs_scr_dmp.3 \
	curs_scroll.3 \
	curs_slk.3 \
	curs_termatt.3 \
	curs_termin.3 \
	curs_touch.3 \
	curs_util.3 \
	curs_window.3 \
	ncurses.3

MAN5 =  term.5

MLINKS+=curs_addch.3 addch.3 curs_addch.3 waddch.3 curs_addch.3 echochar.3 \
	curs_addch.3 wechochar.3 curs_addch.3 mvaddch.3 \
	curs_addch.3 mvwaddch.3 
MLINKS+=curs_addchst.3 addchstr.3 curs_addchst.3 addchnstr.3 \
	curs_addchst.3 waddchstr.3 curs_addchst.3 waddchnstr.3 \
	curs_addchst.3 mvaddchstr.3 curs_addchst.3 mvaddchnstr.3 \
	curs_addchst.3 mvwaddchstr.3 curs_addchst.3 mvwaddchnstr.3
MLINKS+=curs_addstr.3 addstr.3 curs_addstr.3 addnstr.3 \
	curs_addstr.3 waddstr.3 curs_addstr.3 waddnstr.3 \
	curs_addstr.3 mvaddstr.3 curs_addstr.3 mvaddnstr.3 \
	curs_addstr.3 mvwaddstr.3 curs_addstr.3 mvwaddnstr.3
MLINKS+=curs_attr.3 attroff.3 curs_attr.3 wattroff.3 \
	curs_attr.3 attron.3 curs_attr.3 wattron.3 \
	curs_attr.3 attrset.3 curs_attr.3 wattrset.3 \
	curs_attr.3 standend.3 curs_attr.3 wstandend.3 \
	curs_attr.3 standout.3 curs_attr.3 wstandout.3
d398 36
a433 36
MLINKS+=curs_bkgd.3 bkgdset.3 curs_bkgd.3 wbkgdset.3 \
	curs_bkgd.3 bkgd.3 curs_bkgd.3 wbkgd.3
MLINKS+=curs_border.3 border.3 curs_border.3 wborder.3 curs_border.3 box.3 \
	curs_border.3 hline.3 curs_border.3 whline.3 \
	curs_border.3 vline.3 curs_border.3 wvline.3
MLINKS+=curs_clear.3 erase.3 curs_clear.3 werase.3 curs_clear.3 clear.3 \
	curs_clear.3 wclear.3 curs_clear.3 clrtobot.3 \
	curs_clear.3 wclrtobot.3 curs_clear.3 clrtoeol.3 \
	curs_clear.3 wclrtoeol.3
MLINKS+=curs_color.3 start_color.3 curs_color.3 init_pair.3 \
	curs_color.3 init_color.3 curs_color.3 has_colors.3 \
	curs_color.3 can_change_color.3 curs_color.3 color_content.3 \
	curs_color.3 pair_content.3
MLINKS+=curs_delch.3 delch.3 curs_delch.3 wdelch.3 curs_delch.3 mvdelch.3 \
	curs_delch.3 mvwdelch.3
MLINKS+=curs_delln.3 deleteln.3 curs_delln.3 wdeleteln.3 \
	curs_delln.3 insdelln.3 curs_delln.3 winsdelln.3 \
	curs_delln.3 insertln.3 curs_delln.3 winsertln.3
MLINKS+=curs_getch.3 getch.3 curs_getch.3 wgetch.3 curs_getch.3 mvgetch.3 \
	curs_getch.3 mvwgetch.3 curs_getch.3 ungetch.3
MLINKS+=curs_getstr.3 getstr.3 curs_getstr.3 wgetstr.3 \
	curs_getstr.3 mvgetstr.3 curs_getstr.3 mvwgetstr.3 \
	curs_getstr.3 wgetnstr.3
MLINKS+=curs_getyx.3 getyx.3 curs_getyx.3 pgetparyx.3 curs_getyx.3 getbegyx.3 \
	curs_getyx.3 getmaxyx.3
MLINKS+=curs_inch.3 inch.3 curs_inch.3 winch.3 curs_inch.3 mvinch.3 \
	curs_inch.3 mvwinch.3
MLINKS+=curs_inchstr.3 inchstr.3 curs_inchstr.3 inchnstr.3 \
	curs_inchstr.3 winchstr.3 curs_inchstr.3 winchnstr.3 \
	curs_inchstr.3 mvinchstr.3 curs_inchstr.3 mvinchnstr.3 \
	curs_inchstr.3 mvwinchstr.3 curs_inchstr.3 mvwinchnstr.3
MLINKS+=curs_initscr.3 initscr.3 curs_initscr.3 newterm.3 \
	curs_initscr.3 endwin.3 curs_initscr.3 isendwin.3 \
	curs_initscr.3 set_term.3 curs_initscr.3 delscreen.3
MLINKS+=curs_inopts.3 cbreak.3 curs_inopts.3 nocbreak.3 curs_inopts.3 echo.3 \
	curs_inopts.3 noecho.3 curs_inopts.3 halfdelay.3 \
d435 23
a457 19
	curs_inopts.3 nodelay.3 curs_inopts.3 notimeout.3 curs_inopts.3 raw.3 \
	curs_inopts.3 noraw.3 curs_inopts.3 noqiflush.3 \
	curs_inopts.3 qiflush.3 curs_inopts.3 timeout.3 \
	curs_inopts.3 wtimeout.3 curs_inopts.3 typeahead.3
MLINKS+=curs_insch.3 insch.3 curs_insch.3 winsch.3 curs_insch.3 mvinsch.3 \
	curs_insch.3 mvwinsch.3
MLINKS+=curs_insstr.3 insstr.3 curs_insstr.3 insnstr.3 \
	curs_insstr.3 winsstr.3 curs_insstr.3 winsnstr.3 \
	curs_insstr.3 mvinsstr.3 curs_insstr.3 mvinsnstr.3 \
	curs_insstr.3 mvwinsstr.3 curs_insstr.3 mvwinsnstr.3
MLINKS+=curs_instr.3 instr.3 curs_instr.3 innstr.3 curs_instr.3 winstr.3 \
	curs_instr.3 winnstr.3 curs_instr.3 mvinstr.3 curs_instr.3 mvinnstr.3 \
	curs_instr.3 mvwinstr.3 curs_instr.3 mvwinnstr.3
MLINKS+=curs_kernel.3 def_prog_mode.3 curs_kernel.3 def_shell_mode.3 \
	curs_kernel.3 reset_prog_mode.3 curs_kernel.3 reset_shell_mode.3 \
	curs_kernel.3 resetty.3 curs_kernel.3 savetty.3 \
	curs_kernel.3 getsyx.3 curs_kernel.3 setsyx.3 \
	curs_kernel.3 ripoffline.3 curs_kernel.3 curs_set.3 \
	curs_kernel.3 napms.3
d459 54
a512 52
MLINKS+=curs_outopts.3 clearok.3 curs_outopts.3 idlok.3 \
	curs_outopts.3 idcok.3 curs_outopts.3 immedok.3 \
	curs_outopts.3 leaveok.3 curs_outopts.3 setscrreg.3 \
	curs_outopts.3 wsetscrreg.3 curs_outopts.3 scrollok.3 \
	curs_outopts.3 nl.3 curs_outopts.3 nonl.3
MLINKS+=curs_overlay.3 overlay.3 curs_overlay.3 overwrite.3 \
	curs_overlay.3 copywin.3
MLINKS+=curs_pad.3 newpad.3 curs_pad.3 subpad.3 curs_pad.3 prefresh.3 \
	curs_pad.3 pnoutrefresh.3 curs_pad.3 pechochar.3
MLINKS+=curs_printw.3 printw.3 curs_printw.3 wprintw.3 \
	curs_printw.3 mvprintw.3 curs_printw.3 mvwprintw.3 \
	curs_printw.3 vwprintw.3
MLINKS+=curs_refresh.3 refresh.3 curs_refresh.3 wrefresh.3 \
	curs_refresh.3 wnoutrefresh.3 curs_refresh.3 doupdate.3 \
	curs_refresh.3 redrawwin.3 curs_refresh.3 wredrawln.3
MLINKS+=curs_scanw.3 scanw.3 curs_scanw.3 wscanw.3 curs_scanw.3 mvscanw.3 \
	curs_scanw.3 mvwscanw.3 curs_scanw.3 vwscanw.3
MLINKS+=curs_scr_dmp.3 scr_dump.3 curs_scr_dmp.3 scr_restore.3 \
	curs_scr_dmp.3 scr_init.3 curs_scr_dmp.3 scr_set.3
MLINKS+=curs_scroll.3 scroll.3 curs_scroll.3 scrl.3 curs_scroll.3 wscrl.3
MLINKS+=curs_slk.3 slk_init.3 curs_slk.3 slk_set.3 curs_slk.3 slk_refresh.3 \
	curs_slk.3 slk_noutrefresh.3 curs_slk.3 slk_label.3 \
	curs_slk.3 slk_clear.3 curs_slk.3 slk_restore.3 \
	curs_slk.3 slk_touch.3 curs_slk.3 slk_attron.3 \
	curs_slk.3 slk_attrset.3 curs_slk.3 slk_attroff.3
MLINKS+=curs_termatt.3 baudrate.3 curs_termatt.3 erasechar.3 \
	curs_termatt.3 has_ic.3 curs_termatt.3 has_il.3 \
	curs_termatt.3 killchar.3 curs_termatt.3 longname.3 \
	curs_termatt.3 termattrs.3 curs_termatt.3 termname.3

# XXX name clash with termcap(3)
# MLINKS+= curs_termin.3 tparm.3 
MLINKS+=curs_termin.3 setupterm.3 curs_termin.3 setterm.3 \
	curs_termin.3 set_curterm.3 curs_termin.3 del_curterm.3 \
	curs_termin.3 restartterm.3 \
	curs_termin.3 putp.3 curs_termin.3 vidputs.3 \
	curs_termin.3 vidattr.3 curs_termin.3 mvcur.3 \
	curs_termin.3 tigetflag.3 curs_termin.3 tigetnum.3 \
	curs_termin.3 tigetstr.3
MLINKS+=curs_touch.3 touchwin.3 curs_touch.3 touchline.3 \
	curs_touch.3 untouchwin.3 curs_touch.3 wtouchln.3 \
	curs_touch.3 is_linetouched.3 curs_touch.3 is_wintouched.3
MLINKS+=curs_util.3 unctrl.3 curs_util.3 keyname.3 \
	curs_util.3 filter.3 curs_util.3 use_env.3 \
	curs_util.3 putwin.3 curs_util.3 getwin.3 \
	curs_util.3 delay_output.3 curs_util.3 flushinp.3
MLINKS+=curs_window.3 newwin.3 curs_window.3 delwin.3 \
	curs_window.3 mvwin.3 curs_window.3 subwin.3 \
	curs_window.3 derwin.3 curs_window.3 mvderwin.3 \
	curs_window.3 dupwin.3 curs_window.3 wsyncup.3 \
	curs_window.3 syncok.3 curs_window.3 wcursyncup.3 \
	curs_window.3 wsyncdown.3
d515 2
@


1.25
log
@Renamed the generated include file keys.tries to keys.tries.h so
that it can be put in SRCS for dependency generation to work
properly.  Don't use beforedepend, as usual.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.24 1997/10/20 17:53:54 ache Exp $
@


1.25.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.24
log
@Remove terminfo manpage we don't have it
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.23 1997/08/25 07:41:13 ache Exp $
d10 2
a11 1
	lib_addstr.c lib_scroll.c lib_clreol.c lib_touch.c lib_mvcur.c lib_keyname.c\
d23 1
a23 3
CLEANFILES+= lib_keyname.c keys.tries

beforedepend: keys.tries
d31 2
a32 5
keys.tries: ${.CURDIR}/keys.list ${.CURDIR}/MKkeys.awk
	awk -f ${.CURDIR}/MKkeys.awk ${.CURDIR}/keys.list > keys.tries

# in case you don't run make depend
lib_options.o lib_options.so lib_options.po: keys.tries
@


1.23
log
@Fix saving/restoring tty modes, allow initscr be called twice,
from ncurses 4.1
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.22 1997/08/24 19:09:32 ache Exp $
d80 1
a80 1
MAN5 =  term.5 terminfo.5
@


1.22
log
@Add winnstr family and fake resizeterm from ncurses 4.1 for compatibility
with recent applications.
Bump minor number.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.21 1997/02/22 15:07:38 peter Exp $
d18 1
a18 1
CFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO
@


1.21
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
# $Id$
d6 1
a6 1
SHLIB_MINOR= 0
d13 1
a13 1
	lib_box.c lib_clear.c lib_delch.c lib_insch.c \
@


1.20
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.19
log
@Fixed DPADD.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.18 1996/08/30 01:58:36 peter Exp $
@


1.19.2.1
log
@MFC: winnstr and resizeterm
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.19 1996/09/05 17:14:22 bde Exp $
d6 1
a6 1
SHLIB_MINOR= 1
d13 1
a13 1
	lib_box.c lib_clear.c lib_delch.c lib_insch.c lib_instr.c \
@


1.19.2.2
log
@MFC: saving/restoring tty modes, initscr twice
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.19.2.1 1997/08/24 19:12:01 ache Exp $
d18 1
a18 1
CFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO #-DTRACE
@


1.19.2.3
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.18
log
@cmp -s || install -c ==> install -C
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.17 1996/08/26 09:25:20 peter Exp $
d19 2
a20 1
LDADD+=  -lmytinfo
@


1.17
log
@Delete -DGOOD_SELECT from CFLAGS, we don't have it.  This is used to
indicate that select() returns the leftover time remaining in the timeval
arg of select, we don't do that (yet :-).
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.16 1996/05/27 22:58:29 wosch Exp $
d26 4
a29 7
	@@cd ${.CURDIR}; for i in unctrl.h; do \
	  cmp -s $$i ${DESTDIR}/usr/include/$$i || \
	  $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
	  ${DESTDIR}/usr/include; done
	@@cd ${.CURDIR}; cmp -s curses.h ${DESTDIR}/usr/include/ncurses.h || \
	  $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \
	  ${DESTDIR}/usr/include/ncurses.h
@


1.16
log
@remove MLINKS tparm.3 due name clash with libtermcap
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.15 1996/02/09 00:45:32 mpp Exp $
d18 1
a18 1
CFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO -DGOOD_SELECT
@


1.15
log
@Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.14 1995/08/06 12:37:32 bde Exp $
d187 3
d192 1
a192 1
	curs_termin.3 restartterm.3 curs_termin.3 tparm.3 \
@


1.14
log
@Install source files with the -c flag, not with the optional flag ${COPY}.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.13 1995/05/08 16:08:49 ache Exp $
d83 124
@


1.13
log
@Bump major number instead of minor
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.12 1995/05/03 18:54:09 ache Exp $
d28 1
a28 1
	  $(INSTALL) $(COPY) -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
d31 1
a31 1
	  $(INSTALL) $(COPY) -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \
@


1.13.4.1
log
@Brought in changes from main branch: fix -c/COPY, install->${INSTALL}
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.13 1995/05/08 16:08:49 ache Exp $
d28 1
a28 1
	  $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
d31 1
a31 1
	  $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \
@


1.13.4.2
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.12
log
@Bump minor number
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.11 1995/04/20 21:35:51 ache Exp $
d5 2
a6 2
SHLIB_MAJOR= 2
SHLIB_MINOR= 1
@


1.11
log
@Add a bit more docs
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.10 1995/02/13 17:23:18 ache Exp $
d5 2
@


1.10
log
@Add missing lib_window.c to SRCS
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.9 1994/12/04 02:43:41 ache Exp $
d74 1
@


1.9
log
@termcap.h now belongs to system
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1994/12/02 06:39:03 ache Exp $
d14 1
a14 1
	lib_insstr.c lib_insdel.c lib_twait.c copyright.c
@


1.8
log
@Upgrade to version 1.8.6
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.7 1994/11/29 02:48:17 ache Exp $
d24 1
a24 1
	@@cd ${.CURDIR}; for i in unctrl.h termcap.h; do \
@


1.7
log
@wscrl: implement partial scrolling via al/dl
winsdel: implemented via wscrl
winsertln/deleteln: implemented as macros via winsdel
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.6 1994/10/28 06:56:55 ache Exp $
d5 1
a5 1
SRCS=   lib_kernel.c lib_pad.c\
d16 1
a16 1
CFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO -DTERMIOS -DGOOD_SELECT -DBSDTABS
d24 1
a24 1
	@@cd ${.CURDIR}; for i in ncurses.h unctrl.h termcap.h; do \
d28 3
@


1.6
log
@Add -I${.CURDIR}
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1994/10/12 01:59:06 ache Exp $
d11 2
a12 2
	lib_box.c lib_clear.c lib_delch.c lib_deleteln.c lib_insch.c \
	lib_insertln.c lib_getstr.c lib_mvwin.c lib_longname.c lib_tstp.c \
@


1.5
log
@LDADD: = -> +=
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.4 1994/10/12 01:51:27 ache Exp $
d16 1
a16 1
CFLAGS+= -I. -Wall -DMYTINFO -DTERMIOS -DGOOD_SELECT -DBSDTABS
@


1.4
log
@Fix two problems pointed by Bruce:
keys.tries generated in ${.CURDIR} which may be readonly
lib_options.{po,so} not properly rebuilded if keys.tries deleted
and no .depend
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1994/10/10 00:34:44 ache Exp $
d17 1
a17 1
LDADD=   -lmytinfo
@


1.3
log
@Merge term.h & nterm.h
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1994/10/09 09:27:53 ache Exp $
a4 3
INCDIR= /usr/include
CFLAGS+= -Wall -DMYTINFO -DTERMIOS -DGOOD_SELECT -DBSDTABS
SHARED_LDADD+= -lmytinfo
a14 1
CLEANFILES+= lib_keyname.c ${.CURDIR}/keys.tries
d16 6
a21 1
beforedepend: ${.CURDIR}/keys.tries
d25 3
a27 2
	  cmp -s $$i ${DESTDIR}${INCDIR}/$$i || \
	  $(INSTALL) $(COPY) -m 444 -o $(BINOWN) -g $(BINGRP) $$i ${DESTDIR}$(INCDIR); done
d29 2
a30 2
${.CURDIR}/keys.tries: keys.list MKkeys.awk
	awk -f ${.CURDIR}/MKkeys.awk ${.CURDIR}/keys.list > ${.CURDIR}/keys.tries
d33 1
a33 1
lib_options.o: ${.CURDIR}/keys.tries
d35 1
a35 1
lib_keyname.c: keys.list MKkeyname.awk
@


1.2
log
@Add copyright.c to be always linked in
@
text
@d2 1
a2 1
# $Id$
d23 1
a23 1
	@@cd ${.CURDIR}; for i in ncurses.h nterm.h unctrl.h termcap.h; do \
@


1.1
log
@Initial revision
@
text
@d1 3
d17 1
a17 1
	lib_insstr.c lib_insdel.c lib_twait.c
@


1.1.1.1
log
@Moved from ports with several enhancements
@
text
@@
