1997-05-03 03:50:06 +00:00
|
|
|
# from @(#)Makefile.inc 8.3 (Berkeley) 2/4/95
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 05:00:24 +00:00
|
|
|
|
|
|
|
# machine-independent stdlib sources
|
2010-08-24 20:54:43 +00:00
|
|
|
.PATH: ${.CURDIR}/${LIBC_ARCH}/stdlib ${.CURDIR}/stdlib
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2005-12-24 22:37:59 +00:00
|
|
|
MISRCS+=_Exit.c a64l.c abort.c abs.c atexit.c atof.c atoi.c atol.c atoll.c \
|
2006-01-12 07:28:21 +00:00
|
|
|
bsearch.c div.c exit.c getenv.c getopt.c getopt_long.c \
|
Integrate the new MPSAFE TTY layer to the FreeBSD operating system.
The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:
- Improved driver model:
The old TTY layer has a driver model that is not abstract enough to
make it friendly to use. A good example is the output path, where the
device drivers directly access the output buffers. This means that an
in-kernel PPP implementation must always convert network buffers into
TTY buffers.
If a PPP implementation would be built on top of the new TTY layer
(still needs a hooks layer, though), it would allow the PPP
implementation to directly hand the data to the TTY driver.
- Improved hotplugging:
With the old TTY layer, it isn't entirely safe to destroy TTY's from
the system. This implementation has a two-step destructing design,
where the driver first abandons the TTY. After all threads have left
the TTY, the TTY layer calls a routine in the driver, which can be
used to free resources (unit numbers, etc).
The pts(4) driver also implements this feature, which means
posix_openpt() will now return PTY's that are created on the fly.
- Improved performance:
One of the major improvements is the per-TTY mutex, which is expected
to improve scalability when compared to the old Giant locking.
Another change is the unbuffered copying to userspace, which is both
used on TTY device nodes and PTY masters.
Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.
Obtained from: //depot/projects/mpsafetty/...
Approved by: philip (ex-mentor)
Discussed: on the lists, at BSDCan, at the DevSummit
Sponsored by: Snow B.V., the Netherlands
dcons(4) fixed by: kan
2008-08-20 08:31:58 +00:00
|
|
|
getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c \
|
2005-12-24 22:37:59 +00:00
|
|
|
insque.c l64a.c labs.c ldiv.c llabs.c lldiv.c lsearch.c malloc.c \
|
2011-12-07 15:25:48 +00:00
|
|
|
merge.c ptsname.c qsort.c qsort_r.c quick_exit.c radixsort.c rand.c \
|
|
|
|
random.c reallocf.c realpath.c remque.c strfmon.c strtoimax.c \
|
2007-07-04 00:00:41 +00:00
|
|
|
strtol.c strtoll.c strtoq.c strtoul.c strtonum.c strtoull.c \
|
|
|
|
strtoumax.c strtouq.c system.c tdelete.c tfind.c tsearch.c twalk.c
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2006-03-13 01:15:01 +00:00
|
|
|
SYM_MAPS+= ${.CURDIR}/stdlib/Symbol.map
|
|
|
|
|
1994-05-27 05:00:24 +00:00
|
|
|
# machine-dependent stdlib sources
|
2010-08-24 20:54:43 +00:00
|
|
|
.sinclude "${.CURDIR}/${LIBC_ARCH}/stdlib/Makefile.inc"
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2012-01-09 06:36:28 +00:00
|
|
|
MAN+= a64l.3 abort.3 abs.3 aligned_alloc.3 alloca.3 atexit.3 atof.3 \
|
|
|
|
atoi.3 atol.3 at_quick_exit.3 bsearch.3 \
|
Integrate the new MPSAFE TTY layer to the FreeBSD operating system.
The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:
- Improved driver model:
The old TTY layer has a driver model that is not abstract enough to
make it friendly to use. A good example is the output path, where the
device drivers directly access the output buffers. This means that an
in-kernel PPP implementation must always convert network buffers into
TTY buffers.
If a PPP implementation would be built on top of the new TTY layer
(still needs a hooks layer, though), it would allow the PPP
implementation to directly hand the data to the TTY driver.
- Improved hotplugging:
With the old TTY layer, it isn't entirely safe to destroy TTY's from
the system. This implementation has a two-step destructing design,
where the driver first abandons the TTY. After all threads have left
the TTY, the TTY layer calls a routine in the driver, which can be
used to free resources (unit numbers, etc).
The pts(4) driver also implements this feature, which means
posix_openpt() will now return PTY's that are created on the fly.
- Improved performance:
One of the major improvements is the per-TTY mutex, which is expected
to improve scalability when compared to the old Giant locking.
Another change is the unbuffered copying to userspace, which is both
used on TTY device nodes and PTY masters.
Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.
Obtained from: //depot/projects/mpsafetty/...
Approved by: philip (ex-mentor)
Discussed: on the lists, at BSDCan, at the DevSummit
Sponsored by: Snow B.V., the Netherlands
dcons(4) fixed by: kan
2008-08-20 08:31:58 +00:00
|
|
|
div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 \
|
2003-01-02 20:44:41 +00:00
|
|
|
hcreate.3 imaxabs.3 imaxdiv.3 insque.3 labs.3 ldiv.3 llabs.3 lldiv.3 \
|
2012-01-09 06:36:28 +00:00
|
|
|
lsearch.3 malloc.3 memory.3 ptsname.3 qsort.3 \
|
2011-12-07 15:25:48 +00:00
|
|
|
quick_exit.3 \
|
Integrate the new MPSAFE TTY layer to the FreeBSD operating system.
The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:
- Improved driver model:
The old TTY layer has a driver model that is not abstract enough to
make it friendly to use. A good example is the output path, where the
device drivers directly access the output buffers. This means that an
in-kernel PPP implementation must always convert network buffers into
TTY buffers.
If a PPP implementation would be built on top of the new TTY layer
(still needs a hooks layer, though), it would allow the PPP
implementation to directly hand the data to the TTY driver.
- Improved hotplugging:
With the old TTY layer, it isn't entirely safe to destroy TTY's from
the system. This implementation has a two-step destructing design,
where the driver first abandons the TTY. After all threads have left
the TTY, the TTY layer calls a routine in the driver, which can be
used to free resources (unit numbers, etc).
The pts(4) driver also implements this feature, which means
posix_openpt() will now return PTY's that are created on the fly.
- Improved performance:
One of the major improvements is the per-TTY mutex, which is expected
to improve scalability when compared to the old Giant locking.
Another change is the unbuffered copying to userspace, which is both
used on TTY device nodes and PTY masters.
Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.
Obtained from: //depot/projects/mpsafetty/...
Approved by: philip (ex-mentor)
Discussed: on the lists, at BSDCan, at the DevSummit
Sponsored by: Snow B.V., the Netherlands
dcons(4) fixed by: kan
2008-08-20 08:31:58 +00:00
|
|
|
radixsort.3 rand.3 random.3 \
|
2006-03-14 16:57:30 +00:00
|
|
|
realpath.3 strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \
|
|
|
|
tsearch.3
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2005-12-24 22:37:59 +00:00
|
|
|
MLINKS+=a64l.3 l64a.3 a64l.3 l64a_r.3
|
2012-01-09 06:36:28 +00:00
|
|
|
MLINKS+=aligned_alloc.3 posix_memalign.3
|
2001-11-28 01:22:08 +00:00
|
|
|
MLINKS+=atol.3 atoll.3
|
2002-09-10 02:04:49 +00:00
|
|
|
MLINKS+=exit.3 _Exit.3
|
1997-10-21 08:41:15 +00:00
|
|
|
MLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3
|
2004-02-24 08:07:26 +00:00
|
|
|
MLINKS+=getopt_long.3 getopt_long_only.3
|
2001-05-15 07:08:20 +00:00
|
|
|
MLINKS+=hcreate.3 hdestroy.3 hcreate.3 hsearch.3
|
2002-10-16 14:00:46 +00:00
|
|
|
MLINKS+=insque.3 remque.3
|
2002-10-16 14:29:23 +00:00
|
|
|
MLINKS+=lsearch.3 lfind.3
|
Integrate the new MPSAFE TTY layer to the FreeBSD operating system.
The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:
- Improved driver model:
The old TTY layer has a driver model that is not abstract enough to
make it friendly to use. A good example is the output path, where the
device drivers directly access the output buffers. This means that an
in-kernel PPP implementation must always convert network buffers into
TTY buffers.
If a PPP implementation would be built on top of the new TTY layer
(still needs a hooks layer, though), it would allow the PPP
implementation to directly hand the data to the TTY driver.
- Improved hotplugging:
With the old TTY layer, it isn't entirely safe to destroy TTY's from
the system. This implementation has a two-step destructing design,
where the driver first abandons the TTY. After all threads have left
the TTY, the TTY layer calls a routine in the driver, which can be
used to free resources (unit numbers, etc).
The pts(4) driver also implements this feature, which means
posix_openpt() will now return PTY's that are created on the fly.
- Improved performance:
One of the major improvements is the per-TTY mutex, which is expected
to improve scalability when compared to the old Giant locking.
Another change is the unbuffered copying to userspace, which is both
used on TTY device nodes and PTY masters.
Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.
Obtained from: //depot/projects/mpsafetty/...
Approved by: philip (ex-mentor)
Discussed: on the lists, at BSDCan, at the DevSummit
Sponsored by: Snow B.V., the Netherlands
dcons(4) fixed by: kan
2008-08-20 08:31:58 +00:00
|
|
|
MLINKS+=ptsname.3 grantpt.3 ptsname.3 unlockpt.3
|
2002-09-10 02:04:49 +00:00
|
|
|
MLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3 qsort.3 qsort_r.3
|
2001-04-23 11:11:00 +00:00
|
|
|
MLINKS+=rand.3 rand_r.3 rand.3 srand.3 rand.3 sranddev.3
|
1997-03-23 23:12:59 +00:00
|
|
|
MLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \
|
|
|
|
random.3 srandomdev.3
|
2004-05-12 08:13:40 +00:00
|
|
|
MLINKS+=radixsort.3 sradixsort.3
|
2003-04-05 07:33:46 +00:00
|
|
|
MLINKS+=strtod.3 strtof.3 strtod.3 strtold.3
|
2001-11-28 03:37:06 +00:00
|
|
|
MLINKS+=strtol.3 strtoll.3 strtol.3 strtoq.3 strtol.3 strtoimax.3
|
|
|
|
MLINKS+=strtoul.3 strtoull.3 strtoul.3 strtouq.3 strtoul.3 strtoumax.3
|
2003-01-24 13:58:56 +00:00
|
|
|
MLINKS+=malloc.3 calloc.3 malloc.3 free.3 malloc.3 malloc.conf.5 \
|
2006-03-28 22:16:04 +00:00
|
|
|
malloc.3 realloc.3 malloc.3 reallocf.3 malloc.3 malloc_usable_size.3
|
2001-03-15 01:53:17 +00:00
|
|
|
MLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3
|
2008-10-17 08:30:20 +00:00
|
|
|
|
|
|
|
.if defined(MALLOC_PRODUCTION)
|
|
|
|
CFLAGS+= -DMALLOC_PRODUCTION
|
|
|
|
.endif
|
|
|
|
|