Home | History | Annotate | Download | only in libkern
History log of /src/sys/lib/libkern/Makefile
RevisionDateAuthorComments
 1.101  05-Jun-2018  christos Use the standard build rules.
 1.100  22-Mar-2016  mrg branches: 1.100.16;
remove a bunch of "@echo done" from the tail of rules. these messages
were vaguely useful back when we didn't run make -j, but now you end
up with a single line "done" every so often, with no idea what it is
for. very few other targets claim they're done so just remove these.
 1.99  07-Sep-2015  uebayasi Order library object build.
 1.98  07-Sep-2015  uebayasi Sprinkle more done messages.
 1.97  09-Feb-2014  njoly branches: 1.97.6;
Revert previous revision. It bkeaks profiling kernel builds.
LIBISPRIVATE unconditionnally set MKPROFILE to no, preventing
profiling kernel library.
 1.96  21-Aug-2013  matt Simplify by using LIBISPRIVATE?= yes
 1.95  18-Jan-2009  he branches: 1.95.24; 1.95.28;
Change the use of formally undocumented features, which have now been
made to fail. Specifically, change
.ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL),
and corresponding for .ifndef.

Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).
 1.94  04-Jan-2009  pooka Split variables out of Makefile into Makefile.libkern so that we
can easily just .include it for the proper SRCS etc. definitions
in case we're interested in the files but not in building an actual
libkern.{a,o}. for librump
 1.93  16-Dec-2008  christos replace bitmask_snprintf(9) with snprintb(3)
 1.92  20-Nov-2008  matt Add new ptree (Patricia / RADIX tree) implementation to NetBSD.
 1.91  16-Nov-2008  ad Our qsort() is inappropriate for kernel use because it makes recursive
calls. Replace it with a kheapsort() function in kernel. Pointed out
by tron@.
 1.90  16-Nov-2008  ad Make qsort() available in libkern.
 1.89  30-Jun-2008  matt branches: 1.89.2; 1.89.4; 1.89.6; 1.89.10;
Move rb.c from sys/lib/libkern to common so it can be in both libc and libkern.
 1.88  15-Jun-2008  christos Include cpuset.
 1.87  31-Jan-2008  matt branches: 1.87.6; 1.87.8; 1.87.10; 1.87.12; 1.87.14;
Add Mersenne Twister prototypes and state struct to libkern.h
Cleanup a comment. s/RLEN/MTPRNG_RLEN/g s/POS1/MTPRNG_POS1/g
Remove unneeded test code.
 1.86  22-Nov-2007  plunky remove insque/remque from libkern, they are no longer used
 1.85  20-Nov-2007  yamt build rb.c.
 1.84  13-Nov-2006  dyoung branches: 1.84.22; 1.84.24; 1.84.28; 1.84.30;
Add strsep(3) to libkern.

To avoid code duplication, move strsep.c to the kernel/userland
common files.

Soon I will commit source-address selection (options IPSELSRC).
It will use strsep(3).
 1.83  27-Oct-2006  christos Merge kernel and userland rmd160 and sha2 implementation.
XXX: We still install rmd160.h and sha2.h in /usr/include/crypto, unlike
the other hash functions which get installed in /usr/include for compatibility.
 1.82  08-Oct-2006  thorpej - Move strtoll.c and strtoull.c from libc/stdlib to common/libc/stdlib.
- Add strtoll.c and strtoull.c to libkern.
 1.81  28-Aug-2006  tsutsui branches: 1.81.2; 1.81.4;
Add src/common/include to include header search path so that
standalone programs can be built without installed ${DESTDIR} tree.
Okayed by christos, and should close PR 33431.
 1.80  27-Apr-2006  thorpej Support for building proplib in the kernel.
 1.79  22-Apr-2006  thorpej Move strtoumax.c from libc/stdlib to common/libc/stdlib and include it
in libkern. Required for new code coming soon.
 1.78  11-Mar-2006  kleink branches: 1.78.2;
Provide BCD<->binary conversion in libkern and turn <dev/clock_subr.h>'s
FROMBCD()/TOBCD() macros into wrappers around it, resulting in both
smaller code footprint and elimination of possible issues due to
multiple evaluation of macro arguments.

Suggested by Simon Burge and Anders Gavare on tech-kern.
 1.77  20-Dec-2005  christos branches: 1.77.4; 1.77.6; 1.77.8; 1.77.10;
Use common sources with userland.
 1.76  11-Dec-2005  christos merge ktrace-lwp.
 1.75  02-Oct-2005  chs put mcount.c in the normal object list, so that "make depend" works.
use a gcc attribute to prevent it from being instrumented.
 1.74  25-Aug-2005  uebayasi Redo previous; don't add mcount.po to POBJS when MKPROFILE=no.
 1.73  25-Aug-2005  uebayasi Create mcount.po only when MKPROFILE != no.
 1.72  26-Feb-2005  perry branches: 1.72.4;
nuke trailing whitespace
 1.71  07-Jul-2003  dsl branches: 1.71.8; 1.71.10;
Add xlat_mbr_fstype - converts mbr type to disklabel type
 1.70  15-May-2003  itojun branches: 1.70.2;
add strl{cpy,cat} to libkern. code from lib/libc/string (originally from openbsd).
 1.69  23-Nov-2002  fvdl If LIBKERN_ARCH is defined, use that as the architecture-specific
subdirectory. Needed for the x86_64 32bit compile case.
 1.68  02-Nov-2002  perry set LLIBS= so we don't try to check the lint lib against llib-lc.ln
 1.67  04-Oct-2002  junyoung Unconditionally add strstr.c. Bill Studenmund.
 1.66  04-Oct-2002  junyoung Add strstr() to libkern. For now, it's only used in i386 (for processor
identification).
 1.65  18-Jun-2002  wrstuden Updated version of cscope/mkid support. Check libkern and compat lib
for source files. Also include header files in mkid run.
 1.64  28-May-2002  itojun have arc4random(9).
 1.63  12-Dec-2001  tv branches: 1.63.8; 1.63.10;
MKfoo=no -> NOfoo
 1.62  14-Nov-2001  tv 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
 1.61  12-Aug-2001  jdolecek Move _insque()/_remque() to libkern. Once remaining uses would
be converted to <sys/queue.h> macros, _insque()/_remque() would be eliminated
altogether.
 1.60  18-Feb-2001  enami branches: 1.60.2; 1.60.4;
Don't set ARCHSUBDIR to empty string.
 1.59  16-Feb-2001  bjh21 Use MACHINE_CPU to find the architecture subdir, or MACHINE_ARCH if that
exists. Same algorithm as libc uses.
 1.58  15-Feb-2001  simonb Use arm arch directory for arm32 as well as arm26.
 1.57  04-Jan-2001  itojun prepare for sh3e[bl] split
 1.56  29-Dec-2000  bjh21 Create a shared set of ARM sources for libkern and move arm26 over to using
them.

These are identical to the current arm32 sources with the following exceptions:
- References to C labels are wrapped in _C_LABEL().
- Function returns have an alternate version inside #ifdef __APCS_26__.
 1.55  08-Dec-2000  deberg add md4c.c
 1.54  02-Mar-2000  itojun make CMSG_ALIGN always synchronize with kernel's idea of ALIGNBYTES.
ancillary data alignment will be ALIGNBYTES, not sizeof(long) - 1, from now.

CMSG_xx will NOT resolve into constant. if you use CMSG_xx to allocate
arrays, you'll lose.

bump shlib minor for libc.

NOTE: if you are on top of arch with ALIGNBYTES != sizeof(long) - 1,
you need to recompile IPv6-related binaries. there is no way to guarantee
backward compat in this aspect. sorry for this. this should be the last
backward compat breakage for IPv6-related ancillary data manipulation.
(we still have PR 9516 for unix-domain sockets...)
 1.53  07-May-1999  drochner branches: 1.53.2;
move intoa() from libsa:net.c to libkern, turn inet_ntoa() into a macro,
nuke ip_convertaddr()
 1.52  07-May-1999  drochner 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
 1.51  11-Apr-1999  gwr Add inet_addr.c (for nfs_bootparam.c)
 1.50  04-Mar-1999  drochner branches: 1.50.4;
make the mipse[lb]->mips translation really work
(the S/// doesn't work as I'm now telling the 3rd time),
put the translation onto a separate line to make it more understandable
 1.49  03-Mar-1999  jonathan Makefile ${MACHINE_ARCH} changes for mips{eb,el}, as suggested by
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
 1.48  24-Feb-1999  chs no need to add ${OBJS} to POBJS here, bsd.lib.mk does it automatically.
 1.47  13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.46  04-Aug-1998  perry branches: 1.46.2;
replace several special targets with stub .c files, as in libc/string
 1.45  03-Aug-1998  perry fix silly comment typo
 1.44  31-Jul-1998  perry make libkern build memmove() properly
 1.43  19-Jul-1998  drochner branches: 1.43.2;
Make the combination "profiled kernel" and "${KERN_AS} == "library""
work too. (mcount.po was forgotten)
 1.42  21-Jun-1998  christos Add a small string pattern matching function to facilitate pcmcia cis string
matches.
 1.41  27-May-1998  explorer add sha1.c, and build it.
 1.40  22-Feb-1998  mycroft Build memcpy() out of bcopy() by default.
 1.39  23-Jan-1998  cgd update to match (now-fixed) libc rules for strchr and strrchr.
Brokenness pointed out by Matthias Drochner.
 1.38  21-Jan-1998  cgd add rules like those in libc to build strchr() and strrchr() (the latter
is being added to libkern by this commit). remove strchr.c from
archs' Makefile.inc files to go along with this. (If an arch has
a .S version, it should be copied down and added to the apropriate
Makefile.inc.)
 1.37  04-Nov-1997  gwr Use LORDER, TSORT
 1.36  31-May-1997  cjs branches: 1.36.8;
Back out BUILDDIR and NOINSTALL changes.
 1.35  30-May-1997  cjs Use new NOINSTALL option for libraries that are used only during the build
of a program, and not installed into the final system.
 1.34  07-May-1997  mycroft Use libinstall::, not install:, to prevent instaling LIB.
 1.33  30-Apr-1997  thorpej Build md5c.c
 1.32  16-Feb-1997  cgd allow includers to specify library-specific CPP flags via ${LIB}MISCCPPFLAGS
 1.31  10-Aug-1996  mycroft branches: 1.31.6;
Add anchors so that only exactly `-I. is modified.
 1.30  10-Aug-1996  mycroft Convert the -I. to -I${.OBJDIR}, so that the `machine symlink is available.
 1.29  08-Aug-1996  mycroft We dont need to pass down COMPATDIR and KERNDIR.
 1.28  08-Aug-1996  mycroft Run the child make in the source directory, so that nothing here needs to be
changed when the compile directory is outside the source tree.
 1.27  10-May-1996  scottr Make sure we clean up libkern.o and libkern.po, too. Closes PRs 1951
and 2387.
 1.26  18-Apr-1996  cgd don't get rid of the -D_KERNEL in KERNCPPFLAGS
 1.25  02-Feb-1996  mycroft Simplify, and add support for passing CPPFLAGS.
 1.24  20-Oct-1995  cgd set, don't add to, CFLAGS from KERNCFLAGS. Do assignment of CC and
CFLAGS earlier, so that the arch-specific Makefile can add to them.
 1.23  07-Oct-1995  mycroft Build libkern as one .o file, so that all symbols defined therein are
always available to loadable modules.
 1.22  26-Sep-1995  jonathan Remove old .PATH directives that referenced libc source.
Libkern has its own copies of all the requisite source files.
 1.21  26-Jun-1995  christos Add the ability to override KERNREL and KERNDST.
 1.20  24-Jun-1995  christos Build libkern in the kernel compilation directory, like libcompat.
 1.19  13-Feb-1995  cgd slight cleanup/reorg. don't use quad code on the alpha.
 1.18  31-Dec-1994  mycroft Change a dependency to work when not using `all' target.
 1.17  07-Dec-1994  deraadt silence link creation
 1.16  26-Oct-1994  cgd new RCS ID format.
 1.15  16-Sep-1994  deraadt compile -O3
 1.14  30-Jun-1994  deraadt clean obj better
 1.13  30-Jun-1994  deraadt to find the DEFS.h files here, not in libc..
 1.12  30-Jun-1994  deraadt mv ${arch}/ to arch/${arch}, so that libkern builds without obj/
 1.11  21-May-1994  cgd be careful about mcount.po
 1.10  16-May-1994  cgd need a backslash!
 1.9  16-May-1994  deraadt attempts to reduce our reliance on /usr/include
 1.8  14-May-1994  cgd add libkern mcount
 1.7  23-Mar-1994  deraadt kernel/disklib.c goes away, not very portable
 1.6  09-Mar-1994  ws Make FFS optional
 1.5  04-Dec-1993  cgd quad support
 1.4  04-Dec-1993  cgd branches: 1.4.2;
change to use MACHINE_ARCH and update from libc
 1.3  23-Oct-1993  cgd use obj.${MACHINE} dirs to compile into
 1.2  13-Oct-1993  cgd slight cleanup, and ... (gasp) add comments
 1.1  13-Oct-1993  cgd move 'boot' and 'libkern' into 'lib'. generally clean up 'kernel library'
building and dependencies.
 1.4.2.2  04-Dec-1993  cgd use quad support; we need it
 1.4.2.1  04-Dec-1993  cgd file Makefile was added on branch magnum on 1993-12-04 05:07:45 +0000
 1.31.6.1  12-Mar-1997  is Merge in changes from The Trunk
 1.36.8.1  12-Nov-1997  thorpej Sync w/ trunk.
 1.43.2.1  08-Aug-1998  eeh Revert cdevsw mmap routines to return int.
 1.46.2.3  09-Apr-1999  chs undo previous changes to the LD lines.
I fixed my cross build environment.
 1.46.2.2  25-Feb-1999  chs sync with HEAD - profiling fixes.
 1.46.2.1  09-Nov-1998  chs initial snapshot. lots left to do.
 1.50.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.53.2.4  12-Mar-2001  bouyer Sync with HEAD.
 1.53.2.3  05-Jan-2001  bouyer Sync with HEAD
 1.53.2.2  13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 1.53.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.60.4.4  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.60.4.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.60.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.60.4.1  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.60.2.8  11-Dec-2002  thorpej Sync with HEAD.
 1.60.2.7  11-Nov-2002  nathanw Catch up to -current
 1.60.2.6  18-Oct-2002  nathanw Catch up to -current.
 1.60.2.5  01-Aug-2002  nathanw Catch up to -current.
 1.60.2.4  20-Jun-2002  nathanw Catch up to -current.
 1.60.2.3  08-Jan-2002  nathanw Catch up to -current.
 1.60.2.2  14-Nov-2001  thorpej Merge from -current, required to cross-build kernels properly.
 1.60.2.1  24-Aug-2001  nathanw Catch up with -current.
 1.63.10.1  19-Jun-2002  lukem Pull up revision 1.65 (requested by wrstuden in ticket #318):
Updated version of cscope/mkid support. Check libkern and compat lib
for source files. Also include header files in mkid run.
 1.63.8.2  15-Jul-2002  gehenna catch up with -current.
 1.63.8.1  30-May-2002  gehenna Catch up with -current.
 1.70.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.70.2.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.70.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.70.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.70.2.1  03-Aug-2004  skrll Sync with HEAD
 1.71.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.71.8.1  29-Apr-2005  kent sync with -current
 1.72.4.4  04-Feb-2008  yamt sync with head.
 1.72.4.3  07-Dec-2007  yamt sync with head
 1.72.4.2  30-Dec-2006  yamt sync with head.
 1.72.4.1  21-Jun-2006  yamt sync with head.
 1.77.10.2  11-May-2006  elad sync with head
 1.77.10.1  19-Apr-2006  elad sync with head.
 1.77.8.3  03-Sep-2006  yamt sync with head.
 1.77.8.2  24-May-2006  yamt sync with head.
 1.77.8.1  13-Mar-2006  yamt sync with head.
 1.77.6.2  01-Jun-2006  kardel Sync with head.
 1.77.6.1  22-Apr-2006  simonb Sync with head.
 1.77.4.1  09-Sep-2006  rpaulo sync with head
 1.78.2.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.81.4.2  10-Dec-2006  yamt sync with head.
 1.81.4.1  22-Oct-2006  yamt sync with head
 1.81.2.1  18-Nov-2006  ad Sync with head.
 1.84.30.2  18-Feb-2008  mjf Sync with HEAD.
 1.84.30.1  08-Dec-2007  mjf Sync with HEAD.
 1.84.28.1  21-Nov-2007  bouyer Sync with HEAD
 1.84.24.2  23-Mar-2008  matt sync with HEAD
 1.84.24.1  09-Jan-2008  matt sync with HEAD
 1.84.22.2  27-Nov-2007  joerg Sync with HEAD. amd64 Xen support needs testing.
 1.84.22.1  21-Nov-2007  joerg Sync with HEAD.
 1.87.14.2  03-Jul-2008  simonb Sync with head.
 1.87.14.1  18-Jun-2008  simonb Sync with head.
 1.87.12.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.87.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.87.10.1  04-May-2009  yamt sync with head.
 1.87.8.1  17-Jun-2008  yamt sync with head.
 1.87.6.3  17-Jan-2009  mjf Sync with HEAD.
 1.87.6.2  02-Jul-2008  mjf Sync with HEAD.
 1.87.6.1  29-Jun-2008  mjf Sync with HEAD.
 1.89.10.3  27-Dec-2011  matt Add popcount32 and popcount64 for flash/nand
 1.89.10.2  21-Apr-2010  matt sync to netbsd-5
 1.89.10.1  21-Aug-2009  matt Pass LDFLAGS to LD
 1.89.6.1  03-May-2009  snj Pull up following revision(s) (requested by tls in ticket #611):
sys/lib/libkern/Makefile: patch
sys/lib/libkern/crc32.c: revision 1.1
sys/lib/libkern/crc32.h: revision 1.1
sys/lib/libkern/libkern.h: revision 1.89
sys/lib/libkern/arch/i386/Makefile.inc: revision 1.28
sys/net/zlib.h: revision 1.14 via patch
sys/opencrypto/crypto.c: revision 1.33
sys/opencrypto/cryptodev.c: revision 1.46
sys/opencrypto/cryptodev.h: revision 1.16
sys/opencrypto/cryptosoft.c: revision 1.24
sys/opencrypto/cryptosoft.h: revision 1.6
sys/opencrypto/deflate.h: revision 1.6
sys/opencrypto/cryptosoft_xform.c: revision 1.12
sys/opencrypto/deflate.c: revision 1.13
sys/opencrypto/files.opencrypto: revision 1.20
sys/opencrypto/ocryptodev.c: revision 1.1
sys/opencrypto/ocryptodev.h: revision 1.1
sys/opencrypto/xform.c: revision 1.18
sys/opencrypto/xform.h: revision 1.10
Fixes PR kern/41069 and PR kern/41070.

Extends the Opencrypto API to allow the destination buffer size to be
specified when its not the same size as the input buffer (i.e. for
operations like compress and decompress).
The crypto_op and crypt_n_op structures gain a u_int dst_len field.
The session_op structure gains a comp_alg field to specify a compression
algorithm.
Moved four ioctls to new ids; CIOCGSESSION, CIOCNGSESSION, CIOCCRYPT,
and CIOCNCRYPTM.
Added four backward compatible ioctls; OCIOCGSESSION, OCIOCNGSESSION,
OCIOCCRYPT, and OCIOCNCRYPTM.

Backward compatibility is maintained in ocryptodev.h and ocryptodev.c which
implement the original ioctls and set dst_len and comp_alg to 0.

Adds user-space access to compression features.

Adds software gzip support (CRYPTO_GZIP_COMP).

Adds the fast version of crc32 from zlib to libkern. This should be generally
useful and provide a place to start normalizing the various crc32 routines
in the kernel. The crc32 routine is used in this patch to support GZIP.

With input and support from tls@NetBSD.org.
 1.89.4.1  19-Jan-2009  skrll Sync with HEAD.
 1.89.2.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.95.28.2  18-May-2014  rmind sync with head
 1.95.28.1  28-Aug-2013  rmind sync with head
 1.95.24.1  03-Dec-2017  jdolecek update from HEAD
 1.97.6.2  22-Apr-2016  skrll Sync with HEAD
 1.97.6.1  22-Sep-2015  skrll Sync with HEAD
 1.100.16.1  25-Jun-2018  pgoyette Sync with HEAD

RSS XML Feed