head	1.52;
access;
symbols
	RELENG_8_4:1.52.0.2
	RELENG_8_3_0_RELEASE:1.50.2.2.6.1
	RELENG_8_3:1.50.2.2.0.6
	RELENG_8_3_BP:1.50.2.2
	RELENG_7_4_0_RELEASE:1.49.12.1
	RELENG_8_2_0_RELEASE:1.50.2.2.4.1
	RELENG_7_4:1.49.0.12
	RELENG_7_4_BP:1.49
	RELENG_8_2:1.50.2.2.0.4
	RELENG_8_2_BP:1.50.2.2
	RELENG_8_1_0_RELEASE:1.50.2.2.2.1
	RELENG_8_1:1.50.2.2.0.2
	RELENG_8_1_BP:1.50.2.2
	RELENG_7_3_0_RELEASE:1.49.10.1
	RELENG_7_3:1.49.0.10
	RELENG_7_3_BP:1.49
	RELENG_8_0_0_RELEASE:1.50.2.1.2.1
	RELENG_8_0:1.50.2.1.0.2
	RELENG_8_0_BP:1.50.2.1
	RELENG_8:1.50.0.2
	RELENG_8_BP:1.50
	RELENG_7_2_0_RELEASE:1.49.8.1
	RELENG_7_2:1.49.0.8
	RELENG_7_2_BP:1.49
	RELENG_7_1_0_RELEASE:1.49.6.1
	RELENG_6_4_0_RELEASE:1.41.2.2.6.1
	RELENG_7_1:1.49.0.6
	RELENG_7_1_BP:1.49
	RELENG_6_4:1.41.2.2.0.6
	RELENG_6_4_BP:1.41.2.2
	RELENG_7_0_0_RELEASE:1.49
	RELENG_6_3_0_RELEASE:1.41.2.2
	RELENG_7_0:1.49.0.4
	RELENG_7_0_BP:1.49
	RELENG_6_3:1.41.2.2.0.4
	RELENG_6_3_BP:1.41.2.2
	RELENG_7:1.49.0.2
	RELENG_7_BP:1.49
	RELENG_6_2_0_RELEASE:1.41.2.2
	RELENG_6_2:1.41.2.2.0.2
	RELENG_6_2_BP:1.41.2.2
	RELENG_5_5_0_RELEASE:1.39.2.1
	RELENG_5_5:1.39.2.1.0.4
	RELENG_5_5_BP:1.39.2.1
	RELENG_6_1_0_RELEASE:1.41.2.1
	RELENG_6_1:1.41.2.1.0.4
	RELENG_6_1_BP:1.41.2.1
	RELENG_6_0_0_RELEASE:1.41.2.1
	RELENG_6_0:1.41.2.1.0.2
	RELENG_6_0_BP:1.41.2.1
	RELENG_6:1.41.0.2
	RELENG_6_BP:1.41
	RELENG_5_4_0_RELEASE:1.39.2.1
	RELENG_5_4:1.39.2.1.0.2
	RELENG_5_4_BP:1.39.2.1
	RELENG_4_11_0_RELEASE:1.24.2.8
	RELENG_4_11:1.24.2.8.0.6
	RELENG_4_11_BP:1.24.2.8
	RELENG_5_3_0_RELEASE:1.39
	RELENG_5_3:1.39.0.4
	RELENG_5_3_BP:1.39
	RELENG_5:1.39.0.2
	RELENG_5_BP:1.39
	RELENG_4_10_0_RELEASE:1.24.2.8
	RELENG_4_10:1.24.2.8.0.4
	RELENG_4_10_BP:1.24.2.8
	RELENG_5_2_1_RELEASE:1.36
	RELENG_5_2_0_RELEASE:1.36
	RELENG_5_2:1.36.0.2
	RELENG_5_2_BP:1.36
	RELENG_4_9_0_RELEASE:1.24.2.8
	RELENG_4_9:1.24.2.8.0.2
	RELENG_4_9_BP:1.24.2.8
	RELENG_5_1_0_RELEASE:1.32
	RELENG_5_1:1.32.0.4
	RELENG_5_1_BP:1.32
	RELENG_4_8_0_RELEASE:1.24.2.7
	RELENG_4_8:1.24.2.7.0.2
	RELENG_4_8_BP:1.24.2.7
	RELENG_5_0_0_RELEASE:1.32
	RELENG_5_0:1.32.0.2
	RELENG_5_0_BP:1.32
	RELENG_4_7_0_RELEASE:1.24.2.5
	RELENG_4_7:1.24.2.5.0.6
	RELENG_4_7_BP:1.24.2.5
	RELENG_4_6_2_RELEASE:1.24.2.5
	RELENG_4_6_1_RELEASE:1.24.2.5
	RELENG_4_6_0_RELEASE:1.24.2.5
	RELENG_4_6:1.24.2.5.0.4
	RELENG_4_6_BP:1.24.2.5
	RELENG_4_5_0_RELEASE:1.24.2.5
	RELENG_4_5:1.24.2.5.0.2
	RELENG_4_5_BP:1.24.2.5
	RELENG_4_4_0_RELEASE:1.24.2.3
	RELENG_4_4:1.24.2.3.0.4
	RELENG_4_4_BP:1.24.2.3
	RELENG_4_3_0_RELEASE:1.24.2.3
	RELENG_4_3:1.24.2.3.0.2
	RELENG_4_3_BP:1.24.2.3
	RELENG_4_2_0_RELEASE:1.24.2.3
	RELENG_4_1_1_RELEASE:1.24.2.2
	PRE_SMPNG:1.27
	RELENG_4_1_0_RELEASE:1.24.2.1
	RELENG_3_5_0_RELEASE:1.14.2.6
	RELENG_4_0_0_RELEASE:1.24
	RELENG_4:1.24.0.2
	RELENG_4_BP:1.24
	RELENG_3_4_0_RELEASE:1.14.2.2
	RELENG_3_3_0_RELEASE:1.14.2.2
	RELENG_3_2_PAO:1.14.0.4
	RELENG_3_2_PAO_BP:1.14
	RELENG_3_2_0_RELEASE:1.14
	RELENG_3_1_0_RELEASE:1.14
	RELENG_3:1.14.0.2
	RELENG_3_BP:1.14
	RELENG_2_2_8_RELEASE:1.4.2.2
	RELENG_3_0_0_RELEASE:1.13
	RELENG_2_2_7_RELEASE:1.4.2.1
	RELENG_2_2_6_RELEASE:1.4.2.1
	RELENG_2_2_5_RELEASE:1.4.2.1
	RELENG_2_2_2_RELEASE:1.4
	RELENG_2_2_1_RELEASE:1.4
	RELENG_2_2_0_RELEASE:1.4
	RELENG_2_2:1.4.0.2
	RELENG_2_2_BP:1.4;
locks; strict;
comment	@# @;


1.52
date	2010.11.13.22.22.18;	author emaste;	state dead;
branches
	1.52.2.1;
next	1.51;

1.51
date	2010.02.15.14.14.13;	author ru;	state Exp;
branches;
next	1.50;

1.50
date	2009.02.13.16.51.36;	author jkim;	state Exp;
branches
	1.50.2.1;
next	1.49;

1.49
date	2007.05.21.02.49.03;	author deischen;	state Exp;
branches
	1.49.2.1
	1.49.6.1
	1.49.8.1
	1.49.10.1
	1.49.12.1;
next	1.48;

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

1.47
date	2007.05.17.04.54.35;	author deischen;	state Exp;
branches;
next	1.46;

1.46
date	2007.05.13.14.12.39;	author deischen;	state Exp;
branches;
next	1.45;

1.45
date	2006.08.22.07.51.07;	author ru;	state Exp;
branches;
next	1.44;

1.44
date	2006.04.12.19.51.14;	author ru;	state Exp;
branches;
next	1.43;

1.43
date	2006.03.18.21.37.04;	author ru;	state Exp;
branches;
next	1.42;

1.42
date	2005.07.22.17.19.00;	author kensmith;	state Exp;
branches;
next	1.41;

1.41
date	2004.12.21.09.33.46;	author ru;	state Exp;
branches
	1.41.2.1;
next	1.40;

1.40
date	2004.10.24.15.32.31;	author ru;	state Exp;
branches;
next	1.39;

1.39
date	2004.01.31.17.00.04;	author deischen;	state Exp;
branches
	1.39.2.1;
next	1.38;

1.38
date	2004.01.30.12.13.17;	author deischen;	state Exp;
branches;
next	1.37;

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

1.36
date	2003.07.13.05.35.30;	author deischen;	state Exp;
branches;
next	1.35;

1.35
date	2003.07.02.13.27.54;	author ru;	state Exp;
branches;
next	1.34;

1.34
date	2003.07.02.01.52.06;	author kan;	state Exp;
branches;
next	1.33;

1.33
date	2003.07.01.15.07.01;	author ru;	state Exp;
branches;
next	1.32;

1.32
date	2002.09.28.00.25.28;	author peter;	state Exp;
branches;
next	1.31;

1.31
date	2002.04.15.20.22.28;	author obrien;	state Exp;
branches;
next	1.30;

1.30
date	2001.01.24.13.03.22;	author deischen;	state Exp;
branches;
next	1.29;

1.29
date	2000.11.14.02.46.23;	author obrien;	state Exp;
branches;
next	1.28;

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

1.27
date	2000.08.07.16.51.55;	author jlemon;	state Exp;
branches;
next	1.26;

1.26
date	2000.07.05.16.21.42;	author jasone;	state Exp;
branches;
next	1.25;

1.25
date	2000.04.27.00.59.42;	author jasone;	state Exp;
branches;
next	1.24;

1.24
date	2000.01.27.23.06.56;	author jasone;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	99.12.18.01.00.41;	author jasone;	state Exp;
branches;
next	1.22;

1.22
date	99.11.28.05.38.00;	author alfred;	state Exp;
branches;
next	1.21;

1.21
date	99.10.14.10.08.53;	author marcel;	state Exp;
branches;
next	1.20;

1.20
date	99.09.30.15.07.43;	author marcel;	state Exp;
branches;
next	1.19;

1.19
date	99.08.28.00.02.59;	author peter;	state Exp;
branches;
next	1.18;

1.18
date	99.07.06.00.25.31;	author jasone;	state Exp;
branches;
next	1.17;

1.17
date	99.07.05.00.38.12;	author jasone;	state Exp;
branches;
next	1.16;

1.16
date	99.07.05.00.35.14;	author jasone;	state Exp;
branches;
next	1.15;

1.15
date	99.06.20.08.32.37;	author jb;	state Exp;
branches;
next	1.14;

1.14
date	98.12.10.20.27.52;	author jb;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	98.06.14.11.25.44;	author peter;	state Exp;
branches;
next	1.12;

1.12
date	98.06.12.02.21.27;	author jb;	state Exp;
branches;
next	1.11;

1.11
date	98.06.09.23.25.13;	author jb;	state Exp;
branches;
next	1.10;

1.10
date	98.06.01.02.12.15;	author jb;	state Exp;
branches;
next	1.9;

1.9
date	98.05.31.23.53.50;	author jb;	state Exp;
branches;
next	1.8;

1.8
date	98.03.28.11.49.02;	author dufault;	state Exp;
branches;
next	1.7;

1.7
date	98.03.09.05.09.43;	author jb;	state Exp;
branches;
next	1.6;

1.6
date	97.05.03.03.57.21;	author jb;	state Exp;
branches;
next	1.5;

1.5
date	97.02.05.23.24.38;	author julian;	state Exp;
branches;
next	1.4;

1.4
date	96.08.30.01.43.15;	author peter;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	96.08.20.08.20.35;	author julian;	state Exp;
branches;
next	1.2;

1.2
date	96.05.05.08.22.17;	author peter;	state Exp;
branches;
next	1.1;

1.1
date	96.01.22.00.21.56;	author julian;	state Exp;
branches;
next	;

1.52.2.1
date	2010.11.13.22.22.18;	author svnexp;	state dead;
branches;
next	1.52.2.2;

1.52.2.2
date	2013.03.28.13.03.11;	author svnexp;	state Exp;
branches;
next	;

1.50.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.50.2.1.2.1;
next	1.50.2.2;

1.50.2.2
date	2010.02.18.16.52.49;	author ru;	state Exp;
branches
	1.50.2.2.2.1
	1.50.2.2.4.1
	1.50.2.2.6.1;
next	1.50.2.3;

1.50.2.3
date	2012.11.17.10.36.06;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.50.2.2.6.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.50.2.2.6.2;

1.50.2.2.6.2
date	2012.11.17.08.24.47;	author svnexp;	state Exp;
branches;
next	;

1.49.2.1
date	2012.11.17.08.02.34;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.49.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.49.12.2;

1.49.12.2
date	2012.11.17.08.16.47;	author svnexp;	state Exp;
branches;
next	;

1.41.2.1
date	2005.07.22.17.29.04;	author kensmith;	state Exp;
branches;
next	1.41.2.2;

1.41.2.2
date	2006.09.29.19.31.21;	author ru;	state Exp;
branches
	1.41.2.2.6.1;
next	1.41.2.3;

1.41.2.3
date	2012.11.17.07.40.16;	author svnexp;	state Exp;
branches;
next	;

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

1.39.2.1
date	2005.02.13.07.23.12;	author obrien;	state Exp;
branches;
next	;

1.24.2.1
date	2000.07.18.01.57.20;	author jasone;	state Exp;
branches;
next	1.24.2.2;

1.24.2.2
date	2000.08.23.02.48.47;	author jhb;	state Exp;
branches;
next	1.24.2.3;

1.24.2.3
date	2000.11.09.23.45.57;	author deischen;	state Exp;
branches;
next	1.24.2.4;

1.24.2.4
date	2001.10.19.17.56.34;	author ru;	state Exp;
branches;
next	1.24.2.5;

1.24.2.5
date	2001.10.19.18.23.34;	author ru;	state Exp;
branches;
next	1.24.2.6;

1.24.2.6
date	2002.10.15.19.46.46;	author fjoe;	state Exp;
branches;
next	1.24.2.7;

1.24.2.7
date	2002.10.22.14.44.02;	author fjoe;	state Exp;
branches;
next	1.24.2.8;

1.24.2.8
date	2003.08.10.23.52.59;	author mp;	state Exp;
branches;
next	1.24.2.9;

1.24.2.9
date	2012.11.17.07.23.46;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1
date	99.07.23.13.07.12;	author deischen;	state Exp;
branches;
next	1.14.2.2;

1.14.2.2
date	99.08.29.14.55.21;	author peter;	state Exp;
branches;
next	1.14.2.3;

1.14.2.3
date	2000.01.04.10.28.37;	author tg;	state Exp;
branches;
next	1.14.2.4;

1.14.2.4
date	2000.01.04.10.42.13;	author tg;	state Exp;
branches;
next	1.14.2.5;

1.14.2.5
date	2000.01.04.11.02.44;	author tg;	state Exp;
branches;
next	1.14.2.6;

1.14.2.6
date	2000.01.10.10.03.03;	author tg;	state Exp;
branches;
next	;

1.4.2.1
date	97.06.23.23.49.27;	author julian;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	98.11.04.08.42.05;	author tg;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	99.09.05.11.16.51;	author peter;	state Exp;
branches;
next	;


desc
@@


1.52
log
@SVN rev 215269 on 2010-11-13 22:22:18Z by emaste

Remove libc_r threading library.  It has been disconnected from the build
for four years (since r162846).

Submitted by: Alexander Best arundel@@
@
text
@# $FreeBSD: src/lib/libc_r/Makefile,v 1.51 2010/02/15 14:14:13 ru Exp $
#
# 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 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.

.include <bsd.own.mk>

LIB=c_r
SHLIB_MAJOR= 7
CFLAGS+=-DPTHREAD_KERNEL 
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/uthread \
	-I${.CURDIR}/../../include

# Uncomment this if you want libc_r to contain debug information for
# thread locking.
CFLAGS+=-D_LOCK_DEBUG

# enable extra internal consistancy checks
CFLAGS+=-D_PTHREADS_INVARIANTS

PRECIOUSLIB=

.include "${.CURDIR}/uthread/Makefile.inc"
.include "${.CURDIR}/sys/Makefile.inc"

.include <bsd.lib.mk>
@


1.52.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:11 +0000
@
text
@d1 31
@


1.52.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 31
# $FreeBSD: releng/8.4/lib/libc_r/Makefile 204048 2010-02-18 16:52:49Z ru $
#
# 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 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.

.include <bsd.own.mk>

LIB=c_r
SHLIB_MAJOR= 7
CFLAGS+=-DPTHREAD_KERNEL 
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/uthread \
	-I${.CURDIR}/../../include

# Uncomment this if you want libc_r to contain debug information for
# thread locking.
CFLAGS+=-D_LOCK_DEBUG

# enable extra internal consistancy checks
CFLAGS+=-D_PTHREADS_INVARIANTS

PRECIOUSLIB=

.include "${.CURDIR}/uthread/Makefile.inc"
.include "${.CURDIR}/sys/Makefile.inc"

.include <bsd.lib.mk>
@


1.51
log
@SVN rev 203918 on 2010-02-15 14:14:13Z by ru

Though these libraries are disconnected from the build and don't
currently build, they should be kept.  [1]

Unbreak their makefiles by removing the support for the long gone
DEFAULT_THREAD_LIB knob.  (Allows the tools/make_libdeps.sh script
to succeed.)

According to:	davidxu and deischen [1]
MFC after:	3 days
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.50
log
@SVN rev 188583 on 2009-02-13 16:51:36Z by jkim

Honor WITHOUT_INSTALLLIB in some places.
@
text
@a12 4
.if ${DEFAULT_THREAD_LIB} == "libc_r" && ${SHLIBDIR} == "/usr/lib"
SHLIBDIR= /lib
.endif

a30 12
.if ${DEFAULT_THREAD_LIB} == "libc_r"
.if ${MK_INSTALLLIB} != "no"
SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
.endif
.if !defined(NO_PIC)
SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
.endif
.if ${MK_PROFILE} != "no"
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
.endif
.endif

@


1.50.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.50.2.2
log
@SVN rev 204048 on 2010-02-18 16:52:49Z by ru

MFC: r203918: Unbreak makefiles by removing mentions of DEFAULT_THREAD_LIB.
@
text
@d13 4
d35 12
@


1.50.2.3
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/libc_r/Makefile 204048 2010-02-18 16:52:49Z ru $
@


1.50.2.2.6.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.50.2.2.6.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/lib/libc_r/Makefile 204048 2010-02-18 16:52:49Z ru $
@


1.50.2.2.4.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.50.2.2.2.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.50.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.49
log
@Bump library versions in preparation for 7.0.

Ok'd by:	kan
@
text
@d36 1
d38 1
@


1.49.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/lib/libc_r/Makefile 169807 2007-05-21 02:49:08Z deischen $
@


1.49.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.49.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/lib/libc_r/Makefile 169807 2007-05-21 02:49:08Z deischen $
@


1.49.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.49.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.49.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.48
log
@Fix a logic bug I re-introduced in my patch I sent to Daniel
that would cause the selected shared threading library to be
overwritten with its 32-bit version on amd64.

PR:		amd64/112509
@
text
@d18 1
a18 1
SHLIB_MAJOR= 6
@


1.47
log
@Allow DEFAULT_THREAD_LIB to be set from /etc/src.conf.

Submitted by:	ru
@
text
@d13 1
a13 1
.if ${DEFAULT_THREAD_LIB} == "libc_r"
@


1.46
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
@d11 4
a14 2
.if defined(DEFAULT_THREAD_LIB) && (${DEFAULT_THREAD_LIB} == "libc_r")
SHLIBDIR?= /lib
a16 2
.include <bsd.own.mk>

@


1.45
log
@Remove alpha left-overs.
@
text
@d10 7
d35 1
a35 1
.if ${MACHINE_ARCH} == "sparc64"
@


1.44
log
@Fix a symlink.
@
text
@d28 1
a28 1
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
@


1.43
log
@Convert NO_PROFILE and NO_LIB32 to new style.
@
text
@d31 1
a31 1
SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libpthread.so
@


1.42
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
@d33 1
a33 1
.if !defined(NO_PROFILE)
@


1.41
log
@NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
@
text
@d11 1
a11 1
SHLIB_MAJOR= 5
@


1.41.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
@d11 1
a11 1
SHLIB_MAJOR= 6
@


1.41.2.2
log
@On alpha and sparc64, install shared libc_r into /lib because
it's aliased to libpthread and some /sbin tools need it.
This is pseudo-MFC because in HEAD libthr is aliased to
libpthread on sparc64 (and was on alpha).

Approved by:	re (kensmith)
@
text
@a28 1
SHLIBDIR?= /lib
d31 1
a31 1
SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
@


1.41.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/lib/libc_r/Makefile 162811 2006-09-29 19:31:21Z ru $
@


1.41.2.2.6.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.40
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d30 1
a30 1
.if !defined(NOPIC)
d33 1
a33 1
.if !defined(NOPROFILE)
@


1.39
log
@Correct the link for the profiling library.
@
text
@d23 1
a23 1
PRECIOUSLIB=	yes
@


1.39.2.1
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d23 1
a23 1
PRECIOUSLIB=
@


1.38
log
@Change libkse back to libpthread and make it the default
thread library for i386, amd64, and ia64.  For alpha
and sparc64 the library is not changed and remains libkse,
and links are installed so that libpthread -> libc_r.

The gcc -pthread option will be changed in a separate
commit so that it links to -lpthread instead of -lc_r.

Approved by:	re@@
@
text
@d34 1
a34 1
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread.a
@


1.37
log
@Have a single set of POSIX threads man pages.  The LIBRARY section
of each manpage lists libraries that have corresponding interfaces
implemented.

Prodded by:	threads
Reviewed by:	deischen
@
text
@d28 10
@


1.36
log
@Remove -D_THREAD_SAFE.

Submitted by:   Craig Rodrigues <rodrigc@@crodrigues.org>
@
text
@a24 1
.include "${.CURDIR}/man/Makefile.inc"
@


1.35
log
@Make libc/${MACHINE_ARCH} include directory not required by Alpha.

Submitted by:	bde
Tested by:	beast
@
text
@d12 1
a12 1
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE 
@


1.34
log
@libc/${MACHINE_ARCH} include directory is required by Alpha,
add it to CFLAGS.
@
text
@d14 1
a14 1
	-I${.CURDIR}/../../include -I${.CURDIR}/../libc/${MACHINE_ARCH}
@


1.33
log
@Axe AINC.

Submitted by:	bde
@
text
@d14 1
a14 1
	-I${.CURDIR}/../../include
@


1.32
log
@Zap now-unused SHLIB_MINOR
@
text
@a22 1
AINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread
@


1.31
log
@Sync SCM ID comments with libc.
@
text
@a11 1
SHLIB_MINOR= 0
@


1.30
log
@Add weak definitions for wrapped system calls.  In general:

	_foo - wrapped system call
	foo - weak definition to _foo

and for cancellation points:

	_foo - wrapped system call
	__foo - enter cancellation point, call _foo(), leave
	        cancellation point
	foo - weak definition to __foo

Change use of global _thread_run to call a function to get the
currently running thread.

Make all pthread_foo functions weak definitions to _pthread_foo,
where _pthread_foo is the implementation.  This allows an application
to provide its own pthread functions.

Provide slightly different versions of pthread_mutex_lock and
pthread_mutex_init so that we can tell the difference between
a libc mutex and an application mutex.  Threads holding mutexes
internal to libc should never be allowed to exit, call signal
handlers, or cancel.

Approved by:	-arch
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.29 2000/11/14 02:46:23 obrien Exp $
d3 1
a3 1
# All library objects contain rcsid strings by default; they may be
d5 5
a9 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.
d13 3
a15 3
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread
CFLAGS+=-I${.CURDIR}/../../include
@


1.29
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
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.28 2000/10/13 22:19:50 deischen Exp $
a24 17
#
# This is a list of syscalls that are renamed as _thread_sys_{syscall}
# so that libc_r can provide replacement functions.
#
HIDDEN_SYSCALLS= aio_suspend.o accept.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 \
	getlogin.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 \
	signanosleep.o sigpending.o sigprocmask.o sigreturn.o sigsetmask.o \
	sigsuspend.o socket.o \
	socketpair.o wait4.o write.o writev.o

.include "${.CURDIR}/../libc/Makefile.inc"
@


1.28
log
@Enable _PTHREADS_INVARIANTS until the recent libc_r changes are
shaken out.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.27 2000/08/07 16:51:55 jlemon Exp $
d9 1
a9 1
SHLIB_MAJOR= 4
@


1.27
log
@Add wrapper for kevent() syscall

Noted as missing by: nicolas.leonard@@animaths.com
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.26 2000/07/05 16:21:42 jasone Exp $
d20 1
a20 1
# CFLAGS+=-D_PTHREADS_INVARIANTS
@


1.26
log
@Remove DEBUG_FLAGS=-g3, which never should have been committed.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.25 2000/04/27 00:59:42 jasone Exp $
d32 2
a33 1
	getlogin.o getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \
@


1.25
log
@Add a wrapper for the sendfile() system call.

PR:		bin/17366
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.24 2000/01/27 23:06:56 jasone Exp $
a17 2

DEBUG_FLAGS=-g3
@


1.24
log
@Simplify sytem call renaming.  Instead of _foo() <-- _libc_foo <-- foo(),
just use _foo() <-- foo().  In the case of a libpthread that doesn't do
call conversion (such as linuxthreads and our upcoming libpthread), this
is adequate.  In the case of libc_r, we still need three names, which are
now _thread_sys_foo() <-- _foo() <-- foo().

Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(),
nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo().

Remove all internal libc usage of: creat(), pause(), sleep(), system(),
tcdrain(), wait(), and waitpid().

Make thread cancellation fully POSIX-compliant.

Suggested by:	deischen
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.23 1999/12/18 01:00:41 jasone Exp $
d19 2
d36 1
a36 1
	recvmsg.o sched_yield.o select.o sendmsg.o sendto.o \
@


1.24.2.1
log
@MFC: Add a sendfile() wrapper, so that calls to sendfile() do not block the
entire process.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.24 2000/01/27 23:06:56 jasone Exp $
d34 1
a34 1
	recvmsg.o sched_yield.o select.o sendfile.o sendmsg.o sendto.o \
@


1.24.2.2
log
@MFC: Add wrapper for kevent() syscall

Approved by:	jlemon (in concept)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.24.2.1 2000/07/18 01:57:20 jasone Exp $
d32 1
a32 2
	getlogin.o getpeername.o getsockname.o getsockopt.o ioctl.o \
	kevent.o listen.o \
@


1.24.2.3
log
@MFC: bring in signal handling changes, bug fixes, performance
     enhancements, and other good stuff.  gdb thread changes to
     follow later tonight.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.24.2.2 2000/08/23 02:48:47 jhb Exp $
d20 1
a20 1
CFLAGS+=-D_PTHREADS_INVARIANTS
@


1.24.2.4
log
@We don't provide a wrapper for nfssvc(2), and signanosleep(2) was
removed yet in 1998.
@
text
@d1 1
a1 1
# $FreeBSD$
d34 1
a34 1
	msync.o nanosleep.o open.o poll.o read.o readv.o recvfrom.o \
d37 1
a37 1
	sigpending.o sigprocmask.o sigreturn.o sigsetmask.o \
@


1.24.2.5
log
@libc_r doesn't provide a wrapper for sigreturn(2).
(This change isn't applicable to -CURRENT which doesn't hide syscalls.)
@
text
@d37 1
a37 1
	sigpending.o sigprocmask.o sigsetmask.o \
@


1.24.2.6
log
@MFC: Diff reduction to -current libc_r (part 1):
_thread_sys_{syscall} -> __sys_{syscall}.

This change does not break ABI because these symbols are used solely
inside libc_r.

Approved by:	deischen
@
text
@d26 1
a26 1
# This is a list of syscalls that are renamed as __sys_{syscall}
@


1.24.2.7
log
@MFC:

- signal handling
- thread suspension, add pthread_suspend/resume_all_np()

- don't allow the uthread kernel pipe to use the same descriptors as stdio
- make sigpending() and sigsuspend() account for signals that are pending on
the process as well as pending on the current thread
- thread_kern_poll(): limit maximum poll interval to 60 seconds
- _select(): return correct number of total bits set in all fd_set's,
change case of POLLNVAL as an error, remove POLLHUP and POLLERR from one case,
their place is most likely amongst read events
- use SA_RESTART for signal handlers
- disconnect uthread_sigblock.c and uthread_sigsetmask.c from the build,
remove sources not connected to build
- pthread_xxx and sem_xxx symbols are now weak
- remove #ifdef _THREAD_SAFE from sources -- it is not needed

Approved by:	deischen
@
text
@d36 2
a37 2
	setsockopt.o shutdown.o sigaction.o \
	sigpending.o sigprocmask.o \
@


1.24.2.8
log
@MFC: Add wrapper for kqueue() to keep track of the allocated fd and allow
     it to be closed. This fixes a file descriptor leak when closing a
     kqueue() fd.
@
text
@d33 1
a33 1
	kevent.o kqueue.o listen.o \
@


1.24.2.9
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/lib/libc_r/Makefile 118756 2003-08-10 23:52:59Z mp $
@


1.23
log
@Fix some minor POSIX/SUSv2 compliance nits.

PR:		kern/11982
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.22 1999/11/28 05:38:00 alfred Exp $
d29 1
a29 1
HIDDEN_SYSCALLS= accept.o bind.o close.o connect.o dup.o dup2.o \
@


1.22
log
@add pthread_cancel, obtained from OpenBSD.

eischen (Daniel Eischen) added wrappers to protect against cancled
threads orphaning internal resources.

the cancelability code is still a bit fuzzy but works for test
programs of my own, OpenBSD's and some examples from ORA's books.

add readdir_r to both libc and libc_r

add some 'const' attributes to function parameters

Reviewed by: eischen, jasone
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.21 1999/10/14 10:08:53 marcel Exp $
d13 1
@


1.21
log
@Add sigsuspend.o and sigpending.o to HIDDEN_SYSCALLS as well.

Pointed out by: jdp
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.20 1999/09/30 15:07:43 marcel Exp $
d18 3
d31 2
a32 2
	getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \
	nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \
d35 2
a36 1
	signanosleep.o sigpending.o sigprocmask.o sigsuspend.o socket.o \
@


1.20
log
@Add sigprocmask to HIDDEN_SYSCALLS. This renames the syscall to
_thread_sys_sisprocmask in libc_r. This solves the undefined symbol...

Reported by: Kenneth Wayne Culver
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.19 1999/08/28 00:02:59 peter Exp $
d32 2
a33 2
	signanosleep.o sigprocmask.o socket.o socketpair.o wait4.o \
	write.o writev.o
@


1.19
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d32 2
a33 1
	signanosleep.o socket.o socketpair.o wait4.o write.o writev.o
@


1.18
log
@Always use growable thread stacks on the i386.  The VM_STACK kernel option
must be made default for the alpha before growable thread stacks are
enabled for the alpha.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.17 1999/07/05 00:38:12 jasone Exp $
@


1.17
log
@Disable growable stacks by default, as advertised.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.16 1999/07/05 00:35:14 jasone Exp $
a16 3

# Uncomment this if you want libc_r to use growable stacks.
#CFLAGS+=-D_PTHREAD_GSTACK
@


1.16
log
@Use growable stacks for thread stacks that are the default stack size.

Cache discarded default thread stacks for use in subsequent thread creations.

Create a red zone at the end of each stack (including the initial thread
stack), with the hope of causing a segfault if a stack overflows.

To activate these modifications, add -D_PTHREAD_GSTACK to CFLAGS in
src/lib/libc_r/Makefile.  Since the modifications depend on the VM_STACK
kernel option, I'm not sure how to safely use growable stacks by default.

Testing, as well as algorithmic and stylistic comments are welcome.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.15 1999/06/20 08:32:37 jb Exp $
d19 1
a19 1
CFLAGS+= -D_PTHREAD_GSTACK
@


1.15
log
@Remove -DNOPOLL from the compilation flags now that there is a poll wrapper
in libc_r.

Bump the library version number (the scheduler now uses a poll syscall
instead of select).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.14 1998/12/10 20:27:52 jb Exp $
d16 4
a19 1
#CFLAGS+=-D_LOCK_DEBUG
@


1.14
log
@Don't hide mknod, it doesn't need a wrapper and never has had one.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.13 1998/06/14 11:25:44 peter Exp $
d9 1
a9 1
SHLIB_MAJOR= 3
d12 1
a12 1
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -DNOPOLL -I${.CURDIR}/uthread
d16 1
a16 1
# CFLAGS+=-D_LOCK_DEBUG
@


1.14.2.1
log
@MFC: removed -DNOPOLL.  Note that unlike -current, the libc_r library
version remains at 3.  If you are building dynamically linked apps
that now want to use poll, keep in mind that they will not be usable
with previous versions of libc_r.so.3 (which lack the wrapped poll()).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.15 1999/06/20 08:32:37 jb Exp $
d12 1
a12 1
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread
d16 1
a16 1
#CFLAGS+=-D_LOCK_DEBUG
@


1.14.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.14.2.3
log
@MFC: make pthread_rwlockattr_setpshared POSIX compliant.

Reviewed by:	deischen
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.14.2.2 1999/08/29 14:55:21 peter Exp $
d9 1
a9 1
SHLIB_MAJOR= 4
a12 1
CFLAGS+=-I${.CURDIR}/../../include
@


1.14.2.4
log
@MFC: Cancellation functions.

Reviewed by:	deischen
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.14.2.3 2000/01/04 10:28:37 tg Exp $
a18 3
# enable extra internal consistancy checks
# CFLAGS+=-D_PTHREADS_INVARIANTS

d29 2
a30 2
	getlogin.o getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \
	msync.o nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \
d33 1
a33 2
	signanosleep.o sigpending.o sigprocmask.o sigreturn.o sigsetmask.o \
	sigsuspend.o socket.o \
@


1.14.2.5
log
@MFC: Fix signal handling.

Reviewed by:	deischen

Fix some botches I introduced in the last commits.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.14.2.4 2000/01/04 10:42:13 tg Exp $
a37 1
        socketpair.o wait4.o write.o writev.o
@


1.14.2.6
log
@MFC: Use growable stacks.

Reviewed by:	deischen
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libc_r/Makefile,v 1.14.2.5 2000/01/04 11:02:44 tg Exp $
d17 1
a17 1
CFLAGS+=-D_LOCK_DEBUG
d38 1
a38 1
	socketpair.o wait4.o write.o writev.o
@


1.13
log
@Don't compile in the use of poll() when building libc_r.  This isn't
so much a "fix", rather a bandaid to buy time to fix it properly
within the thread engine.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.12 1998/06/12 02:21:27 jb Exp $
d29 1
a29 1
	mknod.o nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \
@


1.12
log
@Add poll to the list of hidden syscalls so that it gets renamed. This
propagates a bug (that there is no poll wrapper in libc_r), but it
prevents GNU configure scripts from trying to use it in preference
to select. libc_r really needs to change it's wait interface to use
poll instead of select because poll is more a superset of select that
the other way around.

This should allow the Roxen web server to work out-of-the-box. It's
configuration intercae is kinda neat. The code isn't. Shiver. 8-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1998/06/09 23:25:13 jb Exp $
d12 1
a12 1
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread
@


1.11
log
@Add a commented out CFLAGS entry that can be uncommented to compile thread
lock debug into libc_r. I don't know if this is the best place to document
this, but at least it is recorded somewhere. 8-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1998/06/01 02:12:15 jb Exp $
d29 1
a29 1
	mknod.o nanosleep.o nfssvc.o open.o read.o readv.o recvfrom.o \
@


1.10
log
@send and recv are wrappered in libc, so they shouldn't appear here.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1998/05/31 23:53:50 jb Exp $
d13 5
@


1.9
log
@Remove some syscalls that should have been renamed (libc_r doesn't need
to wrapper them) and add a couple that should have been there.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1998/03/28 11:49:02 dufault Exp $
d24 2
a25 2
	mknod.o nanosleep.o nfssvc.o open.o read.o readv.o recv.o recvfrom.o \
	recvmsg.o sched_yield.o select.o send.o sendmsg.o sendto.o \
@


1.8
log
@Finish _POSIX_PRIORITY_SCHEDULING.  Needs P1003_1B and
_KPOSIX_PRIORITY_SCHEDULING options to work.  Changes:

Change all "posix4" to "p1003_1b".  Misnamed files are left
as "posix4" until I'm told if I can simply delete them and add
new ones;

Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux;

Add man pages for _POSIX_PRIORITY_SCHEDULING system calls;

Add options to LINT;

Minor fixes to P1003_1B code during testing.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1998/03/09 05:09:43 jb Exp $
d21 1
a21 1
	execve.o fchdir.o fchflags.o fchmod.o fchown.o fcntl.o \
d24 4
a27 4
	mkfifo.o mknod.o nanosleep.o nfssvc.o open.o read.o readv.o \
	recvfrom.o recvmsg.o sched_yield.o select.o sendmsg.o sendto.o \
	setsockopt.o shutdown.o sigaction.o sigaltstack.o signanosleep.o \
	socket.o socketpair.o wait4.o write.o writev.o
@


1.7
log
@Add lib/libc/include as an directory to search for header files.

Change MACHINE references to MACHINE_ARCH.

Declare the names of the syscalls that need to be renamed to allow
for the functions that libc_r provides replacements for. This list
used to be in lib/libc/sys/Makefile.inc, but has been moved here
to keep that makefile tidy and remove the temptation for people to
add things to the list without adding a libc_r replacement function.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1997/05/03 03:57:21 jb Exp $
d25 3
a27 3
	recvfrom.o recvmsg.o select.o sendmsg.o sendto.o setsockopt.o \
	shutdown.o sigaction.o sigaltstack.o signanosleep.o socket.o \
	socketpair.o wait4.o write.o writev.o
@


1.6
log
@Use libc makefiles from now on instead of duplicating them in libc_r.

Added Id strings too. It's useful to know who last made a change.
@
text
@d1 1
a1 1
#	$Id$
d11 1
a11 1
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS
d13 1
a13 1
AINC=	-I${.CURDIR}/../libc/${MACHINE} -I${.CURDIR}/uthread
d15 13
@


1.5
log
@Submitted by:	 John Birrell
uthreads update from the author.
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.2 (Berkeley) 2/3/94
d16 1
a16 5
.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"
d18 1
a18 8
.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"
a19 8
.include "${.CURDIR}/rpc/Makefile.inc"
.include "${.CURDIR}/uthread/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.4
log
@Don't create/install libc_r_pic.a
@
text
@a13 1
CLEANFILES+=tags
a38 9

beforeinstall: tags
	${INSTALL} ${COPY} -o bin -g bin -m 444 tags /var/db/libc_r.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.4.2.1
log
@part of YAMFC
cleanup libc_r from 2.2 family
@
text
@a1 1
#	$Id: Makefile,v 1.6 1997/05/03 03:57:21 jb Exp $
d14 1
d17 5
a21 1
.include "${.CURDIR}/../libc/Makefile.inc"
d23 10
d34 15
a48 1
.include "${.CURDIR}/sys/Makefile.inc"
@


1.4.2.2
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.4.2.1 1997/06/23 23:49:27 julian Exp $
d12 1
a12 1
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include
d14 1
a14 6

# Uncomment this if you want libc_r to contain debug information for
# thread locking.
# CFLAGS+=-D_LOCK_DEBUG

AINC=	-I${.CURDIR}/../libc/${MACHINE}
a15 13

#
# This is a list of syscalls that are renamed as _thread_sys_{syscall}
# so that libc_r can provide replacement functions.
#
HIDDEN_SYSCALLS= accept.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 listen.o \
	mknod.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \
	recvmsg.o sched_yield.o select.o sendmsg.o sendto.o \
	setsockopt.o shutdown.o sigaction.o sigaltstack.o \
	socket.o socketpair.o wait4.o write.o writev.o
@


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


1.3
log
@Submitted by: John Birrell <cimaxp1!jb@@werple.net.au>

Here are the diffs for libc_r to get it one step closer to P1003.1c
These make most of the thread/mutex/condvar structures opaque to the
user. There are three functions which have been renamed with _np
suffixes because they are extensions to P1003.1c (I did them for JAVA,
which needs to suspend/resume threads and also start threads suspended).

I've created a new header (pthread_np.h) for the non-POSIX stuff.

The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented
doesn't work. I think its best to delete it. I don't think libc_r needs
tags anyway, 'cause most of the source is in libc which does have tags.

also:

Here's the first batch of man pages for the thread functions.
The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was
inherited from /usr/src/lib/libc/Makefile that should only be done with
libc.

also:

I should have sent this diff with the pthread(3) man page.
It allows people to type

make -DWANT_LIBC_R world

to get libc_r built with the rest of the world. I put this in the
pthread(3) man page.  The default is still not to build libc_r.


also:
The diff attached adds a pthread(3) man page to /usr/src/share/man/man3.
The idea is that without libc_r installed, this man page will give people
enough info to know that they have to build libc_r.
@
text
@a14 1
INSTALL_PIC_ARCHIVE=	yes
@


1.2
log
@Sync libc_r with libc changes..
@
text
@d23 1
d42 2
a43 18
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 index.c mcount.c rindex.c strcat.c strcmp.c strcpy.c \
	strlen.c strncpy.c

libkern: libkern.gen libkern.${MACHINE}

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

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

#beforeinstall: tags
#	${INSTALL} ${COPY} -o bin -g bin -m 444 tags /var/db/libc.tags
@


1.1
log
@Reviewed by:	 julian
Submitted by:	 john birrel

One version of the pthreads library
another will follow with differnt actions under some cases..
not QUITE complete
@
text
@d9 2
a10 2
SHLIB_MAJOR= 2
SHLIB_MINOR= 2
@
