christos
6645a4f37b
free -> dealloc
2006-01-25 18:27:23 +00:00
christos
b7c7f77db6
use zlib-1.2.3
2006-01-14 20:15:38 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
tron
72f9a2a842
Return correct error on all zero length codes. Fix from Gentoo bug 94584.
2005-08-04 14:36:42 +00:00
perry
477853c351
nuke trailing whitespace
2005-02-26 22:58:54 +00:00
christos
95bd3d33bf
DECONST->UNCONST
2004-07-01 19:04:58 +00:00
christos
75c2e1e75a
Introduce a zerror() function that can be conditionally compiled out to
...
save space. share all error strings in a single array.
2004-06-30 15:44:55 +00:00
christos
9c5b11e7e9
cast help.
2004-06-30 14:00:02 +00:00
dsl
7dbd0e094b
Make 'dependall' generate dependencies in these libraries.
2003-11-07 23:34:28 +00:00
fvdl
60ae17c7ae
Fix signed/unsigned warnings.
2003-08-31 22:40:13 +00:00
thorpej
7a3fa51b7f
Garbage-collect the DYNAMIC_CRC_TABLE stuff. The table it computed
...
was incompatible with the new CRC code, and it is largely unnecessary
now, since the static table is so much smaller.
Fixes PR kern/20935.
2003-03-29 22:25:25 +00:00
mycroft
d8c7d22134
*** empty log message ***
2003-03-25 22:52:48 +00:00
mycroft
8320edced9
Remove a whole bunch of crap -- including the entirely adler32 stuff that's
...
only used in gzip headers/footers -- that's not actually used here. Also use
a smaller CRC table. Saves >4k of code in boot images.
2003-03-25 22:48:43 +00:00
mycroft
4d7fb7469d
Finish const poisoning.
2003-03-18 20:00:47 +00:00
mycroft
bb478ade6c
Move more stuff into .rodata.
2003-03-18 19:33:51 +00:00
matt
940fedda07
Fix make breakage. $ZDST != ${ZDST} in make. make clean/cleandir now works.
2002-06-15 19:30:56 +00:00
fvdl
104148a990
Sync with userland (1.1.4)
2002-03-12 00:42:23 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
jmc
2229499bfb
Don't make clean and cleandir depend on the lib subdir. Just check for it's
...
existance before running the submake. This makes it possible to run a
make build (which runs cleandir before make obj) in a r/o source tree
2001-11-21 22:10:54 +00:00
tv
4446c00002
Undefine DESTDIR; we don't want the special DESTDIR <bsd.lib.mk>
...
handling for kernel libraries.
XXX this build method should be replaced by something more sane
2001-11-14 21:59:31 +00:00
sommerfeld
5348dfb6ac
Have recursive make invocations depend on the .MAKE pseudo-target so
...
make knows to handle them specially.
2000-12-05 17:01:19 +00:00
augustss
1279e67b6e
Kill some more register declarations.
2000-03-30 12:19:46 +00:00
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +00:00
tsutsui
e61f177ab1
STRIP -> STRIPPROG
2000-01-19 16:29:54 +00:00
thorpej
728d672378
Backout my libsa changes.
1999-11-13 21:33:12 +00:00
thorpej
36ff5d93e8
Backout my libsa changes.
1999-11-13 21:17:56 +00:00
simonb
c24b109ff0
"zutil.h" includes <lib/libsa/stand.h> now.
1999-11-12 12:12:13 +00:00
simonb
fffdb85f69
Include <lib/libsa/stand.h> so that this builds with WARNS=1
1999-11-12 12:11:31 +00:00
thorpej
5dde9d67c2
Don't reference libkern.h in standalone programs.
1999-11-11 20:31:07 +00:00
drochner
192b3c733c
Build libraries for kernel/standalone code from within their compilation
...
directories and use .PATH to lookup the source files.
(Formerly, the libs were built from the source dirs, with MAKEOBJDIR
set to the compilation directory.)
This solves 2 problems:
-"mkdep" and "make" are now consistent about the file lookup, this fixes
bad interactions with amd reported in PR bin/7374 (Arne Juul) and
lossage reported by Andrew Gillham ("obj" dirs and relative paths still
don't work well together)
-kernel compile trees can be moved around without forcing a new
"make depend" - fixing PR kern/4021 by Martin Husemann
1999-05-07 14:28:50 +00:00
christos
cd9b06e204
Don't try to use <stdio.h> (when -DDEBUG) if we are -D_STANDALONE or -D_KERNEL
...
Now the boot blocks compile with -DDEBUG
1999-04-22 16:32:01 +00:00
simonb
3395bf67b0
For the "update-sources" target, don't copy any src/lib/libz sources
...
that differ only in the first line (the NetBSD RCS header).
1999-04-15 02:28:36 +00:00
simonb
351120e29a
Add uncompr.c to LIBZSRCS and zalloc.c to SRCS.
1999-04-15 00:52:58 +00:00
simonb
077cae2629
A simple implementation of zcalloc and zcfree in terms of the libsa
...
alloc and free.
1999-04-15 00:50:39 +00:00
simonb
fe27047537
Add source file, copied from lib/libz/uncompr.c.
1999-04-15 00:48:03 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
tron
46f5a5f507
Make "src/sys/arch/i386/stand" compile again.
1998-11-03 22:00:37 +00:00
tron
873f0be1cd
Sync with files in "src/lib/libz".
1998-11-03 15:49:39 +00:00
tron
d9b5b0b01a
Sync with files in "src/lib/libz".
1998-11-01 21:28:51 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
cgd
da6ee39cde
copy from src/lib/libz:
...
if _STANDALONE or _KERNEL, don't include standard headers and pull
in libkern.h instead. (That doesn't even appear to be necessary,
but it's the 'standard' thing to do.)
1998-03-27 01:11:07 +00:00
cgd
26d7b63bd3
make sure that LORDER, TSORT, AR, NM, RANLIB, and SIZE are correctly
...
and consistently set when doing kernel library builds.
1998-02-07 00:11:29 +00:00
cjs
7a66732d34
Back out BUILDDIR and NOINSTALL changes.
1997-05-31 21:21:13 +00:00
cjs
75380e08a1
Use new NOINSTALL option for libraries that are used only during the build
...
of a program, and not installed into the final system.
1997-05-30 01:55:09 +00:00
gwr
6065389b17
Sync with src/lib/libz
1997-05-20 14:41:54 +00:00
mycroft
185b24dd5b
Use libinstall::, not install:, to prevent instaling LIB.
1997-05-07 16:20:26 +00:00
cgd
72a6422a5e
allow includers to specify library-specific CPP flags via ${LIB}MISCCPPFLAGS
1997-02-16 21:25:18 +00:00
cgd
3ca5f41d59
clean up substantially. Transform clean, depend, cleandir targets from ::
...
to :, so they can be used e.g. with <bsd.prog.mk>. Standardize variable
names used to configure kernel libraries.
Variables used by these Makefile.inc's are:
S must be set to the top of the 'sys' tree.
${LIB}DST may be set to the location of the directory where library
objects are to be built. Defaults to ${.OBJDIR}/lib/${lib}.
${LIB}_AS may be set to 'obj' to build a object from the library's
object files. (Otherwise, a library will be built.)
Defaults to 'library'.
${LIB}MISCMAKEFLAGS
Miscellaneous flags to be passed to the library's Makefile when
building. See library's Makefile for more details about
supported flags and their default values.
(where LIB is KERN, SA, or Z, and lib is kern, sa, or z, depending on which
library's Makefile.inc is being discussed.)
1997-01-23 22:29:07 +00:00
cgd
25bd886ba9
fix a typo (ZPPFLAGS should have been ZCPPFLAGS)
1997-01-22 01:36:30 +00:00
cgd
f515ce7937
add sources, all copied verbatim from src/lib/libz
1997-01-16 00:21:43 +00:00