Commit Graph

54 Commits

Author SHA1 Message Date
itojun 2dc247fc34 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...)
2000-03-02 07:41:49 +00:00
drochner e6b49c7863 move intoa() from libsa:net.c to libkern, turn inet_ntoa() into a macro,
nuke ip_convertaddr()
1999-05-07 14:49:52 +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
gwr c0300346be Add inet_addr.c (for nfs_bootparam.c) 1999-04-11 22:08:06 +00:00
drochner 66f3455141 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
1999-03-04 19:46:09 +00:00
jonathan 3eeb52dee0 Makefile ${MACHINE_ARCH} changes for mips{eb,el}, as suggested by
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
1999-03-03 12:00:18 +00:00
chs 5a0258140e no need to add ${OBJS} to POBJS here, bsd.lib.mk does it automatically. 1999-02-24 16:22:42 +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
perry 974739923b replace several special targets with stub .c files, as in libc/string 1998-08-04 05:01:58 +00:00
perry 534fb67f27 fix silly comment typo 1998-08-03 20:32:48 +00:00
perry 2b8a659f68 make libkern build memmove() properly 1998-07-31 23:44:41 +00:00
drochner d408ddc6c7 Make the combination "profiled kernel" and "${KERN_AS} == "library""
work too. (mcount.po was forgotten)
1998-07-19 18:35:16 +00:00
christos 16a9632e4d Add a small string pattern matching function to facilitate pcmcia cis string
matches.
1998-06-21 18:43:35 +00:00
explorer 7c17ff519d add sha1.c, and build it. 1998-05-27 00:46:32 +00:00
mycroft ab530e2db7 Build memcpy() out of bcopy() by default. 1998-02-22 06:54:38 +00:00
cgd b92943e80a update to match (now-fixed) libc rules for strchr and strrchr.
Brokenness pointed out by Matthias Drochner.
1998-01-23 19:01:17 +00:00
cgd 4369378a6c 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.)
1998-01-21 21:23:18 +00:00
gwr 0919e2346b Use LORDER, TSORT 1997-11-04 20:33:11 +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
mycroft 185b24dd5b Use libinstall::, not install:, to prevent instaling LIB. 1997-05-07 16:20:26 +00:00
thorpej 13f5393c88 Build md5c.c 1997-04-30 00:53:38 +00:00
cgd 72a6422a5e allow includers to specify library-specific CPP flags via ${LIB}MISCCPPFLAGS 1997-02-16 21:25:18 +00:00
mycroft 811315ca92 Add anchors so that only exactly `-I. is modified. 1996-08-10 04:01:29 +00:00
mycroft 9c5b0780c0 Convert the -I. to -I${.OBJDIR}, so that the `machine symlink is available. 1996-08-10 03:00:51 +00:00
mycroft 44f440543f We dont need to pass down COMPATDIR and KERNDIR. 1996-08-08 15:15:16 +00:00
mycroft 3f0b5a641e 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.
1996-08-08 15:06:39 +00:00
scottr ba554befe5 Make sure we clean up libkern.o and libkern.po, too. Closes PRs 1951
and 2387.
1996-05-10 21:27:32 +00:00
cgd 55afd9912f don't get rid of the -D_KERNEL in KERNCPPFLAGS 1996-04-18 02:14:48 +00:00
mycroft f96fc7f12e Simplify, and add support for passing CPPFLAGS. 1996-02-02 20:34:38 +00:00
cgd 47667c7df1 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.
1995-10-20 01:10:06 +00:00
mycroft 209bd1b877 Build libkern as one .o file, so that all symbols defined therein are
always available to loadable modules.
1995-10-07 09:56:54 +00:00
jonathan 65c53f255c Remove old .PATH directives that referenced libc source.
Libkern has its own copies of all the requisite source files.
1995-09-26 18:27:24 +00:00
christos 2cb09c2709 Add the ability to override KERNREL and KERNDST. 1995-06-26 03:25:46 +00:00
christos fc5a8cffa2 Build libkern in the kernel compilation directory, like libcompat. 1995-06-24 20:31:12 +00:00
cgd 537b309ca7 slight cleanup/reorg. don't use quad code on the alpha. 1995-02-13 21:48:17 +00:00
mycroft ccfbdee90e Change a dependency to work when not using `all' target. 1994-12-31 04:32:23 +00:00
deraadt f4713b5e96 silence link creation 1994-12-07 14:53:53 +00:00
cgd aa9eacdd59 new RCS ID format. 1994-10-26 06:39:02 +00:00
deraadt 2b10ae150f compile -O3 1994-09-16 01:27:58 +00:00
deraadt c5656ed1f6 clean obj better 1994-06-30 20:17:47 +00:00
deraadt cb2b615c65 to find the DEFS.h files here, not in libc.. 1994-06-30 06:54:22 +00:00
deraadt b70d67af03 mv ${arch}/ to arch/${arch}, so that libkern builds without obj/ 1994-06-30 04:26:07 +00:00
cgd 2ae7f39161 be careful about mcount.po 1994-05-21 03:22:42 +00:00
cgd 17ab905850 need a backslash! 1994-05-16 11:01:45 +00:00
deraadt a3c5a71f9f attempts to reduce our reliance on /usr/include 1994-05-16 06:25:21 +00:00
cgd e7a10fd212 add libkern mcount 1994-05-14 06:00:34 +00:00
deraadt d77d51eea8 kernel/disklib.c goes away, not very portable 1994-03-23 18:18:45 +00:00
ws ce516ff13d Make FFS optional 1994-03-09 21:21:37 +00:00
cgd d226f795ee quad support 1993-12-04 05:21:03 +00:00