head	1.97;
access;
symbols
	RELENG_8_4:1.96.0.2
	RELENG_9_1_0_RELEASE:1.91.2.1.4.2
	RELENG_9_1:1.91.2.1.0.4
	RELENG_9_1_BP:1.91.2.1
	RELENG_8_3_0_RELEASE:1.78.2.3.4.1
	RELENG_8_3:1.78.2.3.0.4
	RELENG_8_3_BP:1.78.2.3
	RELENG_9_0_0_RELEASE:1.91.2.1.2.1
	RELENG_9_0:1.91.2.1.0.2
	RELENG_9_0_BP:1.91.2.1
	RELENG_9:1.91.0.2
	RELENG_9_BP:1.91
	RELENG_7_4_0_RELEASE:1.73.12.1
	RELENG_8_2_0_RELEASE:1.78.2.3.2.1
	RELENG_7_4:1.73.0.12
	RELENG_7_4_BP:1.73
	RELENG_8_2:1.78.2.3.0.2
	RELENG_8_2_BP:1.78.2.3
	RELENG_8_1_0_RELEASE:1.78.2.1.4.1
	RELENG_8_1:1.78.2.1.0.4
	RELENG_8_1_BP:1.78.2.1
	RELENG_7_3_0_RELEASE:1.73.10.1
	RELENG_7_3:1.73.0.10
	RELENG_7_3_BP:1.73
	RELENG_8_0_0_RELEASE:1.78.2.1.2.1
	RELENG_8_0:1.78.2.1.0.2
	RELENG_8_0_BP:1.78.2.1
	RELENG_8:1.78.0.2
	RELENG_8_BP:1.78
	RELENG_7_2_0_RELEASE:1.73.8.1
	RELENG_7_2:1.73.0.8
	RELENG_7_2_BP:1.73
	RELENG_7_1_0_RELEASE:1.73.6.1
	RELENG_6_4_0_RELEASE:1.56.2.3.4.1
	RELENG_7_1:1.73.0.6
	RELENG_7_1_BP:1.73
	RELENG_6_4:1.56.2.3.0.4
	RELENG_6_4_BP:1.56.2.3
	RELENG_7_0_0_RELEASE:1.73
	RELENG_6_3_0_RELEASE:1.56.2.3
	RELENG_7_0:1.73.0.4
	RELENG_7_0_BP:1.73
	RELENG_6_3:1.56.2.3.0.2
	RELENG_6_3_BP:1.56.2.3
	RELENG_7:1.73.0.2
	RELENG_7_BP:1.73
	RELENG_6_2_0_RELEASE:1.56.2.1
	RELENG_6_2:1.56.2.1.0.2
	RELENG_6_2_BP:1.56.2.1
	RELENG_5_5_0_RELEASE:1.52.2.2
	RELENG_5_5:1.52.2.2.0.4
	RELENG_5_5_BP:1.52.2.2
	RELENG_6_1_0_RELEASE:1.56
	RELENG_6_1:1.56.0.6
	RELENG_6_1_BP:1.56
	RELENG_6_0_0_RELEASE:1.56
	RELENG_6_0:1.56.0.4
	RELENG_6_0_BP:1.56
	RELENG_6:1.56.0.2
	RELENG_6_BP:1.56
	RELENG_5_4_0_RELEASE:1.52.2.2
	RELENG_5_4:1.52.2.2.0.2
	RELENG_5_4_BP:1.52.2.2
	RELENG_4_11_0_RELEASE:1.24
	RELENG_4_11:1.24.0.20
	RELENG_4_11_BP:1.24
	RELENG_5_3_0_RELEASE:1.52
	RELENG_5_3:1.52.0.4
	RELENG_5_3_BP:1.52
	RELENG_5:1.52.0.2
	RELENG_5_BP:1.52
	RELENG_4_10_0_RELEASE:1.24
	RELENG_4_10:1.24.0.18
	RELENG_4_10_BP:1.24
	RELENG_5_2_1_RELEASE:1.45
	RELENG_5_2_0_RELEASE:1.45
	RELENG_5_2:1.45.0.2
	RELENG_5_2_BP:1.45
	RELENG_4_9_0_RELEASE:1.24
	RELENG_4_9:1.24.0.16
	RELENG_4_9_BP:1.24
	RELENG_5_1_0_RELEASE:1.40
	RELENG_5_1:1.40.0.2
	RELENG_5_1_BP:1.40
	RELENG_4_8_0_RELEASE:1.24
	RELENG_4_8:1.24.0.14
	RELENG_4_8_BP:1.24
	RELENG_5_0_0_RELEASE:1.37
	RELENG_5_0:1.37.0.2
	RELENG_5_0_BP:1.37
	RELENG_4_7_0_RELEASE:1.24
	RELENG_4_7:1.24.0.12
	RELENG_4_7_BP:1.24
	RELENG_4_6_2_RELEASE:1.24
	RELENG_4_6_1_RELEASE:1.24
	RELENG_4_6_0_RELEASE:1.24
	RELENG_4_6:1.24.0.10
	RELENG_4_6_BP:1.24
	RELENG_4_5_0_RELEASE:1.24
	RELENG_4_5:1.24.0.8
	RELENG_4_5_BP:1.24
	RELENG_4_4_0_RELEASE:1.24
	RELENG_4_4:1.24.0.6
	RELENG_4_4_BP:1.24
	RELENG_4_3_0_RELEASE:1.24
	RELENG_4_3:1.24.0.4
	RELENG_4_3_BP:1.24
	RELENG_4_2_0_RELEASE:1.24
	RELENG_4_1_1_RELEASE:1.24
	PRE_SMPNG:1.24
	RELENG_4_1_0_RELEASE:1.24
	RELENG_3_5_0_RELEASE:1.22.2.1
	RELENG_4_0_0_RELEASE:1.24
	RELENG_4:1.24.0.2
	RELENG_4_BP:1.24
	RELENG_3_4_0_RELEASE:1.22.2.1
	RELENG_3_3_0_RELEASE:1.22.2.1
	RELENG_3_2_PAO:1.22.0.4
	RELENG_3_2_PAO_BP:1.22
	RELENG_3_2_0_RELEASE:1.22
	RELENG_3_1_0_RELEASE:1.22
	RELENG_3:1.22.0.2
	RELENG_3_BP:1.22
	RELENG_2_2_8_RELEASE:1.16.2.5
	RELENG_3_0_0_RELEASE:1.22
	RELENG_2_2_7_RELEASE:1.16.2.4
	RELENG_2_2_6_RELEASE:1.16.2.4
	RELENG_2_2_5_RELEASE:1.16.2.3
	RELENG_2_2_2_RELEASE:1.16.2.1
	RELENG_2_2_1_RELEASE:1.16
	RELENG_2_2_0_RELEASE:1.16
	bsd_44_lite_2:1.1.1.1
	RELENG_2_1_7_RELEASE:1.10.4.3
	RELENG_2_1_6_1_RELEASE:1.10.4.3
	RELENG_2_1_6_RELEASE:1.10.4.3
	RELENG_2_2:1.16.0.2
	RELENG_2_2_BP:1.16
	RELENG_2_1_5_RELEASE:1.10.4.3
	RELENG_2_1_0_RELEASE:1.10.4.1
	RELENG_2_1_0:1.10.0.4
	RELENG_2_1_0_BP:1.10
	RELENG_2_0_5_RELEASE:1.10
	RELENG_2_0_5:1.10.0.2
	RELENG_2_0_5_BP:1.10
	RELENG_2_0_5_ALPHA:1.10
	RELEASE_2_0:1.7
	BETA_2_0:1.7
	ALPHA_2_0:1.7.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.97
date	2013.06.13.00.41.33;	author svnexp;	state Exp;
branches;
next	1.96;

1.96
date	2012.11.17.01.49.21;	author svnexp;	state Exp;
branches
	1.96.2.1;
next	1.95;

1.95
date	2012.05.21.08.10.42;	author gleb;	state Exp;
branches;
next	1.94;

1.94
date	2012.05.19.17.49.20;	author marcel;	state Exp;
branches;
next	1.93;

1.93
date	2012.04.17.07.22.14;	author jasone;	state Exp;
branches;
next	1.92;

1.92
date	2012.01.03.07.14.01;	author ed;	state Exp;
branches;
next	1.91;

1.91
date	2011.02.25.00.04.39;	author gabor;	state Exp;
branches
	1.91.2.1;
next	1.90;

1.90
date	2011.01.27.14.16.12;	author jchandra;	state Exp;
branches;
next	1.89;

1.89
date	2011.01.07.20.26.33;	author imp;	state Exp;
branches;
next	1.88;

1.88
date	2010.09.25.01.57.47;	author davidxu;	state Exp;
branches;
next	1.87;

1.87
date	2010.08.25.20.48.24;	author nwhitehorn;	state Exp;
branches;
next	1.86;

1.86
date	2010.08.24.21.28.34;	author imp;	state Exp;
branches;
next	1.85;

1.85
date	2010.08.24.20.54.43;	author imp;	state Exp;
branches;
next	1.84;

1.84
date	2010.08.23.22.24.11;	author imp;	state Exp;
branches;
next	1.83;

1.83
date	2010.08.23.15.18.35;	author kib;	state Exp;
branches;
next	1.82;

1.82
date	2010.08.01.12.35.01;	author rpaulo;	state Exp;
branches;
next	1.81;

1.81
date	2010.07.10.14.45.03;	author nwhitehorn;	state Exp;
branches;
next	1.80;

1.80
date	2010.06.16.14.13.36;	author jchandra;	state Exp;
branches;
next	1.79;

1.79
date	2010.01.09.00.01.35;	author imp;	state Exp;
branches;
next	1.78;

1.78
date	2009.07.14.21.19.13;	author kan;	state Exp;
branches
	1.78.2.1;
next	1.77;

1.77
date	2009.06.29.01.33.59;	author kan;	state Exp;
branches;
next	1.76;

1.76
date	2009.06.28.23.51.39;	author kan;	state Exp;
branches;
next	1.75;

1.75
date	2009.03.13.10.40.38;	author gabor;	state Exp;
branches;
next	1.74;

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

1.73
date	2007.10.01.18.15.10;	author ru;	state Exp;
branches
	1.73.2.1
	1.73.6.1
	1.73.8.1
	1.73.10.1
	1.73.12.1;
next	1.72;

1.72
date	2007.05.19.16.38.39;	author kan;	state Exp;
branches;
next	1.71;

1.71
date	2007.05.19.04.32.56;	author kan;	state Exp;
branches;
next	1.70;

1.70
date	2007.05.13.14.12.38;	author deischen;	state Exp;
branches;
next	1.69;

1.69
date	2007.03.04.12.25.03;	author simon;	state Exp;
branches;
next	1.68;

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

1.67
date	2006.05.22.05.12.44;	author ache;	state Exp;
branches;
next	1.66;

1.66
date	2006.05.21.15.15.20;	author ume;	state Exp;
branches;
next	1.65;

1.65
date	2006.04.28.12.03.34;	author ume;	state Exp;
branches;
next	1.64;

1.64
date	2006.03.21.16.11.11;	author ume;	state Exp;
branches;
next	1.63;

1.63
date	2006.03.18.11.01.05;	author ru;	state Exp;
branches;
next	1.62;

1.62
date	2006.03.17.18.54.25;	author ru;	state Exp;
branches;
next	1.61;

1.61
date	2006.03.16.15.16.23;	author deischen;	state Exp;
branches;
next	1.60;

1.60
date	2006.03.16.14.22.19;	author ru;	state Exp;
branches;
next	1.59;

1.59
date	2006.03.13.00.56.02;	author deischen;	state Exp;
branches;
next	1.58;

1.58
date	2005.12.29.04.10.52;	author grehan;	state Exp;
branches;
next	1.57;

1.57
date	2005.08.06.16.53.54;	author phk;	state Exp;
branches;
next	1.56;

1.56
date	2005.01.15.05.23.56;	author das;	state Exp;
branches
	1.56.2.1;
next	1.55;

1.55
date	2004.11.13.20.40.28;	author bz;	state Exp;
branches;
next	1.54;

1.54
date	2004.10.24.15.32.30;	author ru;	state Exp;
branches;
next	1.53;

1.53
date	2004.10.17.01.52.48;	author tjr;	state Exp;
branches;
next	1.52;

1.52
date	2004.05.14.12.04.29;	author cognet;	state Exp;
branches
	1.52.2.1;
next	1.51;

1.51
date	2004.05.02.10.55.07;	author das;	state Exp;
branches;
next	1.50;

1.50
date	2004.01.19.16.16.53;	author nectar;	state Exp;
branches;
next	1.49;

1.49
date	2004.01.13.16.05.47;	author des;	state Exp;
branches;
next	1.48;

1.48
date	2004.01.11.10.42.47;	author ru;	state Exp;
branches;
next	1.47;

1.47
date	2003.12.11.09.53.25;	author bde;	state Exp;
branches;
next	1.46;

1.46
date	2003.12.10.16.33.17;	author mikeh;	state Exp;
branches;
next	1.45;

1.45
date	2003.11.17.04.20.02;	author nectar;	state Exp;
branches;
next	1.44;

1.44
date	2003.08.19.23.01.46;	author wollman;	state Exp;
branches;
next	1.43;

1.43
date	2003.08.18.15.25.38;	author obrien;	state Exp;
branches;
next	1.42;

1.42
date	2003.08.17.08.28.44;	author gordon;	state Exp;
branches;
next	1.41;

1.41
date	2003.07.01.15.07.01;	author ru;	state Exp;
branches;
next	1.40;

1.40
date	2003.03.13.18.55.14;	author obrien;	state Exp;
branches;
next	1.39;

1.39
date	2003.03.12.20.29.58;	author das;	state Exp;
branches;
next	1.38;

1.38
date	2003.02.08.20.37.47;	author mike;	state Exp;
branches;
next	1.37;

1.37
date	2002.11.18.09.50.54;	author ru;	state Exp;
branches;
next	1.36;

1.36
date	2002.10.11.22.38.16;	author peter;	state Exp;
branches;
next	1.35;

1.35
date	2002.09.28.00.25.28;	author peter;	state Exp;
branches;
next	1.34;

1.34
date	2002.03.26.23.09.34;	author obrien;	state Exp;
branches;
next	1.33;

1.33
date	2002.03.26.23.08.42;	author obrien;	state Exp;
branches;
next	1.32;

1.32
date	2002.03.23.20.08.00;	author obrien;	state Exp;
branches;
next	1.31;

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

1.30
date	2001.02.16.06.11.21;	author imp;	state Exp;
branches;
next	1.29;

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

1.28
date	2001.01.29.03.23.29;	author deischen;	state Exp;
branches;
next	1.27;

1.27
date	2001.01.26.02.27.06;	author deischen;	state Exp;
branches;
next	1.26;

1.26
date	2001.01.24.12.58.35;	author deischen;	state Exp;
branches;
next	1.25;

1.25
date	2000.11.14.02.46.22;	author obrien;	state Exp;
branches;
next	1.24;

1.24
date	99.09.29.15.18.29;	author marcel;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	99.08.27.23.58.06;	author peter;	state Exp;
branches;
next	1.22;

1.22
date	98.09.09.11.20.23;	author kato;	state Exp;
branches
	1.22.2.1;
next	1.21;

1.21
date	98.03.09.06.16.38;	author jb;	state Exp;
branches;
next	1.20;

1.20
date	98.02.12.01.44.53;	author nate;	state Exp;
branches;
next	1.19;

1.19
date	97.05.23.08.23.53;	author asami;	state Exp;
branches;
next	1.18;

1.18
date	97.05.03.03.49.51;	author jb;	state Exp;
branches;
next	1.17;

1.17
date	97.04.13.06.43.20;	author jkh;	state Exp;
branches;
next	1.16;

1.16
date	96.08.13.14.37.53;	author ache;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	96.08.13.10.00.35;	author ache;	state Exp;
branches;
next	1.14;

1.14
date	96.02.06.20.35.31;	author wollman;	state Exp;
branches;
next	1.13;

1.13
date	95.08.09.06.50.52;	author asami;	state Exp;
branches;
next	1.12;

1.12
date	95.08.06.12.40.57;	author bde;	state Exp;
branches;
next	1.11;

1.11
date	95.08.06.12.23.23;	author bde;	state Exp;
branches;
next	1.10;

1.10
date	95.03.30.12.46.36;	author jkh;	state Exp;
branches
	1.10.4.1;
next	1.9;

1.9
date	95.03.27.20.23.11;	author nate;	state Exp;
branches;
next	1.8;

1.8
date	95.01.23.01.22.08;	author davidg;	state Exp;
branches;
next	1.7;

1.7
date	94.09.13.21.25.43;	author wollman;	state Exp;
branches;
next	1.6;

1.6
date	94.08.26.18.59.39;	author wollman;	state Exp;
branches;
next	1.5;

1.5
date	94.08.22.10.49.05;	author davidg;	state Exp;
branches;
next	1.4;

1.4
date	94.08.07.23.04.45;	author wollman;	state Exp;
branches;
next	1.3;

1.3
date	94.08.07.22.20.58;	author wollman;	state Exp;
branches;
next	1.2;

1.2
date	94.08.05.01.16.21;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	94.05.27.04.56.29;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.96.2.1
date	2012.11.17.01.49.21;	author svnexp;	state dead;
branches;
next	1.96.2.2;

1.96.2.2
date	2013.03.28.13.02.56;	author svnexp;	state Exp;
branches;
next	;

1.91.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.91.2.1.2.1
	1.91.2.1.4.1;
next	1.91.2.2;

1.91.2.2
date	2012.11.17.11.36.16;	author svnexp;	state Exp;
branches;
next	;

1.91.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.91.2.1.2.2;

1.91.2.1.2.2
date	2012.11.17.08.36.17;	author svnexp;	state Exp;
branches;
next	;

1.91.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.91.2.1.4.2;

1.91.2.1.4.2
date	2012.11.17.08.47.06;	author svnexp;	state Exp;
branches;
next	;

1.78.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.78.2.1.2.1
	1.78.2.1.4.1;
next	1.78.2.2;

1.78.2.2
date	2010.08.26.11.25.09;	author kib;	state Exp;
branches;
next	1.78.2.3;

1.78.2.3
date	2010.11.27.12.26.40;	author jchandra;	state Exp;
branches
	1.78.2.3.2.1
	1.78.2.3.4.1;
next	1.78.2.4;

1.78.2.4
date	2012.11.17.10.36.01;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.78.2.3.4.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.78.2.3.4.2;

1.78.2.3.4.2
date	2012.11.17.08.24.42;	author svnexp;	state Exp;
branches;
next	;

1.73.2.1
date	2012.11.17.08.01.50;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.73.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.73.12.2;

1.73.12.2
date	2012.11.17.08.16.41;	author svnexp;	state Exp;
branches;
next	;

1.56.2.1
date	2006.07.17.10.09.55;	author ume;	state Exp;
branches;
next	1.56.2.2;

1.56.2.2
date	2007.01.07.00.12.24;	author marcel;	state Exp;
branches;
next	1.56.2.3;

1.56.2.3
date	2007.03.11.10.15.48;	author simon;	state Exp;
branches
	1.56.2.3.4.1;
next	1.56.2.4;

1.56.2.4
date	2012.11.17.07.39.36;	author svnexp;	state Exp;
branches;
next	;

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

1.52.2.1
date	2004.11.28.14.10.16;	author bz;	state Exp;
branches;
next	1.52.2.2;

1.52.2.2
date	2005.02.13.07.23.11;	author obrien;	state Exp;
branches;
next	;

1.24.2.1
date	2012.11.17.07.23.20;	author svnexp;	state Exp;
branches;
next	;

1.22.2.1
date	99.08.29.14.45.35;	author peter;	state Exp;
branches;
next	;

1.16.2.1
date	97.04.20.20.15.35;	author jkh;	state Exp;
branches;
next	1.16.2.2;

1.16.2.2
date	97.05.23.08.30.33;	author asami;	state Exp;
branches;
next	1.16.2.3;

1.16.2.3
date	97.06.23.23.12.42;	author julian;	state Exp;
branches;
next	1.16.2.4;

1.16.2.4
date	98.02.12.01.45.58;	author nate;	state Exp;
branches;
next	1.16.2.5;

1.16.2.5
date	98.11.04.08.42.00;	author tg;	state Exp;
branches;
next	1.16.2.6;

1.16.2.6
date	99.09.05.11.16.24;	author peter;	state Exp;
branches;
next	;

1.10.4.1
date	95.08.28.05.06.27;	author davidg;	state Exp;
branches;
next	1.10.4.2;

1.10.4.2
date	96.06.03.05.05.16;	author jkh;	state Exp;
branches;
next	1.10.4.3;

1.10.4.3
date	96.06.05.02.45.44;	author jkh;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.27.04.56.30;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.97
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251668
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#	@@(#)Makefile	8.2 (Berkeley) 2/3/94
# $FreeBSD: head/lib/libc/Makefile 251668 2013-06-12 21:12:05Z jlh $

SHLIBDIR?= /lib

.include <bsd.own.mk>

# Pick the current architecture directory for libc. In general, this is
# named MACHINE_CPUARCH, but some ABIs are different enough to require
# their own libc, so allow a directory named MACHINE_ARCH to override this.

.if exists(${.CURDIR}/${MACHINE_ARCH})
LIBC_ARCH=${MACHINE_ARCH}
.else
LIBC_ARCH=${MACHINE_CPUARCH}
.endif

# All library objects contain FreeBSD revision strings by default; they may be
# excluded as a space-saving measure.  To produce a library that does
# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS
# below.  Note: there are no IDs for syscall stubs whose sources are generated.
# To include legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS
# to CFLAGS below.  -DSYSLIBC_SCCS affects just the system call stubs.
LIB=c
SHLIB_MAJOR= 7
SHLIB_LDSCRIPT=libc.ldscript
WARNS?=	2
CFLAGS+=-I${.CURDIR}/include -I${.CURDIR}/../../include
CFLAGS+=-I${.CURDIR}/${LIBC_ARCH}
.if ${MK_NLS} != "no"
CFLAGS+=-DNLS
.endif
CLEANFILES+=tags
INSTALL_PIC_ARCHIVE=
PRECIOUSLIB=

.ifndef NO_THREAD_STACK_UNWIND
CANCELPOINTS_CFLAGS=-fexceptions
CFLAGS+=${CANCELPOINTS_CFLAGS}
.endif

#
# Only link with static libgcc.a (no libgcc_eh.a).
#
DPADD+=	${LIBGCC}
LDFLAGS+= -nodefaultlibs
LDADD+= -lgcc

.if ${MK_SSP} != "no"
LDADD+= -lssp_nonshared
.endif

# Define (empty) variables so that make doesn't give substitution
# errors if the included makefiles don't change these:
MDSRCS=
MISRCS=
MDASM=
MIASM=
NOASM=

.include "${.CURDIR}/${LIBC_ARCH}/Makefile.inc"
.include "${.CURDIR}/db/Makefile.inc"
.include "${.CURDIR}/compat-43/Makefile.inc"
.include "${.CURDIR}/gdtoa/Makefile.inc"
.include "${.CURDIR}/gen/Makefile.inc"
.include "${.CURDIR}/gmon/Makefile.inc"
.if ${MK_ICONV} != "no"
.include "${.CURDIR}/iconv/Makefile.inc"
.endif
.include "${.CURDIR}/inet/Makefile.inc"
.include "${.CURDIR}/isc/Makefile.inc"
.include "${.CURDIR}/locale/Makefile.inc"
.include "${.CURDIR}/nameser/Makefile.inc"
.include "${.CURDIR}/net/Makefile.inc"
.include "${.CURDIR}/nls/Makefile.inc"
.include "${.CURDIR}/posix1e/Makefile.inc"
.if ${LIBC_ARCH} != "amd64" && \
    ${LIBC_ARCH} != "ia64" && \
    ${LIBC_ARCH} != "powerpc64" && \
    ${LIBC_ARCH} != "sparc64" && \
    ${MACHINE_ARCH:Mmipsn32*} == "" && \
    ${MACHINE_ARCH:Mmips64*} == ""
.include "${.CURDIR}/quad/Makefile.inc"
.endif
.include "${.CURDIR}/regex/Makefile.inc"
.include "${.CURDIR}/resolv/Makefile.inc"
.include "${.CURDIR}/stdio/Makefile.inc"
.include "${.CURDIR}/stdlib/Makefile.inc"
.include "${.CURDIR}/stdlib/jemalloc/Makefile.inc"
.include "${.CURDIR}/stdtime/Makefile.inc"
.include "${.CURDIR}/string/Makefile.inc"
.include "${.CURDIR}/sys/Makefile.inc"
.include "${.CURDIR}/rpc/Makefile.inc"
.include "${.CURDIR}/uuid/Makefile.inc"
.include "${.CURDIR}/xdr/Makefile.inc"
.if ${LIBC_ARCH} == "arm" || ${LIBC_ARCH} == "mips"
.include "${.CURDIR}/softfloat/Makefile.inc"
.endif
.if ${MK_NIS} != "no"
CFLAGS+= -DYP
.include "${.CURDIR}/yp/Makefile.inc"
.endif
.if ${MK_HESIOD} != "no"
CFLAGS+= -DHESIOD
.endif
.if ${MK_FP_LIBC} == "no"
CFLAGS+= -DNO_FLOATING_POINT
.endif
.if ${MK_NS_CACHING} != "no"
CFLAGS+= -DNS_CACHING
.endif
.if defined(_FREEFALL_CONFIG)
CFLAGS+=-D_FREEFALL_CONFIG
.endif

VERSION_DEF=${.CURDIR}/Versions.def
SYMBOL_MAPS=${SYM_MAPS}
CFLAGS+= -DSYMBOL_VERSIONING

# If there are no machine dependent sources, append all the
# machine-independent sources:
.if empty(MDSRCS)
SRCS+=	${MISRCS}
.else
# Append machine-dependent sources, then append machine-independent sources
# for which there is no machine-dependent variant.
SRCS+=	${MDSRCS}
.for _src in ${MISRCS}
.if ${MDSRCS:R:M${_src:R}} == ""
SRCS+=	${_src}
.endif
.endfor
.endif

KQSRCS=	adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \
	lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \
	subdi3.c ucmpdi2.c udivdi3.c umoddi3.c xordi3.c
KSRCS=	bcmp.c ffs.c ffsl.c fls.c flsl.c mcount.c strcat.c strchr.c \
	strcmp.c strcpy.c strlen.c strncpy.c strrchr.c

libkern: libkern.gen libkern.${LIBC_ARCH}

libkern.gen: ${KQSRCS} ${KSRCS}
	cp -p ${.CURDIR}/quad/quad.h ${.ALLSRC} ${DESTDIR}/sys/libkern

libkern.${LIBC_ARCH}:: ${KMSRCS}
.if defined(KMSRCS) && !empty(KMSRCS)
	cp -p ${.ALLSRC} ${DESTDIR}/sys/libkern/${LIBC_ARCH}
.endif

.include <bsd.lib.mk>

# Disable warnings in contributed sources.
CWARNFLAGS:=	${.IMPSRC:Ngdtoa_*.c:C/^.+$/${CWARNFLAGS}/:C/^$/-w/}
# XXX For now, we don't allow libc to be compiled with
# -fstack-protector-all because it breaks rtld.  We may want to make a librtld
# in the future to circumvent this.
SSP_CFLAGS:=	${SSP_CFLAGS:S/^-fstack-protector-all$/-fstack-protector/}
# Disable stack protection for SSP symbols.
SSP_CFLAGS:=	${.IMPSRC:N*/stack_protector.c:C/^.+$/${SSP_CFLAGS}/}
# Generate stack unwinding tables for cancellation points
CANCELPOINTS_CFLAGS:=	${.IMPSRC:Mcancelpoints_*:C/^.+$/${CANCELPOINTS_CFLAGS}/:C/^$//}
@


1.96
log
@Switching exporter and resync
@
text
@d2 1
a2 1
# $FreeBSD: head/lib/libc/Makefile 235720 2012-05-21 08:10:42Z gleb $
d26 1
@


1.96.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:56 +0000
@
text
@d1 161
@


1.96.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 136
#	@@(#)Makefile	8.2 (Berkeley) 2/3/94
# $FreeBSD: releng/8.4/lib/libc/Makefile 215938 2010-11-27 12:26:40Z jchandra $

SHLIBDIR?= /lib

.include <bsd.own.mk>

# All library objects contain FreeBSD revision strings by default; they may be
# excluded as a space-saving measure.  To produce a library that does
# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS
# below.  Note: there are no IDs for syscall stubs whose sources are generated.
# To include legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS
# to CFLAGS below.  -DSYSLIBC_SCCS affects just the system call stubs.
LIB=c
SHLIB_MAJOR= 7
WARNS?=	2
CFLAGS+=-I${.CURDIR}/include -I${.CURDIR}/../../include
CFLAGS+=-I${.CURDIR}/${MACHINE_ARCH}
CFLAGS+=-DNLS
CLEANFILES+=tags
INSTALL_PIC_ARCHIVE=
PRECIOUSLIB=

#
# Only link with static libgcc.a (no libgcc_eh.a).
#
DPADD+=	${LIBGCC}
LDFLAGS+= -nodefaultlibs
LDADD+= -lgcc -lssp_nonshared

# Define (empty) variables so that make doesn't give substitution
# errors if the included makefiles don't change these:
MDSRCS=
MISRCS=
MDASM=
MIASM=
NOASM=

.include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc"
.include "${.CURDIR}/db/Makefile.inc"
.include "${.CURDIR}/compat-43/Makefile.inc"
.include "${.CURDIR}/gdtoa/Makefile.inc"
.include "${.CURDIR}/gen/Makefile.inc"
.include "${.CURDIR}/gmon/Makefile.inc"
.include "${.CURDIR}/inet/Makefile.inc"
.include "${.CURDIR}/isc/Makefile.inc"
.include "${.CURDIR}/locale/Makefile.inc"
.include "${.CURDIR}/nameser/Makefile.inc"
.include "${.CURDIR}/net/Makefile.inc"
.include "${.CURDIR}/nls/Makefile.inc"
.include "${.CURDIR}/posix1e/Makefile.inc"
.if ${MACHINE_ARCH} != "amd64" && \
    ${MACHINE_ARCH} != "ia64" && \
    ${MACHINE_ARCH} != "sparc64" && \
    ${MACHINE_ARCH} != "mips"
.include "${.CURDIR}/quad/Makefile.inc"
.endif
.if ${MACHINE_ARCH} == "mips" && \
    (!defined(TARGET_ABI) || ${TARGET_ABI} == "o32")
.include "${.CURDIR}/quad/Makefile.inc"
.endif
.include "${.CURDIR}/regex/Makefile.inc"
.include "${.CURDIR}/resolv/Makefile.inc"
.include "${.CURDIR}/stdio/Makefile.inc"
.include "${.CURDIR}/stdlib/Makefile.inc"
.include "${.CURDIR}/stdtime/Makefile.inc"
.include "${.CURDIR}/string/Makefile.inc"
.include "${.CURDIR}/sys/Makefile.inc"
.include "${.CURDIR}/rpc/Makefile.inc"
.include "${.CURDIR}/uuid/Makefile.inc"
.include "${.CURDIR}/xdr/Makefile.inc"
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "mips"
.include "${.CURDIR}/softfloat/Makefile.inc"
.endif
.if ${MK_NIS} != "no"
CFLAGS+= -DYP
.include "${.CURDIR}/yp/Makefile.inc"
.endif
.if ${MK_HESIOD} != "no"
CFLAGS+= -DHESIOD
.endif
.if ${MK_FP_LIBC} == "no"
CFLAGS+= -DNO_FLOATING_POINT
.endif
.if ${MK_NS_CACHING} != "no"
CFLAGS+= -DNS_CACHING
.endif
.if defined(_FREEFALL_CONFIG)
CFLAGS+=-D_FREEFALL_CONFIG
.endif

VERSION_DEF=${.CURDIR}/Versions.def
SYMBOL_MAPS=${SYM_MAPS}
CFLAGS+= -DSYMBOL_VERSIONING

# If there are no machine dependent sources, append all the
# machine-independent sources:
.if empty(MDSRCS)
SRCS+=	${MISRCS}
.else
# Append machine-dependent sources, then append machine-independent sources
# for which there is no machine-dependent variant.
SRCS+=	${MDSRCS}
.for _src in ${MISRCS}
.if ${MDSRCS:R:M${_src:R}} == ""
SRCS+=	${_src}
.endif
.endfor
.endif

KQSRCS=	adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \
	lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \
	subdi3.c ucmpdi2.c udivdi3.c umoddi3.c xordi3.c
KSRCS=	bcmp.c ffs.c ffsl.c fls.c flsl.c index.c mcount.c rindex.c \
	strcat.c strcmp.c strcpy.c strlen.c strncpy.c

libkern: libkern.gen libkern.${MACHINE_ARCH}

libkern.gen: ${KQSRCS} ${KSRCS}
	cp -p ${.CURDIR}/quad/quad.h ${.ALLSRC} ${DESTDIR}/sys/libkern

libkern.${MACHINE_ARCH}:: ${KMSRCS}
.if defined(KMSRCS) && !empty(KMSRCS)
	cp -p ${.ALLSRC} ${DESTDIR}/sys/libkern/${MACHINE_ARCH}
.endif

.include <bsd.lib.mk>

# Disable warnings in contributed sources.
CWARNFLAGS:=	${.IMPSRC:Ngdtoa_*.c:C/^.+$/${CWARNFLAGS}/}
# XXX For now, we don't allow libc to be compiled with
# -fstack-protector-all because it breaks rtld.  We may want to make a librtld
# in the future to circumvent this.
SSP_CFLAGS:=	${SSP_CFLAGS:S/^-fstack-protector-all$/-fstack-protector/}
# Disable stack protection for SSP symbols.
SSP_CFLAGS:=	${.IMPSRC:N*/stack_protector.c:C/^.+$/${SSP_CFLAGS}/}
@


1.95
log
@SVN rev 235720 on 2012-05-21 08:10:42Z by gleb

Disable NLS catalog use in libc if built with WITHOUT_NLS option.

Functions affected: strerror, strsignal, gai_strerror.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.94
log
@SVN rev 235653 on 2012-05-19 17:49:20Z by marcel

Don't link against libssp if MK_SSP is set to no.
Note that this still misses a proper dependency at this time.
@
text
@d29 1
d31 1
@


1.93
log
@SVN rev 234370 on 2012-04-17 07:22:14Z by jasone

Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch,
prior to 3.0.0 release) as contrib/jemalloc, and integrate it into libc.
The code being imported by this commit diverged from
lib/libc/stdlib/malloc.c in March 2010, which means that a portion of
the jemalloc 1.0.0 ChangeLog entries are relevant, as are the entries
for all subsequent releases.
@
text
@d44 5
a48 1
LDADD+= -lgcc -lssp_nonshared
@


1.92
log
@SVN rev 229368 on 2012-01-03 07:14:01Z by ed

Merge index() and strchr() together.

As I looked through the C library, I noticed the FreeBSD MIPS port has a
hand-written version of index(). This is nice, if it weren't for the
fact that most applications call strchr() instead.

Also, on the other architectures index() and strchr() are identical,
meaning we have two identical pieces of code in the C library and
statically linked applications.

Solve this by naming the actual file strchr.[cS] and let it use
__strong_reference()/STRONG_ALIAS() to provide the index() routine. Do
the same for rindex()/strrchr().

This seems to make the C libraries and static binaries slightly smaller,
but this reduction in size seems negligible.
@
text
@d82 1
@


1.91
log
@SVN rev 219019 on 2011-02-25 00:04:39Z by gabor

Add the BSD-licensed Citrus iconv to the base system with default off
setting. It can be built by setting the WITH_ICONV knob. While this
knob is unset, the library part, the binaries, the header file and
the metadata files will not be built or installed so it makes no impact
on the system if left turned off.

This work is based on the iconv implementation in NetBSD but a great
number of improvements and feature additions have been included:

- Some utilities have been added. There is a conversion table generator,
  which can compare conversion tables to reference data generated by
  GNU libiconv. This helps ensuring conversion compatibility.
- UTF-16 surrogate support and some endianness issues have been fixed.
- The rather chaotic Makefiles to build metadata have been refactored
  and cleaned up, now it is easy to read and it is also easier to add
  support for new encodings.
- A bunch of new encodings and encoding aliases have been added.
- Support for 1->2, 1->3 and 1->4 mappings, which is needed for
  transliterating with flying accents as GNU does, like "u.
- Lots of warnings have been fixed, the major part of the code is
  now WARNS=6 clean.
- New section 1 and section 5 manual pages have been added.
- Some GNU-specific calls have been implemented:
  iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into()
- Support for GNU's //IGNORE suffix has been added.
- The "-" argument for stdin is now recognized in iconv(1) as per POSIX.
- The Big5 conversion module has been fixed.
- The iconv.h header files is supposed to be compatible with the
  GNU version, i.e. sources should build with base iconv.h and
  GNU libiconv. It also includes a macro magic to deal with the
  char ** and const char ** incompatibility.
- GNU compatibility: "" or "char" means the current local
  encoding in use
- Various cleanups and style(9) fixes.

Approved by:	delphij (mentor)
Obtained from:	The NetBSD Project
Sponsored by:	Google Summer of Code 2009
@
text
@d130 2
a131 2
KSRCS=	bcmp.c ffs.c ffsl.c fls.c flsl.c index.c mcount.c rindex.c \
	strcat.c strcmp.c strcpy.c strlen.c strncpy.c
@


1.91.2.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.91.2.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
@d2 1
a2 1
# $FreeBSD: stable/9/lib/libc/Makefile 219019 2011-02-25 00:04:39Z gabor $
@


1.91.2.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.91.2.1.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/lib/libc/Makefile 219019 2011-02-25 00:04:39Z gabor $
@


1.91.2.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.91.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/lib/libc/Makefile 219019 2011-02-25 00:04:39Z gabor $
@


1.90
log
@SVN rev 217942 on 2011-01-27 14:16:12Z by jchandra

Fix n32 compile.

These changes are needed to fix n32 compile after the recent change of
mips n32 MACHINE_ARCH to mipsn32eb/mipsn32el.

Reviewed by:	imp, bz (earlier version)
@
text
@d60 3
@


1.89
log
@SVN rev 217123 on 2011-01-07 20:26:33Z by imp

Retire TARGET_ABI.

Implement MACHINE_ARCH=mips64e[lb] to build N64 images.  This replaces
MACHINE_ARCH=mipse[lb] TARGET_ABI=n64.

MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires
WITHOUT_CDDL due to atomic issues in libzfs.  I've not investigated
this much, but implemented this to preserve as much of the TARGET_ABI
functionality that I could.  Since its presence doesn't affect the
working cases, I've kept it in for now.

Added mips64e[lb] to make universe, so more kernels build.

And I think this (finally) closes the curtain on the tbemd tree.
@
text
@d71 1
@


1.88
log
@SVN rev 213153 on 2010-09-25 01:57:47Z by davidxu

To support stack unwinding for cancellation points, add -fexceptions flag
for them, two functions _pthread_cancel_enter and _pthread_cancel_leave
are added to let thread enter and leave a cancellation point, it also
makes it possible that other functions can be cancellation points in
libraries without having to be rewritten in libthr.
@
text
@d71 1
a71 5
    ${LIBC_ARCH} != "mips"
.include "${.CURDIR}/quad/Makefile.inc"
.endif
.if ${LIBC_ARCH} == "mips" && \
    (!defined(TARGET_ABI) || ${TARGET_ABI} == "o32")
@


1.87
log
@SVN rev 211822 on 2010-08-25 20:48:24Z by nwhitehorn

Allow ABIs to provide their own LIBC_ARCH in a more generic way. As a side
effect, this fixes the build on powerpc64.

Reviewed by:	imp
@
text
@d34 5
d153 2
@


1.86
log
@SVN rev 211778 on 2010-08-24 21:28:34Z by imp

Fix an accidental sed...
@
text
@d8 5
a12 4
# We have to special case powerpc and powerpc64, since they mostly have
# the same source implementation.  libc is very different due to large
# ABI differences.
.if ${MACHINE_ARCH} == "powerpc"
@


1.85
log
@SVN rev 211774 on 2010-08-24 20:54:43Z by imp

Powerpc is special here.  powerpc and powerpc64 use different ABIs, so
their implementations aren't in the same files.  Introduce LIBC_ARCH
and use that in preference to MACHINE_CPUARCH.  Tested by amd64 and
powerpc64 builds (thanks nathanw@@)
@
text
@d11 1
a11 1
.if ${LIBC_ARCH} == "powerpc"
d14 1
a14 1
LIBC_ARCH=${LIBC_ARCH}
@


1.84
log
@SVN rev 211725 on 2010-08-23 22:24:11Z by imp

MFtbemd:

Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
@
text
@d8 9
d27 1
a27 1
CFLAGS+=-I${.CURDIR}/${MACHINE_CPUARCH}
d48 1
a48 1
.include "${.CURDIR}/${MACHINE_CPUARCH}/Makefile.inc"
d61 5
a65 5
.if ${MACHINE_CPUARCH} != "amd64" && \
    ${MACHINE_CPUARCH} != "ia64" && \
    ${MACHINE_ARCH} != "powerpc64" && \
    ${MACHINE_CPUARCH} != "sparc64" && \
    ${MACHINE_CPUARCH} != "mips"
d68 1
a68 1
.if ${MACHINE_ARCH} == "mips" && \
d82 1
a82 1
.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "mips"
d127 1
a127 1
libkern: libkern.gen libkern.${MACHINE_CPUARCH}
d132 1
a132 1
libkern.${MACHINE_CPUARCH}:: ${KMSRCS}
d134 1
a134 1
	cp -p ${.ALLSRC} ${DESTDIR}/sys/libkern/${MACHINE_CPUARCH}
@


1.83
log
@SVN rev 211704 on 2010-08-23 15:18:35Z by kib

Style.

MFC after:	3 days
@
text
@d18 1
a18 1
CFLAGS+=-I${.CURDIR}/${MACHINE_ARCH}
d39 1
a39 1
.include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc"
d52 2
a53 2
.if ${MACHINE_ARCH} != "amd64" && \
    ${MACHINE_ARCH} != "ia64" && \
d55 2
a56 2
    ${MACHINE_ARCH} != "sparc64" && \
    ${MACHINE_ARCH} != "mips"
d73 1
a73 1
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "mips"
d118 1
a118 1
libkern: libkern.gen libkern.${MACHINE_ARCH}
d123 1
a123 1
libkern.${MACHINE_ARCH}:: ${KMSRCS}
d125 1
a125 1
	cp -p ${.ALLSRC} ${DESTDIR}/sys/libkern/${MACHINE_ARCH}
@


1.82
log
@SVN rev 210731 on 2010-08-01 12:35:01Z by rpaulo

Disable all warnings when building gdtoa. This allows building libc with
clang.
The general idea is that the vendor will not accept our compilation
patches and so disabling the warnings is the best way to go as it makes
future imports bearable.

Submitted by:	Dimitry Andric <dimitry at andric.com>
Discussed with:	das
@
text
@d127 1
a127 1
        
@


1.81
log
@SVN rev 209878 on 2010-07-10 14:45:03Z by nwhitehorn

Provide 64-bit PowerPC support in libc.

Obtained from:	projects/ppc64
@
text
@d131 1
a131 1
CWARNFLAGS:=	${.IMPSRC:Ngdtoa_*.c:C/^.+$/${CWARNFLAGS}/}
@


1.80
log
@SVN rev 209233 on 2010-06-16 14:13:36Z by jchandra

Merge jmallett@@'s n64 work into HEAD - changeset 2

Update libc Makefiles.
Add makecontext implementation.

Changes from http://svn.freebsd.org/base/user/jmallett/octeon

Approved by:	rrs(mentor), jmallett
@
text
@d54 1
@


1.79
log
@SVN rev 201859 on 2010-01-09 00:01:35Z by imp

Merge r195030 from project/mips to head by hand

r195030 | gonzo | 2009-06-25 19:27:31 -0600 (Thu, 25 Jun 2009) | 4 lines
- Switch to libc softfloat from libgcc implementation. The problem
    with latter is that it is not complete, fpsetXXX/fpgetXXX
    functions are missing.
@
text
@d54 6
a59 1
    ${MACHINE_ARCH} != "sparc64"
@


1.78
log
@SVN rev 195697 on 2009-07-14 21:19:13Z by kan

Second attempt at eliminating .text relocations in shared libraries
compiled with stack protector.

Use libssp_nonshared library to pull __stack_chk_fail_local symbol into
each library that needs it instead of pulling it from libc. GCC
generates local calls to this function which result in absolute
relocations put into position-independent code segment, making dynamic
loader do extra work every time given shared library is being relocated
and making affected text pages non-shareable.

Reviewed by:        kib
Approved by:        re (kib)
@
text
@d67 1
a67 1
.if ${MACHINE_ARCH} == "arm"
@


1.78.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.78.2.2
log
@SVN rev 211840 on 2010-08-26 11:25:09Z by kib

MFC r211704:
Style.
@
text
@d121 1
a121 1

@


1.78.2.3
log
@SVN rev 215938 on 2010-11-27 12:26:40Z by jchandra

Merge MIPS platform support to 8-STABLE.

This commit merges the MIPS platform changes that was now stable in
-CURRENT into 8-STABLE. The MIPS changesets are too many (~400) to list
here. But the changesets merged in this commit that affect other platforms
are summarized below:

r204635 : (changes to sys/dev/hwpmc, lib/libpmc, sys/sys/pmc.h)
Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor.

r205845: (changes to sys/modules/Makefile)
Fix for building modules on mips and arm.

r204031: (changes to sys/kern/link_elf_obj.c)
printf fix, as part of kernel module support for MIPS.

r206404: (changes to sys/arm/include/bus.h)
Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the
other platforms - for arm and mips.

r206819: (changes to sys/vm/)
Add VMFS_TLB_ALIGNED_SPACE option and kmem_alloc_nofault_space(), which
is used to allocate kernel stack address on MIPS.

r208165, r211087: (sys/kern/subr_smp.c, sys/kern/sched_ule.c)
Enable ULE scheduler for MIPS, Fix for an issue in SMP when 32 cpus are
enabled.

r208659: (sys/{ia64/ia64,mips/mips,sun4v/sun4v}/pmap.c)
Simplify the inner loop of get_pv_entry()

r208794: (changes to sys/vm/)
Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig()
fails to allocate MIPS page table pages.

r210327:  (changes to sys/vm/)
Support for MIPS page table page allocation.  Add a new function 'vm_page_t
vm_page_alloc_freelist(int flind, int order, int req)' to vm/vm_page.c to
allocate a page from a specified freelist, and other related changes.

Reviewed by:	alc(vm changes only)
Approved by:	kib(re), alc(vm), imp(mips), jmallett(mips), gnn(mips pmc)
@
text
@d54 1
a54 6
    ${MACHINE_ARCH} != "sparc64" && \
    ${MACHINE_ARCH} != "mips"
.include "${.CURDIR}/quad/Makefile.inc"
.endif
.if ${MACHINE_ARCH} == "mips" && \
    (!defined(TARGET_ABI) || ${TARGET_ABI} == "o32")
d67 1
a67 1
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "mips"
@


1.78.2.4
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
@d2 1
a2 1
# $FreeBSD: stable/8/lib/libc/Makefile 215938 2010-11-27 12:26:40Z jchandra $
@


1.78.2.3.4.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.78.2.3.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/lib/libc/Makefile 215938 2010-11-27 12:26:40Z jchandra $
@


1.78.2.3.2.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.78.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.78.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.77
log
@SVN rev 195152 on 2009-06-29 01:33:59Z by kan

Back out previous revision until better tested fix is ready.

Approved by: re (impliciti, by approving previos check-in)
@
text
@d29 1
a29 1
LDADD+= -lgcc
@


1.76
log
@SVN rev 195151 on 2009-06-28 23:51:39Z by kan

Eliminate .text relocations in shared libraries compiled with stack protector.

Use libssp_nonshared library to pull __stack_chk_fail_local symbol into
each library that needs it instead of pulling it from libc. GCC generates
local calls to this function which result in absolute relocations put into
position-independent code segment, making dynamic loader do extra work everys
time given shared library is being relocated and making affected text pages
non-shareable.

Reviewed by:        kib
Approved by:        re (kensmith)
@
text
@d29 1
a29 1
LDADD+= -lgcc -lssp_nonshared
@


1.75
log
@SVN rev 189765 on 2009-03-13 10:40:38Z by gabor

- Reenable Native Language Support in libc.  This feature was disabled due
  to possible breakages in the catalog handling code.  Since then, that
  code has been replaced by the secure code from NetBSD but NLS in libc
  remained turned off.  Tests have shown that the feature is stable and
  working so we can now turn it on again.

- Add several new catalog files:
  - ca_ES.ISO8859-1
  - de_DE.ISO8859-1
  - el_GR.ISO8859-7  (by manolis@@ and keramida@@)
  - es_ES.ISO8859-1  (kern/123179, by carvay@@)
  - fi_FI.ISO8859-1
  - fr_FR.ISO8859-1  (kern/78756, by thierry@@)
  - hu_HU.ISO8859-2  (by gabor@@)
  - it_IT.ISO8859-15
  - nl_NL.ISO8859-1  (corrections by rene@@)
  - no_NO.ISO8859-1
  - mn_MN.UTF-8      (by ganbold@@)
  - sk_SK.ISO8859-2
  - sv_SE.ISO8859-1
  (The catalogs without explicit source has been obtained from NetBSD.)

Approved by:	attilio
@
text
@d29 1
a29 1
LDADD+= -lgcc
@


1.74
log
@SVN rev 180012 on 2008-06-25 21:33:28Z by ru

Enable GCC stack protection (aka Propolice) for userland:
- It is opt-out for now so as to give it maximum testing, but it may be
  turned opt-in for stable branches depending on the consensus.  You
  can turn it off with WITHOUT_SSP.
- WITHOUT_SSP was previously used to disable the build of GNU libssp.
  It is harmless to steal the knob as SSP symbols have been provided
  by libc for a long time, GNU libssp should not have been much used.
- SSP is disabled in a few corners such as system bootstrap programs
  (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves.
- It should be safe to use -fstack-protector-all to build world, however
  libc will be automatically downgraded to -fstack-protector because it
  breaks rtld otherwise.
- This option is unavailable on ia64.

Enable GCC stack protection (aka Propolice) for kernel:
- It is opt-out for now so as to give it maximum testing.
- Do not compile your kernel with -fstack-protector-all, it won't work.

Submitted by:	Jeremie Le Hen <jeremie@@le-hen.org>
@
text
@d19 1
@


1.73
log
@Fixed "make checkdpadd" (missing library dependencies).

Approved by:	re (kensmith)
@
text
@d125 6
@


1.73.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/lib/libc/Makefile 172401 2007-10-01 18:15:11Z ru $
@


1.73.12.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.73.12.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/lib/libc/Makefile 172401 2007-10-01 18:15:11Z ru $
@


1.73.10.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.73.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

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

Approved by:	re (implicit)
@
text
@@


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

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

Approved by:	re (implicit)
@
text
@@


1.72
log
@Use LDADD to add -lgcc to the end of linker command line. Using LDFLAGS
puts it before library's object files, making the whole constuct useless.
@
text
@d26 1
@


1.71
log
@Make sure GCC will not try to link libc with itself.
@
text
@d26 2
a27 1
LDFLAGS+= -nodefaultlibs -lgcc
@


1.70
log
@Enable symbol versioning by default.  Use WITHOUT_SYMVER to disable it.
Warning, after symbol versioning is enabled, going back is not easy
(use WITHOUT_SYMVER at your own risk).

Change the default thread library to libthr.

There most likely still needs to be a version bump for at least the
thread libraries.  If necessary, this will happen later.
@
text
@d23 5
@


1.69
log
@Disable RPC exponential back-off for FreeBSD.org systems (IE. hidden
behind _FREEFALL_CONFIG).  This is done mainly to make NIS even more
resistant to packet loss.

This is not enabled by default for "normal" FreeBSD since it might cause
the server providing the RPC service to be hit heavily with RPC traffic
in case of problems.  freefall.FreeBSD.org and hub.FreeBSD.org have been
running with a patch similar to this for a couple of weeks.

MFC after:	1 week
Discussed with:	peter
@
text
@a78 1
.if defined(SYMVER_ENABLED)
a81 1
.endif
@


1.68
log
@Remove alpha left-overs.
@
text
@d75 3
@


1.67
log
@Remove pending actions asked in comments for SHLIB_MAJOR bump, done.

Reviewed by:    ume
@
text
@d44 1
a44 2
.if ${MACHINE_ARCH} != "alpha" && \
    ${MACHINE_ARCH} != "amd64" && \
@


1.66
log
@Bump library majro version for gethostbyaddr(3).
@
text
@a14 2
# If you bump SHLIB_MAJOR, remove the kluge from gen/gethostname.c.
# If you bump SHLIB_MAJOR, see standards/55112.
@


1.65
log
@- Extend the nsswitch to support Services, Protocols and Rpc
  databases.
- Make nsswitch support caching.

Submitted by:	Michael Bushkov <bushman__at__rsu.ru>
Sponsored by:	Google Summer of Code 2005
@
text
@d17 1
a17 1
SHLIB_MAJOR= 6
@


1.64
log
@Update the resolver in libc to BIND9's one.

Since, res_sendsigned(3) and the friends use MD5 functions, it is
hard to include them without having MD5 functions in libc.  So,
res_sendsigned(3) is not merged into libc.

Since, res_update(3) in BIND9 is not binary compatible with our
res_update(3), res_update(3) is leaved as is, except some
necessary modifications.
The res_update(3) and the friends are not essential part of the
resolver.  They are not defined in resolv.h but defined in
res_update.h separately in BIND9.  Further, they are not called from
our tree.  So, I hide them from our resolv.h, but leave them only
for binary backward compatibility (perhaps, no one calls them).

Since, struct __res_state_ext is not exposed in BIND9, I hide it
from our resolv.h.  And, global variable _res_ext is removed.  It
breaks binary backward compatibility.  But, since it is not used from
outside of our libc, I think it is safe.

Reviewed by:	arch@@ (no objection)
@
text
@d75 3
@


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

Reported by:	phk
@
text
@d39 2
d42 1
d53 1
@


1.62
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
@d4 2
a17 1
SHLIBDIR?= /lib
@


1.61
log
@Allow bsd.lib.mk to generate the symbol version map.
@
text
@d3 3
a5 1
#
d60 1
a60 1
.if !defined(NO_NIS)
d64 1
a64 1
.if defined(YES_HESIOD)
d67 1
a67 1
.if defined(NO_FP_LIBC)
@


1.60
log
@Desupport the undocumented NO_QUAD option, just don't compile
the quad support on 64-bit platforms.
@
text
@a20 2
VERSION_DEF=Versions.def
VERSION_MAP=Version.map
d69 6
a104 5

${VERSION_MAP}: ${SYM_MAPS}
	awk -v vfile=${.CURDIR}/Versions.def -f ${.CURDIR}/version_gen.awk \
	    ${SYM_MAPS} > ${.TARGET}

a109 7

.if defined(SYMVER_ENABLED)
CFLAGS+= -DSYMBOL_VERSIONING
LDFLAGS= -Wl,--version-script=${.OBJDIR}/${VERSION_MAP}

${SHLIB_NAME}: ${VERSION_MAP}
.endif
@


1.59
log
@Add hooks to build libc with symbol versioning.  This is
disabled by default; add SYMVER_ENABLED=true to /etc/make.conf
to enable it.  libc should get a version bump before this is
enabled by default.

Reviewed by:	davidxu
@
text
@d42 4
a45 1
.if !defined(NO_QUAD)
@


1.58
log
@gmon now supported on powerpc
@
text
@d21 2
d99 5
d108 7
@


1.57
log
@Respect the YES_HESIOD build variable.
@
text
@a34 1
.if ${MACHINE_ARCH} != "powerpc"
a35 1
.endif
@


1.56
log
@Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc.
The purpose of having a separate file involved an abandoned scheme that
would have kept contrib/gdtoa out of the include path for the rest of libc.
@
text
@d61 1
a61 1
.if !defined(NO_HESIOD_LIBC)
@


1.56.2.1
log
@MFC:
  - Update the resolver in libc to BIND9's one.
  - make reentrant version of netdb functions glibc style API, and
    expose them to outside of libc.
  - make netdb functions NSS friendly.

	include/Makefile			1.261
	include/arpa/inet.h			1.26
	include/arpa/nameser.h			1.18
	include/arpa/nameser_compat.h		1.5
	include/netdb.h				1.40-1.42
	include/res_update.h			1.1
	include/resolv.h			1.29-1.30
	lib/libc/Makefile			1.64
	lib/libc/include/isc/eventlib.h		1.1.1.1
	lib/libc/include/port_after.h		1.1-1.2
	lib/libc/include/port_before.h		1.1
	lib/libc/include/resolv_mt.h		1.1.1.1
	lib/libc/inet/Makefile.inc		1.1
	lib/libc/inet/inet_addr.c		1.1.1.1, 1.2
	lib/libc/inet/inet_cidr_ntop.c		1.1.1.1
	lib/libc/inet/inet_cidr_pton.c		1.1.1.1, 1.2
	lib/libc/inet/inet_lnaof.c		1.1.1.1, 1.2
	lib/libc/inet/inet_makeaddr.c		1.1.1.1, 1.2
	lib/libc/inet/inet_net_ntop.c		1.1.1.1, 1.2
	lib/libc/inet/inet_net_pton.c		1.1.1.1, 1.2
	lib/libc/inet/inet_neta.c		1.1.1.1, 1.2
	lib/libc/inet/inet_netof.c		1.1.1.1, 1.2
	lib/libc/inet/inet_network.c		1.1.1.1, 1.2
	lib/libc/inet/inet_ntoa.c		1.1.1.1, 1.2
	lib/libc/inet/inet_ntop.c		1.1.1.1, 1.2
	lib/libc/inet/inet_pton.c		1.1.1.1, 1.2
	lib/libc/inet/nsap_addr.c		1.1.1.1, 1.2
	lib/libc/isc/Makefile.inc		1.1
	lib/libc/isc/ev_streams.c		1.1.1.1, 1.2
	lib/libc/isc/ev_timers.c		1.1.1.1, 1.2
	lib/libc/isc/eventlib_p.h		1.1.1.1, 1.2
	lib/libc/nameser/Makefile.inc		1.1
	lib/libc/nameser/ns_name.c		1.1.1.1
	lib/libc/nameser/ns_netint.c		1.1.1.1
	lib/libc/nameser/ns_parse.c		1.1.1.1
	lib/libc/nameser/ns_print.c		1.1.1.1, 1.2
	lib/libc/nameser/ns_samedomain.c	1.1.1.1, 1.2
	lib/libc/nameser/ns_ttl.c		1.1.1.1
	lib/libc/net/Makefile.inc		1.58
	lib/libc/net/getaddrinfo.c		1.74, 1.77-1.78
	lib/libc/net/gethostbydns.c		1.55-1.57
	lib/libc/net/gethostbyht.c		1.24-1.26
	lib/libc/net/gethostbyname.3		1.35
	lib/libc/net/gethostbynis.c		1.26-1.28
	lib/libc/net/gethostnamadr.c		1.29-1.30, 1.32
	lib/libc/net/getnameinfo.c		1.18
	lib/libc/net/getnetbydns.c		1.32-1.33
	lib/libc/net/getnetbyht.c		1.17-1.18
	lib/libc/net/getnetbynis.c		1.20-1.21
	lib/libc/net/getnetnamadr.c		1.22
	lib/libc/net/getproto.c			1.5
	lib/libc/net/getprotoent.c		1.7
	lib/libc/net/getprotoname.c		1.5
	lib/libc/net/getservbyname.c		1.8
	lib/libc/net/getservbyport.c		1.8
	lib/libc/net/getservent.c		1.21
	lib/libc/net/name6.c			1.56-1.57
	lib/libc/net/netdb_private.h		1.10-1.11, 1.13
	lib/libc/net/res_config.h		1.9
	lib/libc/net/res_mkupdate.c		1.7-1.8
	lib/libc/net/res_update.c		1.8-1.9
	lib/libc/resolv/Makefile.inc		1.1
	lib/libc/resolv/h_errno.c		1.1
	lib/libc/resolv/herror.c		1.1.1.1, 1.2
	lib/libc/resolv/mtctxres.c		1.1.1.1, 1.2
	lib/libc/resolv/res_comp.c		1.1.1.1, 1.2
	lib/libc/resolv/res_data.c		1.1.1.1, 1.2-1.3
	lib/libc/resolv/res_debug.c		1.1.1.1, 1.2
	lib/libc/resolv/res_debug.h		1.1.1.1
	lib/libc/resolv/res_init.c		1.1.1.1, 1.2
	lib/libc/resolv/res_mkquery.c		1.1.1.1, 1.2
	lib/libc/resolv/res_private.h		1.1.1.1
	lib/libc/resolv/res_query.c		1.1.1.1, 1.2-1.3
	lib/libc/resolv/res_send.c		1.1.1.1, 1.2
	lib/libc/resolv/res_state.c		1.1-1.2

Tested by:	nork
@
text
@a37 2
.include "${.CURDIR}/inet/Makefile.inc"
.include "${.CURDIR}/isc/Makefile.inc"
a38 1
.include "${.CURDIR}/nameser/Makefile.inc"
a45 1
.include "${.CURDIR}/resolv/Makefile.inc"
@


1.56.2.2
log
@MFC 1.58: Enable gmon on PowerPC.
@
text
@d35 1
d37 1
@


1.56.2.3
log
@MFC src/lib/libc/Makefile (1.69) src/lib/libc/rpc/clnt_dg.c (1.19):

Disable RPC exponential back-off for FreeBSD.org systems (IE. hidden
behind _FREEFALL_CONFIG).  This is done mainly to make NIS even more
resistant to packet loss.

This is not enabled by default for "normal" FreeBSD since it might cause
the server providing the RPC service to be hit heavily with RPC traffic
in case of problems.  freefall.FreeBSD.org and hub.FreeBSD.org have been
running with a patch similar to this for a couple of weeks.

MFC after:	1 week
Discussed with:	peter
@
text
@a68 3
.if defined(_FREEFALL_CONFIG)
CFLAGS+=-D_FREEFALL_CONFIG
.endif
@


1.56.2.4
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/lib/libc/Makefile 167447 2007-03-11 10:15:49Z simon $
@


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

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

Approved by:	re (implicit)
@
text
@@


1.55
log
@Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Lost parts rediscovered by:	Danny Braniss <danny at cs.huji.ac.il>
PR:		bin/68303
No objections:	des, gshapiro, nectar
Reviewed by:	ru
Approved by:	rwatson (mentor)
MFC after:	2 weeks
@
text
@a29 4
#
# If there is a machine dependent makefile, use it:
#
.if exists(${.CURDIR}/${MACHINE_ARCH}/Makefile.inc)
a30 2
.endif

@


1.54
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d63 1
a63 1
.if !defined(NO_YP_LIBC)
@


1.53
log
@Bump the libc major version number to 6.
@
text
@d19 2
a20 2
INSTALL_PIC_ARCHIVE=	yes
PRECIOUSLIB=	yes
@


1.52
log
@Import the FreeBSD/arm libc bits.

Obtained from:	NetBSD
@
text
@d13 1
a13 1
SHLIB_MAJOR= 5
@


1.52.2.1
log
@MFC knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Approved by:	rwatson (mentor)
@
text
@d63 1
a63 1
.if !defined(NO_NIS)
@


1.52.2.2
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d19 2
a20 2
INSTALL_PIC_ARCHIVE=
PRECIOUSLIB=
@


1.51
log
@Add option NO_FP_LIBC, which disables floating-point support in
*printf() and *scanf().  Currently, this reduces the size of libc.so
by 9K on i386.  But the real savings are for static binaries that use
*printf() or *scanf() but not strtod(); with an FP-disabled libc,
these binaries will not depend on the gdtoa routines, making each
binary about 22K smaller.
@
text
@d60 3
@


1.50
log
@libc is now WARNS=2 clean with the exception of the gdtoa bits (which
are now not built with warnings enabled at all).
@
text
@d67 3
@


1.49
log
@Add and document ffsl(), fls() and flsl().
@
text
@d15 1
a15 1
WARNS?=	1
@


1.48
log
@Replaced an ugly hack to selectively disable warnings
in contributed sources with just a hack made possible
by bsd.sys.mk,v 1.33.  This is better because it just
nulls out the warning flags rather than adding gcc(1)
specific -w option to CFLAGS.
@
text
@d86 2
a87 2
KSRCS=	bcmp.c ffs.c index.c mcount.c rindex.c strcat.c strcmp.c strcpy.c \
	strlen.c strncpy.c
@


1.47
log
@Fixed English error in previous commit.  Fixed some older English errors.
Removed a redundant clause.
@
text
@d100 3
@


1.46
log
@Add reference to standards/55112 for next time SHLIB_MAJOR is bumped.

Suggested by: wollman
@
text
@d7 3
a9 4
# below.  Note, there are no IDs for syscall stubs whose sources are generated.
# To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS
# (for system call stubs) to CFLAGS below.  -DSYSLIBC_SCCS affects just the
# system call stubs.
d11 2
a12 2
# If you bump SHLIB_MAJOR, remove kluge from gen/gethostname.c.
# If you bump SHLIB_MAJOR, see standards/55112
@


1.45
log
@Baby steps.  Set WARNS=1 for libc.
@
text
@d13 1
@


1.44
log
@Add a kluge suggested by Marcel to paper over the difference between
gethostname()'s old and new signatures without requiring a library
bump.  Note that programs which called gethostname() with a negative
argument were already broken, since the same type conversion was done
by the old implementation.  Add a note in the Makefile so that whoever
next bumps the libc revision will delete the kluge at the same time
(as it will no longer be necessary).  This is only operative on 64-bit
platforms.

Submitted by:	marcel
@
text
@d15 1
@


1.43
log
@style.Makefile(5)
@
text
@d12 1
@


1.42
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
@d13 1
a13 1
SHLIBDIR?=/lib
@


1.41
log
@Axe AINC.

Submitted by:	bde
@
text
@d13 1
@


1.40
log
@Clean up the way gdtoa sources are found.

OK'ed by:	das
@
text
@d13 2
a14 2
AINC=	-I${.CURDIR}/${MACHINE_ARCH}
CFLAGS+=-I${.CURDIR}/include -I${.CURDIR}/../../include ${AINC}
@


1.39
log
@Replace our ancient dtoa/strtod implementation with the gdtoa
package, a more recent, generalized set of routines.  Among the
changes:
- Declare strtof() and strtold() in stdlib.h.
- Add glue to libc to support these routines for all kinds
  of ``long double''.
- Update printf() to reflect the fact that dtoa works slightly
  differently now.

As soon as I see that nothing has blown up, I will kill
src/lib/libc/stdlib/strtod.c.  Soon printf() will be able
to use the new routines to output long doubles without loss
of precision, but numerous bugs in the existing code must
be addressed first.

Reviewed by:	bde (briefly), mike (mentor), obrien
@
text
@a26 7
# XXX Pull in contrib/netlib/gdtoa, but keep the filenames local to
#     gdtoa out of libc.
.PATH:	${.CURDIR}/../../contrib/netlib/gdtoa
.include "${.CURDIR}/gdtoa/Makefile.inc"
.PATH:
.PATH: ${.CURDIR}/gdtoa

d36 1
@


1.38
log
@Implement fpclassify():
o Add a MD header private to libc called _fpmath.h; this header
  contains bitfield layouts of MD floating-point types.
o Add a MI header private to libc called fpmath.h; this header
  contains bitfield layouts of MI floating-point types.
o Add private libc variables to lib/libc/$arch/gen/infinity.c for
  storing NaN values.
o Add __double_t and __float_t to <machine/_types.h>, and provide
  double_t and float_t typedefs in <math.h>.
o Add some C99 manifest constants (FP_ILOGB0, FP_ILOGBNAN, HUGE_VALF,
  HUGE_VALL, INFINITY, NAN, and return values for fpclassify()) to
  <math.h> and others (FLT_EVAL_METHOD, DECIMAL_DIG) to <float.h> via
  <machine/float.h>.
o Add C99 macro fpclassify() which calls __fpclassify{d,f,l}() based
  on the size of its argument.  __fpclassifyl() is never called on
  alpha because (sizeof(long double) == sizeof(double)), which is good
  since __fpclassifyl() can't deal with such a small `long double'.

This was developed by David Schultz and myself with input from bde and
fenner.

PR:		23103
Submitted by:	David Schultz <dschultz@@uclink.Berkeley.EDU>
		(significant portions)
Reviewed by:	bde, fenner (earlier versions)
@
text
@d27 7
@


1.37
log
@libc_r wasn't so tied to libc for 22 months.
@
text
@a12 1
CFLAGS+=-I${.CURDIR}/include -I${.CURDIR}/../../include
d14 1
@


1.36
log
@Zap the early-adopter transition aid before we get into serious
5.0-R territory, as threatened.  This only affects antique 5.0
systems that have not had a 'make world' done for well over a year.
@
text
@d19 8
d28 1
a28 1
# Include make rules that are shared with libc_r.
d30 48
a77 1
.include "${.CURDIR}/Makefile.inc"
@


1.35
log
@Zap now-unused SHLIB_MINOR
@
text
@a12 1
CFLAGS+=-DLIBC_MAJOR=${SHLIB_MAJOR}
@


1.34
log
@Embellish more.
@
text
@a12 1
SHLIB_MINOR= 0
@


1.33
log
@Embellish the comment.
@
text
@d7 1
a7 1
# below.
@


1.32
log
@Update comments.  We uniformly use __FBSDID in libc now.
@
text
@d6 2
a7 1
# not contain these strings, add -DSTRIP_FBSDID to CFLAGS below.
d9 2
a10 1
# (for system call stubs) to CFLAGS below.
@


1.31
log
@Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-(
It was foiled because of dynamic copy relocations that caused compile-time
space to be reserved in .bss and at run time a blob of data was copied to
that space and everything used the .bss version..  The problem is that
the space is reserved at compile time, not runtime... So we *still* could
not change the size of FILE.  Sigh.  :-(

Replace it with something that does actually work and really does let us
make 'FILE' extendable.  It also happens to be the same as Linux does in
glibc, but has the slight cost of a pointer.  Note that this is the
same cost that 'fp = fopen(), fprintf(fp, ...); fclose(fp);' has.
Fortunately, actual references to stdin/out/err are not all that common
since we have implicit stdin/out/err-using versions of functions
(printf() vs. fprintf()).
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libc/Makefile,v 1.30 2001/02/16 06:11:21 imp Exp $
d4 1
a4 1
# All library objects contain rcsid strings by default; they may be
d6 3
a8 3
# not contain these strings, delete -DLIBC_RCS and -DSYSLIBC_RCS
# from CFLAGS below.  To remove these strings from just the system call
# stubs, remove just -DSYSLIBC_RCS from CFLAGS.
a11 1
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/include -I${.CURDIR}/../../include
d13 1
@


1.30
log
@Fix the current libc breakage in current:
o Back out the __std* stuff.  Can't figure out how to do this right now,
  so we'll save it for late.
o use _up as a pointer for extra fields that we need to access.
o back out the libc major version bump.

Submitted by: green
reviewed by: peter, imp, green, obrien (to varying degrees).

We'll fix the "how do we stop encoding sizeof(FILE) in binaries" part
later.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libc/Makefile,v 1.29 2001/02/14 05:00:20 peter Exp $
d12 2
a13 1
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/include
@


1.29
log
@Commit a libc fix going by the current state of the version numbering
bikeshed in -arch.  It isn't quite over, but it has been well established
that this can be adjusted or refined.  But we do seem to have consensis
on a major bump of some sort.  After this, it should reasonably safe
to build world again.

This change is to get rid of __sF[] and use seperate __stdin/out/err
handles.  This means we can pad on extra bits onto the end of FILE
at will without going through this all over again.  __sF[] was evil
because it compiled the sizeof(FILE) into every stdio using program.

Asbestos suit on: check!
Peril sensitive sunglasses on: check!
*gulp!*
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libc/Makefile,v 1.28 2001/01/29 03:23:29 deischen Exp $
d10 1
a10 1
SHLIB_MAJOR= 5.20010213
@


1.28
log
@Clean up syscall generation in libc by removing HIDDEN_SYSCALLS
and treating (almost) all system calls the same way:

	__sys_foo - actual syscall
	foo, _foo - weak definitions to __sys_foo

Change PSEUDO syscalls (currently only _exit and _getlogin) to
be __sys_foo (T) and _foo (W).

Add $FreeBSD$ to a few files to satisfy commitprep.

Suggested by:	bde
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libc/Makefile,v 1.27 2001/01/26 02:27:06 deischen Exp $
d10 1
a10 1
SHLIB_MAJOR= 5
@


1.27
log
@Comment change only; s/_thread_sys_/__sys_/
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libc/Makefile,v 1.26 2001/01/24 12:58:35 deischen Exp $
a16 18

#
# This is a list of syscalls that are renamed as __sys_{syscall}
# so that libpthread and libc_r can override and/or replace them.
# In the case of libc_r replacement functions are provided, whereas
# libpthread can both override and provide replacement functions.
#
HIDDEN_SYSCALLS= _exit.o accept.o aio_suspend.o bind.o close.o connect.o \
	dup.o dup2.o execve.o fchflags.o fchmod.o fchown.o fcntl.o \
	flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \
	getpeername.o getsockname.o getsockopt.o ioctl.o \
	kevent.o listen.o \
	msync.o nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \
	recvmsg.o sched_yield.o select.o sendfile.o sendmsg.o sendto.o \
	setsockopt.o shutdown.o sigaction.o sigaltstack.o \
	sigpending.o sigprocmask.o sigreturn.o \
	sigsuspend.o socket.o \
	socketpair.o wait4.o write.o writev.o
@


1.26
log
@Remove _THREAD_SAFE and make libc thread-safe by default by
adding (weak definitions to) stubs for some of the pthread
functions.  If the threads library is linked in, the real
pthread functions will pulled in.

Use the following convention for system calls wrapped by the
threads library:
	__sys_foo - actual system call
	_foo - weak definition to __sys_foo
	foo - weak definition to __sys_foo

Change all libc uses of system calls wrapped by the threads
library from foo to _foo.  In order to define the prototypes
for _foo(), we introduce namespace.h and un-namespace.h
(suggested by bde).  All files that need to reference these
system calls, should include namespace.h before any standard
includes, then include un-namespace.h after the standard
includes and before any local includes.  <db.h> is an exception
and shouldn't be included in between namespace.h and
un-namespace.h  namespace.h will define foo to _foo, and
un-namespace.h will undefine foo.

Try to eliminate some of the recursive calls to MT-safe
functions in libc/stdio in preparation for adding a mutex
to FILE.  We have recursive mutexes, but would like to avoid
using them if possible.

Remove uneeded includes of <errno.h> from a few files.

Add $FreeBSD$ to a few files in order to pass commitprep.

Approved by:	-arch
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libc/Makefile,v 1.25 2000/11/14 02:46:22 obrien Exp $
d19 1
a19 1
# This is a list of syscalls that are renamed as _thread_sys_{syscall}
@


1.25
log
@Bump the shared lib version.  There seems to have been an incompatible
change committed to RELENG_4 where a bump there is now necessary.
We've got to go before RELENG_4 does.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libc/Makefile,v 1.24 1999/09/29 15:18:29 marcel Exp $
d19 4
a22 1
# Don't bother hiding any syscalls (like libc_r does).
d24 11
a34 1
HIDDEN_SYSCALLS=
@


1.24
log
@sigset_t change (part 5 of 5)
-----------------------------

Most of the userland changes are in libc. For both the alpha
and the i386 setjmp has been changed to accomodate for the
new sigset_t. Internally, libc is mostly rewritten to use the
new syscalls. The exception is in compat-43/sigcompat.c

The POSIX thread library has also been rewritten to use the
new sigset_t. Except, that it currently only handles NSIG
signals instead of the maximum _SIG_MAXSIG. This should not
be a problem because current applications don't use any
signals higher than NSIG.

There are version bumps for the following libraries:
  libdialog
  libreadline
  libc
  libc_r
  libedit
  libftpio
  libss

These libraries either a) have one of the modified structures
visible in the interface, or b) use sigset_t internally and
may cause breakage if new binaries are used against libraries
that don't have the sigset_t change. This not an immediate
issue, but will be as soon as applications start using the
new range to its fullest.

NOTE: libncurses already had an version bump and has not been
      given one now.

NOTE: doscmd is a real casualty and has been disconnected for
      the moment. Reconnection will eventually happen after
      doscmd has been fixed. I'm aware that being the last one
      to touch it, I'm automaticly promoted to being maintainer.
      According to good taste this means that I will receive a
      badge which either will be glued or mechanically stapled,
      drilled or otherwise violently forced onto me :-)

NOTE: pcvt/vttest cannot be compiled with -traditional. The
      change cause sys/types to be included along the way which
      contains the const and volatile modifiers. I don't consider
      this a solution, but more a workaround.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libc/Makefile,v 1.23 1999/08/27 23:58:06 peter Exp $
d10 1
a10 1
SHLIB_MAJOR= 4
@


1.24.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/lib/libc/Makefile 51794 1999-09-29 15:18:46Z marcel $
@


1.23
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d10 2
a11 2
SHLIB_MAJOR= 3
SHLIB_MINOR= 1
@


1.22
log
@Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.21 1998/03/09 06:16:38 jb Exp $
@


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


1.21
log
@Add an include path to private linc/libc_r/libpthread header files.

Define the HIDDEN_SYSCALLS macro as empty because libc doesn't have
renamed syscalls. This avoids an undefined macro error when
libc/sys/Makefile.inc goes to look though it. HIDDEN_SYSCALLS is
used by the equivalent makefile to this one in lib/libc_r to list
those syscalls that it needs to rename so that libc_r can provide
replacement functions.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.20 1998/02/12 01:44:53 nate Exp $
d13 1
a13 1
AINC=	-I${.CURDIR}/${MACHINE}
d34 1
a34 1
libkern: libkern.gen libkern.${MACHINE}
d39 1
a39 1
libkern.${MACHINE}:: ${KMSRCS}
d41 1
a41 1
	cp -p ${.ALLSRC} ${DESTDIR}/sys/libkern/${MACHINE}
@


1.20
log
@- Bump the minor # due to the addition of the stringlist functions.

Reviewed by:	asami
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.19 1997/05/23 08:23:53 asami Exp $
d12 1
a12 1
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS
d17 5
@


1.19
log
@Use ${DESTDIR} correctly in front of absolute paths.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.18 1997/05/03 03:49:51 jb Exp $
d11 1
a11 1
SHLIB_MINOR= 0
@


1.18
log
@Changed all paths to be relative to src/lib instead of src/lib/libc
so that all these makefiles can be used to build libc_r too.

Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.

Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
@
text
@d2 1
a2 1
#	$Id$
d32 1
a32 1
	cp -p ${.CURDIR}/quad/quad.h ${.ALLSRC} /sys/libkern
d36 1
a36 1
	cp -p ${.ALLSRC} /sys/libkern/${MACHINE}
@


1.17
log
@Support GLOBAL style tags.
@
text
@d2 1
d18 4
a21 21
.include "${.CURDIR}/db/Makefile.inc"
.include "${.CURDIR}/compat-43/Makefile.inc"
.include "${.CURDIR}/gen/Makefile.inc"
.include "${.CURDIR}/gmon/Makefile.inc"
.include "${.CURDIR}/locale/Makefile.inc"
.include "${.CURDIR}/net/Makefile.inc"
.include "${.CURDIR}/nls/Makefile.inc"
.include "${.CURDIR}/quad/Makefile.inc"
.include "${.CURDIR}/regex/Makefile.inc"
.include "${.CURDIR}/stdio/Makefile.inc"
.include "${.CURDIR}/stdlib/Makefile.inc"
.include "${.CURDIR}/stdtime/Makefile.inc"
.include "${.CURDIR}/string/Makefile.inc"
.include "${.CURDIR}/sys/Makefile.inc"
.include "${.CURDIR}/rpc/Makefile.inc"
.include "${.CURDIR}/xdr/Makefile.inc"
.if !defined(NO_YP_LIBC)
CFLAGS+= -DYP
.include "${.CURDIR}/yp/Makefile.inc"
.endif
.include "${.CURDIR}/${MACHINE}/sys/Makefile.inc"
@


1.16
log
@Back out minor bumping per Peter suggestion
@
text
@a54 9
#beforeinstall: tags
#	${INSTALL} ${COPY} -o bin -g bin -m 444 tags /var/db/libc.tags

tags: ${SRCS}
	ctags ${.ALLSRC:M*.c}
	egrep -o "^ENTRY(.*)|^FUNC(.*)|^SYSCALL(.*)" ${.ALLSRC:M*.s} | \
	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
	    >> tags; sort -o tags tags

@


1.16.2.1
log
@Sync from -current; global tag support (it was actually tested in 2.2)
and some miscellaneous fixes.  Also bring in some fixes to the explanatory
text in bsd.port.mk since Satoshi never responded to my submission (and
around here, that == yes :-).
@
text
@d55 9
@


1.16.2.2
log
@(Sort of) MFC: use ${DESTDIR} correctly in front of absolute paths.

Reviewed by:	bde
@
text
@d48 1
a48 1
	cp -p ${.CURDIR}/quad/quad.h ${.ALLSRC} ${DESTDIR}/sys/libkern
d52 1
a52 1
	cp -p ${.ALLSRC} ${DESTDIR}/sys/libkern/${MACHINE}
@


1.16.2.3
log
@YAMFC
allow common makefiles from libc and libc_r
identical to 1.9 of Makefile and 1.1 of Makefile.inc in -current
@
text
@a1 1
#	$Id: Makefile,v 1.19 1997/05/23 08:23:53 asami Exp $
d17 21
a37 4
#
# Include make rules that are shared with libc_r.
#
.include "${.CURDIR}/Makefile.inc"
@


1.16.2.4
log
@- MFC: Minor number bump due to addition of stringlist functions (which
  were brought into -stable as well.)
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.16.2.3 1997/06/23 23:12:42 julian Exp $
d11 1
a11 1
SHLIB_MINOR= 1
@


1.16.2.5
log
@As theatened two weeks ago: merge the major changes from -current's pthread
implementation. This includes file locking based on FILE *, signal fixes,
read/write-locks, better POSIX compliance and better performance. Not included
are changes relating to realtime scheduling.

Famous last words: I've now built the world several times with these changes,
so they shouldn't break anything.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.16.2.4 1998/02/12 01:45:58 nate Exp $
d12 1
a12 1
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/include
a16 5

#
# Don't bother hiding any syscalls (like libc_r does).
#
HIDDEN_SYSCALLS=
@


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


1.15
log
@Bump minor number - new function added
@
text
@d10 1
a10 1
SHLIB_MINOR= 1
@


1.14
log
@Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree.  NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
@
text
@d10 1
a10 1
SHLIB_MINOR= 0
@


1.13
log
@Bump shlib minor because xdr_* functions have been enabled.  Do NOT
bump it again if something else is added before 2.2.

The xdr_* functions are enabled only in the 2.2 (-current) branch
so far.  If that modification is moved to the 2.1 (-stable) branch,
this one should, too.

Reviewed by:	the mailing lists
@
text
@d9 2
a10 2
SHLIB_MAJOR= 2
SHLIB_MINOR= 2
@


1.12
log
@Install non-source files with the optional flag ${COPY}, not with the flag -c.
@
text
@d10 1
a10 1
SHLIB_MINOR= 1
@


1.11
log
@Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
@
text
@d56 1
a56 1
#	${INSTALL} -c -o bin -g bin -m 444 tags /var/db/libc.tags
@


1.10
log
@Add nls include to Makefile.
@
text
@d56 1
a56 1
#	install -c -o bin -g bin -m 444 tags /var/db/libc.tags
@


1.10.4.1
log
@Brought in changes from main branch...everything except the BIND 4.9.3-b24.
@
text
@d10 1
a10 1
SHLIB_MINOR= 2
@


1.10.4.2
log
@Phase 2 of merge - also fix things broken in phase 1.
Watch out for falling rock until phase 3 is over!

libc completely merged except for phkmalloc & rfork (don't know if David
wants that).

Some include files in sys/ had to be updated in order to bring in libc.
@
text
@d9 2
a10 2
SHLIB_MAJOR= 3
SHLIB_MINOR= 0
d56 1
a56 1
#	${INSTALL} ${COPY} -o bin -g bin -m 444 tags /var/db/libc.tags
@


1.10.4.3
log
@This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
@
text
@d9 2
a10 2
SHLIB_MAJOR= 2
SHLIB_MINOR= 2
d56 1
a56 1
#	install -c -o bin -g bin -m 444 tags /var/db/libc.tags
@


1.9
log
@Bump the shared library minor # because of the additions of the
strhash() functions.
@
text
@d23 1
@


1.8
log
@Changed LIB_SCCS and SYSLIB_SCCS #defines to LIB_RCS and SYSLIB_RCS.
@
text
@d9 2
@


1.7
log
@Use latest Arthur Olson timezone code rather than that supplied with
4.4.  The code is almost identical to the 4.4 versions, but this organization
should make it easier to merge new versions in the future.
@
text
@d3 1
a3 1
# All library objects contain sccsid strings by default; they may be
d5 1
a5 1
# not contain these strings, delete -DLIBC_SCCS and -DSYSLIBC_SCCS
d7 1
a7 1
# stubs, remove just -DSYSLIBC_SCCS from CFLAGS.
d9 1
a9 1
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
@


1.6
log
@libc.so should be installed immutable.
@
text
@d25 1
@


1.5
log
@  WINE/user LDT support from John Brezak, ported to FreeBSD by Jeffrey Hsu
<hsu@@soda.berkeley.edu>.
   ...Moved over from 1.1.5. Other portions of this commit were done by moving
the RCS files into place directly.
@
text
@d13 1
@


1.4
log
@Add back in the YP code from 1.1.5.  (This attribution brought to you
by Theo de Raadt.)  Added a new make flag variable, NO_YP_LIBC, which
disables YP entirely.  User-land programs to come later.
@
text
@d32 1
@


1.3
log
@More directory cleanup after YP merge.
@
text
@d26 6
@


1.2
log
@First crack at making libc work with the new make macros.  It compiles on
my machine, and a simple static (genassym) and shared (sysctl) executable
both work.  Still to be done: RPCand YP merge.
@
text
@d43 2
a44 2
beforeinstall: tags
	install -c -o bin -g bin -m 444 tags /var/db/libc.tags
@


1.1
log
@Initial revision
@
text
@d12 1
@


1.1.1.1
log
@BSD 4.4 Lite Lib Sources
@
text
@@
