History log of /openbsd-current/include/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.231 20-Aug-2023 schwarze

Provide C11 <uchar.h>.
OK millert@.
Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port.
I originally wrote the code in 2022 at the prodding of espie@.
Using one improvement to a manual page from jmc@.


Revision tags: OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.230 30-Aug-2022 krw

Nuke disktab.h references in preparation for nuking disktab.h.

disktab.h has not been used or useful for a looooong time.

Detailed historical research by jsg@.

ok jsg@ deraadt@


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.229 09-Jun-2021 mortimer

Enable libexecinfo.

With some build plumbing help from jsg@

ok kettenis@ sthen@


Revision tags: OPENBSD_6_9_BASE
# 1.228 02-Jan-2021 patrick

Move Makefiles for libc++ and libc++abi to gnu/lib in preparation for an
upcoming update to those, which will see both codebases heading into the
gnu/llvm dumpster.

Feedback from jsg@
ok deraadt@ kettenis@


# 1.227 26-Oct-2020 martijn

Hook up agentx.h.

OK deraadt@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.226 14-Nov-2019 djm

RDIRS for libcbor and libfido2


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.225 06-Apr-2019 jsg

unbreak make includes on non-clang archs after libobjc removal
found the hard way by nayden@ ok deraadt@


# 1.224 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


# 1.223 04-Feb-2019 jsg

enable libelf


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.222 17-Oct-2017 mpi

<elf.h> should make it easier to port our ELF-related tools to other Unices.

For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.

ok deraadt@, jasper@, naddy@


# 1.221 15-Oct-2017 guenther

Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread. No changes
to the content

ok mpi@


# 1.220 06-Oct-2017 naddy

Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@


Revision tags: OPENBSD_6_2_BASE
# 1.219 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.218 12-Mar-2017 guenther

<struct.h> is unused and should not be used. Delete it.

ok millert@ deraadt@ kettenis@


# 1.217 27-Jan-2017 jsg

install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@


# 1.216 12-Nov-2016 jca

Kill the /usr/include/ssl symlink

Proposed some time ago by tedu@, builk build by ajacoutot@


# 1.215 08-Nov-2016 tb

Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.

ok millert


# 1.214 16-Oct-2016 tb

Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.

Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.

Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.

help, testing & ok deraadt, input from natano, further testing rpe


# 1.213 23-Sep-2016 sthen

Unhook sqlite3.


Revision tags: OPENBSD_6_0_BASE
# 1.212 07-May-2016 tedu

remove dbm.h


# 1.211 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


# 1.210 09-Mar-2016 deraadt

We are done providing support for the vax.
lots of agreement.


Revision tags: OPENBSD_5_9_BASE
# 1.209 20-Jan-2016 jasper

After nearly 20 years of warning that malloc.h is obsolete, it's about time we
actually remove this header. It was originally added for ports, which is
malloc.h-free now.

additional ports bulk by aja@
ok bently@ dcoppa@ millert@ sthen@


# 1.208 18-Nov-2015 tedu

add icdb.h here (this header may go away entirely, but the functions
need to live somewhere in the meantime.)


# 1.207 14-Nov-2015 deraadt

libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm


# 1.206 27-Sep-2015 kettenis

Stop installing any header files in /usr/include/dev/pci/drm.
Userland should get these from /usr/X11R6/include/libdrm.

ok deraadt@ (and suggested by jsg@)


# 1.205 14-Sep-2015 guenther

Revert: finger slip


# 1.204 14-Sep-2015 guenther

Prefer the standardized <poll.h> over <sys/poll.h>


# 1.203 09-Sep-2015 guenther

Stop exporting from libc the <mpool.h> and the mpool_* API

ports scan by sthen@


Revision tags: OPENBSD_5_8_BASE
# 1.202 23-Jul-2015 yasuoka

Build and install libradius as default.

ok deraadt


# 1.201 17-Mar-2015 millert

Remove obsolete copy of tzfile.h. It is an internal tzcode header
that should never have been installed.


Revision tags: OPENBSD_5_7_BASE
# 1.200 18-Feb-2015 sthen

Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@


# 1.199 16-Feb-2015 tedu

stop deleting the openssl include directory, causing unnecessary rebuilds.
ok jca sthen


# 1.198 17-Jan-2015 tedu

remove des.h. it somehow escaped from ssleay into /usr/include, but none
of the functions prototyped here exist in libc, making it useless.


# 1.197 08-Dec-2014 tedu

header changes for recent libc changes:
add siphash
delete setkey, encrypt, cfree


# 1.196 31-Oct-2014 jsing

Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.


# 1.195 16-Sep-2014 matthieu

Missed this sendmail reference in the sendmail removal


# 1.194 31-Aug-2014 miod

Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via
Markus Mueller.


Revision tags: OPENBSD_5_6_BASE
# 1.193 14-Jul-2014 deraadt

enter libressl for make includes


# 1.192 12-Jul-2014 guenther

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162

if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*

ok deraadt@


# 1.191 11-Jul-2014 tedu

stop installing netbt headers


# 1.190 12-May-2014 espie

move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.


# 1.189 22-Apr-2014 reyk

Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).

ok deraadt@


# 1.188 19-Apr-2014 henning

stop installing altq includes


# 1.187 11-Apr-2014 miod

Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.

ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.


# 1.186 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.185 24-Mar-2014 kettenis

unbreak the tree; no more libwrap


# 1.184 23-Mar-2014 tedu

more bm excision


# 1.183 23-Mar-2014 naddy

Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

ok deraadt@, man pages ok jmc@


# 1.182 13-Mar-2014 florian

Unhook httpd(8) from build
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@
"The time is right." and much help getting the show on
the road deraadt@


Revision tags: OPENBSD_5_5_BASE
# 1.181 08-Dec-2013 naddy

remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@


# 1.180 05-Dec-2013 deraadt

oops, sgtty.h stays for a little longer


# 1.179 04-Dec-2013 deraadt

express final disapproval of the interfaces in libcompat, such as
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]


# 1.178 03-Nov-2013 sthen

Install fuse headers in 'make includes', diff from stsp@, ok guenther@
Committing now to unbreak ports builds (gvfs fails without, which knocks
out building much of the tree.)


# 1.177 19-Oct-2013 deraadt

Remove more knowledge of a.out and stab information from the tree.
ok miod


# 1.176 29-Sep-2013 deraadt

remove bogus comment


# 1.175 24-Aug-2013 jsg

netnatm is no more


# 1.174 12-Aug-2013 kettenis

Make sure we don't install the private radeondrm(4) headers, by leaving out
headers from any subdirectory of dev/pci/drm. If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.

ok mpi@, miod@


# 1.173 10-Aug-2013 ajacoutot

libkafs5->libkafs ; forgotten in previous


# 1.172 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.171 19-Jun-2013 robert

unlink libheimntlm and libhx509


# 1.170 17-Jun-2013 robert

switch to new kerberosV directory layout


# 1.169 21-Mar-2013 deraadt

Do not install the dev/pci/drm/i915 directory to /usr/include


# 1.168 18-Mar-2013 deraadt

forget about this for now; wait till later


# 1.167 18-Mar-2013 deraadt

Skip another irrelevant leaf when descending into sys/dev
ok kettenis


Revision tags: OPENBSD_5_3_BASE
# 1.166 23-Aug-2012 deraadt

do not install the nnpfs directory


Revision tags: OPENBSD_5_2_BASE
# 1.165 28-Jun-2012 guenther

librthread has eaten libpthread, so build includes via the former instead
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed

discussed with deraadt@


# 1.164 26-Jun-2012 deraadt

create new machine/_float.h which is namespace clean. create a new
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.


# 1.163 19-Jun-2012 espie

simplify includes prereq/req order:
- everything that has prereq will also do includes, add it late, so that
gnu stuff (the only part with prereq) happens late.
- new RUN_MAKE snippet, to be able to have the makefile magically decide
between Makefile.bsd-wrapper and Makefile.

So there's no longer any need to remember complicated rules: add it to
RDIRS if it just wants make includes, add it to PRDIRS if it wants prereq too,
and that's all.

okay deraadt@, miod@


# 1.162 22-Apr-2012 espie

enable sqlite3, as prompted by theo


# 1.161 21-Mar-2012 matthew

Implement execvpe(3) and posix_spawn(3) and family. Based on
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.

ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.160 09-Jul-2011 henning

stop installing netatalk headers


# 1.159 08-Jul-2011 martynas

Add support for tgmath--the type-generic math; now that both math
and complex math routines are complete. OK kettenis@.


# 1.158 28-Apr-2011 martynas

- enable fenv
- add nearbyint, nearbyintf and nearbyintl implemented using fenv


Revision tags: OPENBSD_4_9_BASE
# 1.157 28-Oct-2010 mikeb

remove skipjack and cast from the libc; ok deraadt


# 1.156 17-Oct-2010 djm

unlink libsectok from the build; ok markus@ deraadt@


Revision tags: OPENBSD_4_8_BASE
# 1.155 25-May-2010 espie

unlink g77 from the build.
as discussed with Theo, so that he can synch set.

(eventual gcc2 fallout to fix later)


# 1.154 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_7_BASE
# 1.153 03-Feb-2010 miod

MACHINE_ARCH -> MACHINE_CPU when applicable.

** it is necessary to update make(1) before building now **


Revision tags: OPENBSD_4_6_BASE
# 1.152 24-Jun-2009 millert

Install ntfs includes and add libkvm (fstat) support. ntfs bits
adapted from NetBSD fstat. OK deraadt@


# 1.151 20-Jun-2009 millert

Install msdosfs includes; ok krw@


# 1.150 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.149 21-Apr-2009 ratchov

move src/lib/libsndio/sndio.h into src/include where other include
files leave.

requested by deraadt@, ok miod@


Revision tags: OPENBSD_4_5_BASE
# 1.148 27-Oct-2008 ratchov

rename libsa to libsndio
requested by many, "just go for it" deraadt@


# 1.147 26-Oct-2008 espie

no cookie for ratchov, committed things without running make build.


# 1.146 07-Sep-2008 martynas

- replace dtoa w/ David's gdtoa, version 2008-03-15
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support. added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c. could be more acruate
& faster, but it's good enough for now)
- remove wrappers & cruft in libm, supposed to work-around mistakes
in SVID, etc.; use ieee versions. fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h & gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes


# 1.145 22-Aug-2008 kettenis

Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.

If ports people really need libbfd or libopcodes, they should just
package a suitable version.

ok weingart@, deraadt@


Revision tags: OPENBSD_4_4_BASE
# 1.144 04-Jun-2008 deraadt

olf support starts to die (easy stuff first); ok miod


# 1.143 23-Apr-2008 norby

Import MPLS (Multi Protocol Label Switching)

MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.

It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.

Imported to allow more people to work on this in the coming weeks.

ok claudio@ laurent@ dlg@


# 1.142 22-Mar-2008 matthieu

Get rid of 3 extra leading spaces. ok deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.141 19-Oct-2007 deraadt

install includes from libexpat


Revision tags: OPENBSD_4_2_BASE
# 1.140 06-Jun-2007 deraadt

no longer make include/netipx dir


Revision tags: OPENBSD_4_1_BASE
# 1.139 13-Feb-2007 espie

remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script
still rebuilds a copy of that file, and we check it for diffs.

okay millert@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.138 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


# 1.137 28-Dec-2005 millert

Split off the non-kernel visible portion of sys/errno.h into a
separate errno.h. sys/errno.h now only contains errno values (which
is included byerrno.h). OK deraadt@


# 1.136 27-Sep-2005 deraadt

use xargs -r0 for our build process


Revision tags: OPENBSD_3_8_BASE
# 1.135 10-Jul-2005 grange

Install netbt/ includes.

ok henning@


# 1.134 17-Jun-2005 henning

don't install netns includes any longer, ports bulk build test by pval


# 1.133 07-Jun-2005 henning

-netccitt/


# 1.132 28-Apr-2005 espie

also use new libobjc on old architectures, since it builds fine with
gcc 2.95.

tests and okay miod@, marc@.


# 1.131 18-Apr-2005 millert

rm libcurses++


# 1.130 14-Apr-2005 espie

introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.


Revision tags: OPENBSD_3_7_BASE
# 1.129 20-Oct-2004 fgsch

install net80211 headers; millert and deraadt ok.


Revision tags: OPENBSD_3_6_BASE
# 1.128 15-Jul-2004 henning

do not install netiso header files, millert deraadt ok


# 1.127 29-Jun-2004 millert

make includes in gnu/usr.sbin/sendmail/libmilter


# 1.126 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.125 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.124 01-Mar-2004 drahn

Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@


# 1.123 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.122 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


Revision tags: OPENBSD_3_4_BASE
# 1.121 21-Jul-2003 millert

Need ftw.h for ftw(3) and nftw(3)


# 1.120 15-Jul-2003 deraadt

do not enter libcom_err


# 1.119 14-Jul-2003 mho

Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, David Krause, ...


# 1.118 02-Jun-2003 markus

swap /usr/include/openssl and /usr/include/ssl, clean up the Makefiles
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@


# 1.117 14-May-2003 mho

Remove krb4 support.


# 1.116 09-May-2003 millert

Install sha2.h


Revision tags: OPENBSD_3_3_BASE
# 1.115 20-Jan-2003 marc

install includes from libpthread, not libc_r


# 1.114 03-Dec-2002 miod

Intall getopt.h in /usr/include as well.


Revision tags: OPENBSD_3_2_BASE
# 1.113 03-Sep-2002 markus

build OpenSSL without symlink trees:
* manpage related things moved to src/libssl/man/Makefile
* there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead
of one single src/libssl/obj
* instead of running Configure (with generates lots of symlinks, and
opensslconf.h) this patch stores pre-computed opensslconf.h files
in src/libssl/crypto/arch
* requires a make includes before the library can be built
* libssl and libcrypto can be build separately
(e.g. cd src/libssl/ssl && make obj && make)
* make depend is now supported
* no more symlink trees
tested by miod@ and fries@


# 1.112 16-Jun-2002 naddy

install headers from libevent; ok miod@


# 1.111 09-Jun-2002 itojun

backout previous


# 1.110 09-Jun-2002 itojun

pax -s <regex> is botched, don't use it.


# 1.109 07-Jun-2002 drahn

Switch powerpc to using new split (aout/elf) link.h


# 1.108 07-Jun-2002 art

split link.h into three parts. The MI parts are left in link.h
a.out stuff in link_aout.h and ELF stuff in link_elf.h.
Switch sparc64 back to MI link.h.
drahn@ ok (powerpc will switch soon).


# 1.107 05-Jun-2002 art

Don't use MI dlfcn.h that are identical to the MD one.


# 1.106 02-Jun-2002 deraadt

no argh. we should doc these targets better


# 1.105 02-Jun-2002 deraadt

put libssl in PRDIRS instead; andre@ae-35.com


# 1.104 01-Jun-2002 deraadt

we do not need this to be Makefile.bsd-wrapper


# 1.103 08-May-2002 espie

includes should be installed during `make include', not later.
Fixes this for lex and binutils' bfd.

Also, do not install ansidecl.h, we don't really need it, bfd.h uses it,
and we installed it so that bfd worked, so let bfd.h include it directly.

prompted by mickey@


Revision tags: OPENBSD_3_1_BASE
# 1.102 08-Apr-2002 fgsch

install link.h and dlfcn.h from sys/arch/sparc64/include.


# 1.101 18-Feb-2002 mickey

netiso/xebec no more


# 1.100 30-Dec-2001 pvalchev

libusb -> libusbhid


# 1.99 06-Nov-2001 deraadt

no more vm in LDIRS


Revision tags: OPENBSD_3_0_BASE
# 1.98 03-Sep-2001 deraadt

how did ../lib/libusb not get added? Bad developers


# 1.97 31-Jul-2001 deraadt

we talked about libsectok having an include target a couple of times....


# 1.96 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


# 1.95 27-Jun-2001 deraadt

Why was a very large chunk of code commited to the source tree without
checking if a make build of the entire system still works? How many
other parts of the tree are now not going to build? All development
has not stopped until this is fixed.


# 1.94 26-Jun-2001 hin

Install kerberosV includefiles


# 1.93 13-Jun-2001 art

Simplify.


# 1.92 31-May-2001 art

Install link.h and dlfcn.h on alpha.


# 1.91 14-May-2001 espie

Speed-up:
- remove extra subshells;
- use exec on terminal commands, avoiding dangling shells that don't
control anything.

More correct:
- use && some more;
- remove `-' in front of includes, so that failures WILL fail...

Okay millert@, deraadt@


Revision tags: OPENBSD_2_9_BASE
# 1.90 18-Mar-2001 millert

Build gnu/lib/libreadline and use it instead of the one currently
in the binutils dir.


# 1.89 02-Mar-2001 espie

Add ohash_* functions to libc.
Ok'd deraadt@, millert@


# 1.88 18-Dec-2000 brad

*cough*someone forgot to remove libgmp*cough*


# 1.87 21-Nov-2000 millert

Add references to new files.


Revision tags: OPENBSD_2_8_BASE
# 1.86 10-Oct-2000 hugh

Don't install ieeefp.h on vax. derradt Ok.


# 1.85 01-Oct-2000 rahnds

Now that powerpc has shared libraries, make certain that link.h and dlfcn.h
are created properly.


# 1.84 19-Sep-2000 deraadt

install netnatm includes; stoklund@cp.dyndns.dk


# 1.83 03-Sep-2000 espie

Boring... Add :L modifier to all tweakable variables tests.

Closes PR 1246


# 1.82 20-Aug-2000 millert

login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.


Revision tags: OPENBSD_2_7_BASE
# 1.81 10-Mar-2000 niklas

A more normal way of building kerberos, faster, and it works with SUDO


# 1.80 29-Feb-2000 deraadt

install crypto headers


# 1.79 25-Feb-2000 hin

Include files for KerberosIV have moved.
(ok art@)


# 1.78 23-Feb-2000 itojun

add getifaddrs(3), from bsdi4.
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.


# 1.77 19-Feb-2000 deraadt

do not install /usr/include/dev/microcode/


# 1.76 20-Nov-1999 espie

Generate g2c.h at prereq stage.
Install it under /usr/include


Revision tags: OPENBSD_2_6_BASE
# 1.75 05-Oct-1999 beck

get httpd in WDIRS as well as the prereq dirs.


# 1.74 05-Oct-1999 beck

add httpd to includes target so apache includes get grabbed.


# 1.73 27-Sep-1999 beck

remove /usr/include/openssl link before making it.


# 1.72 27-Sep-1999 deraadt

openssl -> ssl


# 1.71 24-Sep-1999 espie

stdbool.h conforming to C9X


# 1.70 01-Jul-1999 deraadt

install miscfs includes too


# 1.69 24-Jun-1999 espie

Slight goof, repair symlinks target (noted by David Leonard)


# 1.68 22-Jun-1999 art

install uvm includes


# 1.67 29-May-1999 angelos

Add libkeynote target for includes


# 1.66 26-May-1999 espie

Link in egcs, kill gcc and libg++


# 1.65 18-May-1999 espie

Change include links shennannigans to make more sense,
so that machine -> i386, and not the other way around,
or, for arches such as amiga/m68k, make amiga & m68k true directories
and let machine -> amiga.


# 1.64 09-May-1999 millert

c++ clasess for ncurses


Revision tags: OPENBSD_2_5_BASE
# 1.63 29-Mar-1999 rahnds

powerpc does not support shared libraries and thus should not ship
link.h or dlfcn.h


# 1.62 09-Mar-1999 niklas

Some style issues, make stuff neded before depend be built by beforedepend.
Also make them prereq in the case of make includes


# 1.61 02-Mar-1999 niklas

Provide a method to do prerequisites needed before
installation of includes can happen. Do these before and not run via ${SUDO}.


# 1.60 26-Feb-1999 deraadt

skipjack in libc; isakmpd and such will want it


# 1.59 12-Feb-1999 millert

add old dbm-compatible interface from db-1.86 with minor changes by me (needs a man page)


# 1.58 01-Feb-1999 d

add libc_r


# 1.57 08-Jan-1999 deraadt

install netinet6 include files


Revision tags: OPENBSD_2_4_BASE
# 1.56 07-Oct-1998 deraadt

install /usr/include/ssl/


# 1.55 07-Sep-1998 art

install the xfs includes


# 1.54 23-Jul-1998 millert

curses.h frontend


# 1.53 21-Jul-1998 provos

Add CAST encryption, implementation by Steve Reid <sreid@sea-to-sky.net>.
Man pages will come soon, I hope.


# 1.52 17-Jul-1998 espie

. is a regex.


# 1.51 07-Jul-1998 art

do not install includes from libss


# 1.50 25-Jun-1998 deraadt

install isofs headers, we need them


# 1.49 07-Jun-1998 millert

add gnu/lib/libgmp to WDIR for includes


# 1.48 04-May-1998 provos

make includes for libossaudio


Revision tags: OPENBSD_2_3_BASE
# 1.47 03-Mar-1998 niklas

Dive into libg++ and gcc on includes


Revision tags: OPENBSD_2_2_BASE
# 1.46 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.45 17-Aug-1997 millert

basename(3) and dirname(3) as specified by XPG4 and XPG4.2


# 1.44 23-Jul-1997 denny

add netatalk


# 1.43 17-Jul-1997 millert

mdX(3)-like interface to RIPEMD-160 hash function. Code by
Antoon Bosselaers and massaged by me to fit the mdX(3) API.


# 1.42 29-Jun-1997 provos

relocated header files


# 1.41 30-May-1997 downsj

Don't ref gnu/ext2fs.


Revision tags: OPENBSD_2_1_BASE
# 1.40 27-Apr-1997 millert

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.


# 1.39 19-Apr-1997 millert

Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''
Same change doen for SKEY, YP, and KERBEROS5. This allows
people to override those setting in /etc/mk.conf.


# 1.38 27-Feb-1997 downsj

Add libwrap.


# 1.37 13-Feb-1997 provos

blf.h headerfile install


# 1.36 03-Feb-1997 millert

Back out stringlist


# 1.35 02-Feb-1997 millert

From NetBSD (lukem and christos):
A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.34 22-Dec-1996 deraadt

nope, ss is wrong


# 1.33 19-Dec-1996 etheisen

Create include/ss.


# 1.32 08-Dec-1996 downsj

cookie cookie COOKIE.. oh, sorry..
install -> ${INSTALL}, -c -> ${COPY}


# 1.31 16-Nov-1996 downsj

Fix more libss stuff.


# 1.30 15-Nov-1996 downsj

Move libss to the main tree.


# 1.29 11-Nov-1996 downsj

Move libcom_err out of Kerberos, change include location.


# 1.28 05-Nov-1996 downsj

install gnu/ext2fs


# 1.27 27-Oct-1996 etheisen

OLF.


Revision tags: OPENBSD_2_0_BASE
# 1.26 06-Oct-1996 pefo

Fix dlfcn.h and link.h for arc port


# 1.25 29-Sep-1996 millert

removed md2.h


# 1.24 29-Sep-1996 millert

Added sha1 (secure hash function).


# 1.23 27-Sep-1996 millert

includes in skey dir get installed too.


# 1.22 05-Sep-1996 pefo

standard link.h and dlfcn.h not very useful on mips


# 1.21 16-Aug-1996 mickey

netipx.


# 1.20 16-Aug-1996 downsj

Add libcompat.


# 1.19 27-Jul-1996 tholo

Integrate zlib v1.0.3


# 1.18 24-Jul-1996 mickey

install /sys/scsi in /usr/include/scsi


# 1.17 24-Jul-1996 downsj

regexp.h no longer lives here.


# 1.16 19-Jun-1996 deraadt

util.h no longer here


# 1.15 12-Jun-1996 deraadt

add /sbin/scsi from FreeBSD -- a good start!


# 1.14 11-Jun-1996 deraadt

also do includes in libpcap and arch/${MACHINE}


# 1.13 10-Jun-1996 deraadt

libedit has an includes target too


# 1.12 03-Jun-1996 niklas

Forgot to handle the md?.h include files in here


# 1.11 02-Jun-1996 deraadt

../lib/libmenu not ../libmenu


# 1.10 02-Jun-1996 tholo

Include in some more directories


# 1.9 02-Jun-1996 tholo

Recurse into a few more select directories on "make includes"


# 1.8 22-May-1996 deraadt

libutil


# 1.7 06-May-1996 deraadt

hard-code the include installation path (mostly for speed)


# 1.6 01-May-1996 deraadt

realinstall -> includes


# 1.5 18-Apr-1996 mickey

Add /sys/ddb to be installed in /usr/include.


# 1.4 21-Feb-1996 niklas

From NetBSD:
Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


# 1.3 15-Feb-1996 etheisen

Install elf_abi.h in /usr/include.


# 1.2 24-Oct-1995 deraadt

install curses.h from src/include


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.230 30-Aug-2022 krw

Nuke disktab.h references in preparation for nuking disktab.h.

disktab.h has not been used or useful for a looooong time.

Detailed historical research by jsg@.

ok jsg@ deraadt@


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.229 09-Jun-2021 mortimer

Enable libexecinfo.

With some build plumbing help from jsg@

ok kettenis@ sthen@


Revision tags: OPENBSD_6_9_BASE
# 1.228 02-Jan-2021 patrick

Move Makefiles for libc++ and libc++abi to gnu/lib in preparation for an
upcoming update to those, which will see both codebases heading into the
gnu/llvm dumpster.

Feedback from jsg@
ok deraadt@ kettenis@


# 1.227 26-Oct-2020 martijn

Hook up agentx.h.

OK deraadt@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.226 14-Nov-2019 djm

RDIRS for libcbor and libfido2


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.225 06-Apr-2019 jsg

unbreak make includes on non-clang archs after libobjc removal
found the hard way by nayden@ ok deraadt@


# 1.224 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


# 1.223 04-Feb-2019 jsg

enable libelf


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.222 17-Oct-2017 mpi

<elf.h> should make it easier to port our ELF-related tools to other Unices.

For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.

ok deraadt@, jasper@, naddy@


# 1.221 15-Oct-2017 guenther

Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread. No changes
to the content

ok mpi@


# 1.220 06-Oct-2017 naddy

Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@


Revision tags: OPENBSD_6_2_BASE
# 1.219 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.218 12-Mar-2017 guenther

<struct.h> is unused and should not be used. Delete it.

ok millert@ deraadt@ kettenis@


# 1.217 27-Jan-2017 jsg

install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@


# 1.216 12-Nov-2016 jca

Kill the /usr/include/ssl symlink

Proposed some time ago by tedu@, builk build by ajacoutot@


# 1.215 08-Nov-2016 tb

Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.

ok millert


# 1.214 16-Oct-2016 tb

Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.

Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.

Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.

help, testing & ok deraadt, input from natano, further testing rpe


# 1.213 23-Sep-2016 sthen

Unhook sqlite3.


Revision tags: OPENBSD_6_0_BASE
# 1.212 07-May-2016 tedu

remove dbm.h


# 1.211 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


# 1.210 09-Mar-2016 deraadt

We are done providing support for the vax.
lots of agreement.


Revision tags: OPENBSD_5_9_BASE
# 1.209 20-Jan-2016 jasper

After nearly 20 years of warning that malloc.h is obsolete, it's about time we
actually remove this header. It was originally added for ports, which is
malloc.h-free now.

additional ports bulk by aja@
ok bently@ dcoppa@ millert@ sthen@


# 1.208 18-Nov-2015 tedu

add icdb.h here (this header may go away entirely, but the functions
need to live somewhere in the meantime.)


# 1.207 14-Nov-2015 deraadt

libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm


# 1.206 27-Sep-2015 kettenis

Stop installing any header files in /usr/include/dev/pci/drm.
Userland should get these from /usr/X11R6/include/libdrm.

ok deraadt@ (and suggested by jsg@)


# 1.205 14-Sep-2015 guenther

Revert: finger slip


# 1.204 14-Sep-2015 guenther

Prefer the standardized <poll.h> over <sys/poll.h>


# 1.203 09-Sep-2015 guenther

Stop exporting from libc the <mpool.h> and the mpool_* API

ports scan by sthen@


Revision tags: OPENBSD_5_8_BASE
# 1.202 23-Jul-2015 yasuoka

Build and install libradius as default.

ok deraadt


# 1.201 17-Mar-2015 millert

Remove obsolete copy of tzfile.h. It is an internal tzcode header
that should never have been installed.


Revision tags: OPENBSD_5_7_BASE
# 1.200 18-Feb-2015 sthen

Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@


# 1.199 16-Feb-2015 tedu

stop deleting the openssl include directory, causing unnecessary rebuilds.
ok jca sthen


# 1.198 17-Jan-2015 tedu

remove des.h. it somehow escaped from ssleay into /usr/include, but none
of the functions prototyped here exist in libc, making it useless.


# 1.197 08-Dec-2014 tedu

header changes for recent libc changes:
add siphash
delete setkey, encrypt, cfree


# 1.196 31-Oct-2014 jsing

Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.


# 1.195 16-Sep-2014 matthieu

Missed this sendmail reference in the sendmail removal


# 1.194 31-Aug-2014 miod

Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via
Markus Mueller.


Revision tags: OPENBSD_5_6_BASE
# 1.193 14-Jul-2014 deraadt

enter libressl for make includes


# 1.192 12-Jul-2014 guenther

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162

if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*

ok deraadt@


# 1.191 11-Jul-2014 tedu

stop installing netbt headers


# 1.190 12-May-2014 espie

move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.


# 1.189 22-Apr-2014 reyk

Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).

ok deraadt@


# 1.188 19-Apr-2014 henning

stop installing altq includes


# 1.187 11-Apr-2014 miod

Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.

ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.


# 1.186 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.185 24-Mar-2014 kettenis

unbreak the tree; no more libwrap


# 1.184 23-Mar-2014 tedu

more bm excision


# 1.183 23-Mar-2014 naddy

Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

ok deraadt@, man pages ok jmc@


# 1.182 13-Mar-2014 florian

Unhook httpd(8) from build
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@
"The time is right." and much help getting the show on
the road deraadt@


Revision tags: OPENBSD_5_5_BASE
# 1.181 08-Dec-2013 naddy

remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@


# 1.180 05-Dec-2013 deraadt

oops, sgtty.h stays for a little longer


# 1.179 04-Dec-2013 deraadt

express final disapproval of the interfaces in libcompat, such as
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]


# 1.178 03-Nov-2013 sthen

Install fuse headers in 'make includes', diff from stsp@, ok guenther@
Committing now to unbreak ports builds (gvfs fails without, which knocks
out building much of the tree.)


# 1.177 19-Oct-2013 deraadt

Remove more knowledge of a.out and stab information from the tree.
ok miod


# 1.176 29-Sep-2013 deraadt

remove bogus comment


# 1.175 24-Aug-2013 jsg

netnatm is no more


# 1.174 12-Aug-2013 kettenis

Make sure we don't install the private radeondrm(4) headers, by leaving out
headers from any subdirectory of dev/pci/drm. If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.

ok mpi@, miod@


# 1.173 10-Aug-2013 ajacoutot

libkafs5->libkafs ; forgotten in previous


# 1.172 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.171 19-Jun-2013 robert

unlink libheimntlm and libhx509


# 1.170 17-Jun-2013 robert

switch to new kerberosV directory layout


# 1.169 21-Mar-2013 deraadt

Do not install the dev/pci/drm/i915 directory to /usr/include


# 1.168 18-Mar-2013 deraadt

forget about this for now; wait till later


# 1.167 18-Mar-2013 deraadt

Skip another irrelevant leaf when descending into sys/dev
ok kettenis


Revision tags: OPENBSD_5_3_BASE
# 1.166 23-Aug-2012 deraadt

do not install the nnpfs directory


Revision tags: OPENBSD_5_2_BASE
# 1.165 28-Jun-2012 guenther

librthread has eaten libpthread, so build includes via the former instead
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed

discussed with deraadt@


# 1.164 26-Jun-2012 deraadt

create new machine/_float.h which is namespace clean. create a new
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.


# 1.163 19-Jun-2012 espie

simplify includes prereq/req order:
- everything that has prereq will also do includes, add it late, so that
gnu stuff (the only part with prereq) happens late.
- new RUN_MAKE snippet, to be able to have the makefile magically decide
between Makefile.bsd-wrapper and Makefile.

So there's no longer any need to remember complicated rules: add it to
RDIRS if it just wants make includes, add it to PRDIRS if it wants prereq too,
and that's all.

okay deraadt@, miod@


# 1.162 22-Apr-2012 espie

enable sqlite3, as prompted by theo


# 1.161 21-Mar-2012 matthew

Implement execvpe(3) and posix_spawn(3) and family. Based on
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.

ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.160 09-Jul-2011 henning

stop installing netatalk headers


# 1.159 08-Jul-2011 martynas

Add support for tgmath--the type-generic math; now that both math
and complex math routines are complete. OK kettenis@.


# 1.158 28-Apr-2011 martynas

- enable fenv
- add nearbyint, nearbyintf and nearbyintl implemented using fenv


Revision tags: OPENBSD_4_9_BASE
# 1.157 28-Oct-2010 mikeb

remove skipjack and cast from the libc; ok deraadt


# 1.156 17-Oct-2010 djm

unlink libsectok from the build; ok markus@ deraadt@


Revision tags: OPENBSD_4_8_BASE
# 1.155 25-May-2010 espie

unlink g77 from the build.
as discussed with Theo, so that he can synch set.

(eventual gcc2 fallout to fix later)


# 1.154 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_7_BASE
# 1.153 03-Feb-2010 miod

MACHINE_ARCH -> MACHINE_CPU when applicable.

** it is necessary to update make(1) before building now **


Revision tags: OPENBSD_4_6_BASE
# 1.152 24-Jun-2009 millert

Install ntfs includes and add libkvm (fstat) support. ntfs bits
adapted from NetBSD fstat. OK deraadt@


# 1.151 20-Jun-2009 millert

Install msdosfs includes; ok krw@


# 1.150 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.149 21-Apr-2009 ratchov

move src/lib/libsndio/sndio.h into src/include where other include
files leave.

requested by deraadt@, ok miod@


Revision tags: OPENBSD_4_5_BASE
# 1.148 27-Oct-2008 ratchov

rename libsa to libsndio
requested by many, "just go for it" deraadt@


# 1.147 26-Oct-2008 espie

no cookie for ratchov, committed things without running make build.


# 1.146 07-Sep-2008 martynas

- replace dtoa w/ David's gdtoa, version 2008-03-15
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support. added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c. could be more acruate
& faster, but it's good enough for now)
- remove wrappers & cruft in libm, supposed to work-around mistakes
in SVID, etc.; use ieee versions. fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h & gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes


# 1.145 22-Aug-2008 kettenis

Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.

If ports people really need libbfd or libopcodes, they should just
package a suitable version.

ok weingart@, deraadt@


Revision tags: OPENBSD_4_4_BASE
# 1.144 04-Jun-2008 deraadt

olf support starts to die (easy stuff first); ok miod


# 1.143 23-Apr-2008 norby

Import MPLS (Multi Protocol Label Switching)

MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.

It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.

Imported to allow more people to work on this in the coming weeks.

ok claudio@ laurent@ dlg@


# 1.142 22-Mar-2008 matthieu

Get rid of 3 extra leading spaces. ok deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.141 19-Oct-2007 deraadt

install includes from libexpat


Revision tags: OPENBSD_4_2_BASE
# 1.140 06-Jun-2007 deraadt

no longer make include/netipx dir


Revision tags: OPENBSD_4_1_BASE
# 1.139 13-Feb-2007 espie

remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script
still rebuilds a copy of that file, and we check it for diffs.

okay millert@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.138 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


# 1.137 28-Dec-2005 millert

Split off the non-kernel visible portion of sys/errno.h into a
separate errno.h. sys/errno.h now only contains errno values (which
is included byerrno.h). OK deraadt@


# 1.136 27-Sep-2005 deraadt

use xargs -r0 for our build process


Revision tags: OPENBSD_3_8_BASE
# 1.135 10-Jul-2005 grange

Install netbt/ includes.

ok henning@


# 1.134 17-Jun-2005 henning

don't install netns includes any longer, ports bulk build test by pval


# 1.133 07-Jun-2005 henning

-netccitt/


# 1.132 28-Apr-2005 espie

also use new libobjc on old architectures, since it builds fine with
gcc 2.95.

tests and okay miod@, marc@.


# 1.131 18-Apr-2005 millert

rm libcurses++


# 1.130 14-Apr-2005 espie

introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.


Revision tags: OPENBSD_3_7_BASE
# 1.129 20-Oct-2004 fgsch

install net80211 headers; millert and deraadt ok.


Revision tags: OPENBSD_3_6_BASE
# 1.128 15-Jul-2004 henning

do not install netiso header files, millert deraadt ok


# 1.127 29-Jun-2004 millert

make includes in gnu/usr.sbin/sendmail/libmilter


# 1.126 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.125 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.124 01-Mar-2004 drahn

Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@


# 1.123 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.122 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


Revision tags: OPENBSD_3_4_BASE
# 1.121 21-Jul-2003 millert

Need ftw.h for ftw(3) and nftw(3)


# 1.120 15-Jul-2003 deraadt

do not enter libcom_err


# 1.119 14-Jul-2003 mho

Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, David Krause, ...


# 1.118 02-Jun-2003 markus

swap /usr/include/openssl and /usr/include/ssl, clean up the Makefiles
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@


# 1.117 14-May-2003 mho

Remove krb4 support.


# 1.116 09-May-2003 millert

Install sha2.h


Revision tags: OPENBSD_3_3_BASE
# 1.115 20-Jan-2003 marc

install includes from libpthread, not libc_r


# 1.114 03-Dec-2002 miod

Intall getopt.h in /usr/include as well.


Revision tags: OPENBSD_3_2_BASE
# 1.113 03-Sep-2002 markus

build OpenSSL without symlink trees:
* manpage related things moved to src/libssl/man/Makefile
* there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead
of one single src/libssl/obj
* instead of running Configure (with generates lots of symlinks, and
opensslconf.h) this patch stores pre-computed opensslconf.h files
in src/libssl/crypto/arch
* requires a make includes before the library can be built
* libssl and libcrypto can be build separately
(e.g. cd src/libssl/ssl && make obj && make)
* make depend is now supported
* no more symlink trees
tested by miod@ and fries@


# 1.112 16-Jun-2002 naddy

install headers from libevent; ok miod@


# 1.111 09-Jun-2002 itojun

backout previous


# 1.110 09-Jun-2002 itojun

pax -s <regex> is botched, don't use it.


# 1.109 07-Jun-2002 drahn

Switch powerpc to using new split (aout/elf) link.h


# 1.108 07-Jun-2002 art

split link.h into three parts. The MI parts are left in link.h
a.out stuff in link_aout.h and ELF stuff in link_elf.h.
Switch sparc64 back to MI link.h.
drahn@ ok (powerpc will switch soon).


# 1.107 05-Jun-2002 art

Don't use MI dlfcn.h that are identical to the MD one.


# 1.106 02-Jun-2002 deraadt

no argh. we should doc these targets better


# 1.105 02-Jun-2002 deraadt

put libssl in PRDIRS instead; andre@ae-35.com


# 1.104 01-Jun-2002 deraadt

we do not need this to be Makefile.bsd-wrapper


# 1.103 08-May-2002 espie

includes should be installed during `make include', not later.
Fixes this for lex and binutils' bfd.

Also, do not install ansidecl.h, we don't really need it, bfd.h uses it,
and we installed it so that bfd worked, so let bfd.h include it directly.

prompted by mickey@


Revision tags: OPENBSD_3_1_BASE
# 1.102 08-Apr-2002 fgsch

install link.h and dlfcn.h from sys/arch/sparc64/include.


# 1.101 18-Feb-2002 mickey

netiso/xebec no more


# 1.100 30-Dec-2001 pvalchev

libusb -> libusbhid


# 1.99 06-Nov-2001 deraadt

no more vm in LDIRS


Revision tags: OPENBSD_3_0_BASE
# 1.98 03-Sep-2001 deraadt

how did ../lib/libusb not get added? Bad developers


# 1.97 31-Jul-2001 deraadt

we talked about libsectok having an include target a couple of times....


# 1.96 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


# 1.95 27-Jun-2001 deraadt

Why was a very large chunk of code commited to the source tree without
checking if a make build of the entire system still works? How many
other parts of the tree are now not going to build? All development
has not stopped until this is fixed.


# 1.94 26-Jun-2001 hin

Install kerberosV includefiles


# 1.93 13-Jun-2001 art

Simplify.


# 1.92 31-May-2001 art

Install link.h and dlfcn.h on alpha.


# 1.91 14-May-2001 espie

Speed-up:
- remove extra subshells;
- use exec on terminal commands, avoiding dangling shells that don't
control anything.

More correct:
- use && some more;
- remove `-' in front of includes, so that failures WILL fail...

Okay millert@, deraadt@


Revision tags: OPENBSD_2_9_BASE
# 1.90 18-Mar-2001 millert

Build gnu/lib/libreadline and use it instead of the one currently
in the binutils dir.


# 1.89 02-Mar-2001 espie

Add ohash_* functions to libc.
Ok'd deraadt@, millert@


# 1.88 18-Dec-2000 brad

*cough*someone forgot to remove libgmp*cough*


# 1.87 21-Nov-2000 millert

Add references to new files.


Revision tags: OPENBSD_2_8_BASE
# 1.86 10-Oct-2000 hugh

Don't install ieeefp.h on vax. derradt Ok.


# 1.85 01-Oct-2000 rahnds

Now that powerpc has shared libraries, make certain that link.h and dlfcn.h
are created properly.


# 1.84 19-Sep-2000 deraadt

install netnatm includes; stoklund@cp.dyndns.dk


# 1.83 03-Sep-2000 espie

Boring... Add :L modifier to all tweakable variables tests.

Closes PR 1246


# 1.82 20-Aug-2000 millert

login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.


Revision tags: OPENBSD_2_7_BASE
# 1.81 10-Mar-2000 niklas

A more normal way of building kerberos, faster, and it works with SUDO


# 1.80 29-Feb-2000 deraadt

install crypto headers


# 1.79 25-Feb-2000 hin

Include files for KerberosIV have moved.
(ok art@)


# 1.78 23-Feb-2000 itojun

add getifaddrs(3), from bsdi4.
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.


# 1.77 19-Feb-2000 deraadt

do not install /usr/include/dev/microcode/


# 1.76 20-Nov-1999 espie

Generate g2c.h at prereq stage.
Install it under /usr/include


Revision tags: OPENBSD_2_6_BASE
# 1.75 05-Oct-1999 beck

get httpd in WDIRS as well as the prereq dirs.


# 1.74 05-Oct-1999 beck

add httpd to includes target so apache includes get grabbed.


# 1.73 27-Sep-1999 beck

remove /usr/include/openssl link before making it.


# 1.72 27-Sep-1999 deraadt

openssl -> ssl


# 1.71 24-Sep-1999 espie

stdbool.h conforming to C9X


# 1.70 01-Jul-1999 deraadt

install miscfs includes too


# 1.69 24-Jun-1999 espie

Slight goof, repair symlinks target (noted by David Leonard)


# 1.68 22-Jun-1999 art

install uvm includes


# 1.67 29-May-1999 angelos

Add libkeynote target for includes


# 1.66 26-May-1999 espie

Link in egcs, kill gcc and libg++


# 1.65 18-May-1999 espie

Change include links shennannigans to make more sense,
so that machine -> i386, and not the other way around,
or, for arches such as amiga/m68k, make amiga & m68k true directories
and let machine -> amiga.


# 1.64 09-May-1999 millert

c++ clasess for ncurses


Revision tags: OPENBSD_2_5_BASE
# 1.63 29-Mar-1999 rahnds

powerpc does not support shared libraries and thus should not ship
link.h or dlfcn.h


# 1.62 09-Mar-1999 niklas

Some style issues, make stuff neded before depend be built by beforedepend.
Also make them prereq in the case of make includes


# 1.61 02-Mar-1999 niklas

Provide a method to do prerequisites needed before
installation of includes can happen. Do these before and not run via ${SUDO}.


# 1.60 26-Feb-1999 deraadt

skipjack in libc; isakmpd and such will want it


# 1.59 12-Feb-1999 millert

add old dbm-compatible interface from db-1.86 with minor changes by me (needs a man page)


# 1.58 01-Feb-1999 d

add libc_r


# 1.57 08-Jan-1999 deraadt

install netinet6 include files


Revision tags: OPENBSD_2_4_BASE
# 1.56 07-Oct-1998 deraadt

install /usr/include/ssl/


# 1.55 07-Sep-1998 art

install the xfs includes


# 1.54 23-Jul-1998 millert

curses.h frontend


# 1.53 21-Jul-1998 provos

Add CAST encryption, implementation by Steve Reid <sreid@sea-to-sky.net>.
Man pages will come soon, I hope.


# 1.52 17-Jul-1998 espie

. is a regex.


# 1.51 07-Jul-1998 art

do not install includes from libss


# 1.50 25-Jun-1998 deraadt

install isofs headers, we need them


# 1.49 07-Jun-1998 millert

add gnu/lib/libgmp to WDIR for includes


# 1.48 04-May-1998 provos

make includes for libossaudio


Revision tags: OPENBSD_2_3_BASE
# 1.47 03-Mar-1998 niklas

Dive into libg++ and gcc on includes


Revision tags: OPENBSD_2_2_BASE
# 1.46 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.45 17-Aug-1997 millert

basename(3) and dirname(3) as specified by XPG4 and XPG4.2


# 1.44 23-Jul-1997 denny

add netatalk


# 1.43 17-Jul-1997 millert

mdX(3)-like interface to RIPEMD-160 hash function. Code by
Antoon Bosselaers and massaged by me to fit the mdX(3) API.


# 1.42 29-Jun-1997 provos

relocated header files


# 1.41 30-May-1997 downsj

Don't ref gnu/ext2fs.


Revision tags: OPENBSD_2_1_BASE
# 1.40 27-Apr-1997 millert

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.


# 1.39 19-Apr-1997 millert

Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''
Same change doen for SKEY, YP, and KERBEROS5. This allows
people to override those setting in /etc/mk.conf.


# 1.38 27-Feb-1997 downsj

Add libwrap.


# 1.37 13-Feb-1997 provos

blf.h headerfile install


# 1.36 03-Feb-1997 millert

Back out stringlist


# 1.35 02-Feb-1997 millert

From NetBSD (lukem and christos):
A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.34 22-Dec-1996 deraadt

nope, ss is wrong


# 1.33 19-Dec-1996 etheisen

Create include/ss.


# 1.32 08-Dec-1996 downsj

cookie cookie COOKIE.. oh, sorry..
install -> ${INSTALL}, -c -> ${COPY}


# 1.31 16-Nov-1996 downsj

Fix more libss stuff.


# 1.30 15-Nov-1996 downsj

Move libss to the main tree.


# 1.29 11-Nov-1996 downsj

Move libcom_err out of Kerberos, change include location.


# 1.28 05-Nov-1996 downsj

install gnu/ext2fs


# 1.27 27-Oct-1996 etheisen

OLF.


Revision tags: OPENBSD_2_0_BASE
# 1.26 06-Oct-1996 pefo

Fix dlfcn.h and link.h for arc port


# 1.25 29-Sep-1996 millert

removed md2.h


# 1.24 29-Sep-1996 millert

Added sha1 (secure hash function).


# 1.23 27-Sep-1996 millert

includes in skey dir get installed too.


# 1.22 05-Sep-1996 pefo

standard link.h and dlfcn.h not very useful on mips


# 1.21 16-Aug-1996 mickey

netipx.


# 1.20 16-Aug-1996 downsj

Add libcompat.


# 1.19 27-Jul-1996 tholo

Integrate zlib v1.0.3


# 1.18 24-Jul-1996 mickey

install /sys/scsi in /usr/include/scsi


# 1.17 24-Jul-1996 downsj

regexp.h no longer lives here.


# 1.16 19-Jun-1996 deraadt

util.h no longer here


# 1.15 12-Jun-1996 deraadt

add /sbin/scsi from FreeBSD -- a good start!


# 1.14 11-Jun-1996 deraadt

also do includes in libpcap and arch/${MACHINE}


# 1.13 10-Jun-1996 deraadt

libedit has an includes target too


# 1.12 03-Jun-1996 niklas

Forgot to handle the md?.h include files in here


# 1.11 02-Jun-1996 deraadt

../lib/libmenu not ../libmenu


# 1.10 02-Jun-1996 tholo

Include in some more directories


# 1.9 02-Jun-1996 tholo

Recurse into a few more select directories on "make includes"


# 1.8 22-May-1996 deraadt

libutil


# 1.7 06-May-1996 deraadt

hard-code the include installation path (mostly for speed)


# 1.6 01-May-1996 deraadt

realinstall -> includes


# 1.5 18-Apr-1996 mickey

Add /sys/ddb to be installed in /usr/include.


# 1.4 21-Feb-1996 niklas

From NetBSD:
Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


# 1.3 15-Feb-1996 etheisen

Install elf_abi.h in /usr/include.


# 1.2 24-Oct-1995 deraadt

install curses.h from src/include


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.229 09-Jun-2021 mortimer

Enable libexecinfo.

With some build plumbing help from jsg@

ok kettenis@ sthen@


Revision tags: OPENBSD_6_9_BASE
# 1.228 02-Jan-2021 patrick

Move Makefiles for libc++ and libc++abi to gnu/lib in preparation for an
upcoming update to those, which will see both codebases heading into the
gnu/llvm dumpster.

Feedback from jsg@
ok deraadt@ kettenis@


# 1.227 26-Oct-2020 martijn

Hook up agentx.h.

OK deraadt@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.226 14-Nov-2019 djm

RDIRS for libcbor and libfido2


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.225 06-Apr-2019 jsg

unbreak make includes on non-clang archs after libobjc removal
found the hard way by nayden@ ok deraadt@


# 1.224 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


# 1.223 04-Feb-2019 jsg

enable libelf


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.222 17-Oct-2017 mpi

<elf.h> should make it easier to port our ELF-related tools to other Unices.

For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.

ok deraadt@, jasper@, naddy@


# 1.221 15-Oct-2017 guenther

Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread. No changes
to the content

ok mpi@


# 1.220 06-Oct-2017 naddy

Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@


Revision tags: OPENBSD_6_2_BASE
# 1.219 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.218 12-Mar-2017 guenther

<struct.h> is unused and should not be used. Delete it.

ok millert@ deraadt@ kettenis@


# 1.217 27-Jan-2017 jsg

install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@


# 1.216 12-Nov-2016 jca

Kill the /usr/include/ssl symlink

Proposed some time ago by tedu@, builk build by ajacoutot@


# 1.215 08-Nov-2016 tb

Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.

ok millert


# 1.214 16-Oct-2016 tb

Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.

Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.

Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.

help, testing & ok deraadt, input from natano, further testing rpe


# 1.213 23-Sep-2016 sthen

Unhook sqlite3.


Revision tags: OPENBSD_6_0_BASE
# 1.212 07-May-2016 tedu

remove dbm.h


# 1.211 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


# 1.210 09-Mar-2016 deraadt

We are done providing support for the vax.
lots of agreement.


Revision tags: OPENBSD_5_9_BASE
# 1.209 20-Jan-2016 jasper

After nearly 20 years of warning that malloc.h is obsolete, it's about time we
actually remove this header. It was originally added for ports, which is
malloc.h-free now.

additional ports bulk by aja@
ok bently@ dcoppa@ millert@ sthen@


# 1.208 18-Nov-2015 tedu

add icdb.h here (this header may go away entirely, but the functions
need to live somewhere in the meantime.)


# 1.207 14-Nov-2015 deraadt

libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm


# 1.206 27-Sep-2015 kettenis

Stop installing any header files in /usr/include/dev/pci/drm.
Userland should get these from /usr/X11R6/include/libdrm.

ok deraadt@ (and suggested by jsg@)


# 1.205 14-Sep-2015 guenther

Revert: finger slip


# 1.204 14-Sep-2015 guenther

Prefer the standardized <poll.h> over <sys/poll.h>


# 1.203 09-Sep-2015 guenther

Stop exporting from libc the <mpool.h> and the mpool_* API

ports scan by sthen@


Revision tags: OPENBSD_5_8_BASE
# 1.202 23-Jul-2015 yasuoka

Build and install libradius as default.

ok deraadt


# 1.201 17-Mar-2015 millert

Remove obsolete copy of tzfile.h. It is an internal tzcode header
that should never have been installed.


Revision tags: OPENBSD_5_7_BASE
# 1.200 18-Feb-2015 sthen

Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@


# 1.199 16-Feb-2015 tedu

stop deleting the openssl include directory, causing unnecessary rebuilds.
ok jca sthen


# 1.198 17-Jan-2015 tedu

remove des.h. it somehow escaped from ssleay into /usr/include, but none
of the functions prototyped here exist in libc, making it useless.


# 1.197 08-Dec-2014 tedu

header changes for recent libc changes:
add siphash
delete setkey, encrypt, cfree


# 1.196 31-Oct-2014 jsing

Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.


# 1.195 16-Sep-2014 matthieu

Missed this sendmail reference in the sendmail removal


# 1.194 31-Aug-2014 miod

Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via
Markus Mueller.


Revision tags: OPENBSD_5_6_BASE
# 1.193 14-Jul-2014 deraadt

enter libressl for make includes


# 1.192 12-Jul-2014 guenther

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162

if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*

ok deraadt@


# 1.191 11-Jul-2014 tedu

stop installing netbt headers


# 1.190 12-May-2014 espie

move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.


# 1.189 22-Apr-2014 reyk

Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).

ok deraadt@


# 1.188 19-Apr-2014 henning

stop installing altq includes


# 1.187 11-Apr-2014 miod

Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.

ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.


# 1.186 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.185 24-Mar-2014 kettenis

unbreak the tree; no more libwrap


# 1.184 23-Mar-2014 tedu

more bm excision


# 1.183 23-Mar-2014 naddy

Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

ok deraadt@, man pages ok jmc@


# 1.182 13-Mar-2014 florian

Unhook httpd(8) from build
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@
"The time is right." and much help getting the show on
the road deraadt@


Revision tags: OPENBSD_5_5_BASE
# 1.181 08-Dec-2013 naddy

remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@


# 1.180 05-Dec-2013 deraadt

oops, sgtty.h stays for a little longer


# 1.179 04-Dec-2013 deraadt

express final disapproval of the interfaces in libcompat, such as
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]


# 1.178 03-Nov-2013 sthen

Install fuse headers in 'make includes', diff from stsp@, ok guenther@
Committing now to unbreak ports builds (gvfs fails without, which knocks
out building much of the tree.)


# 1.177 19-Oct-2013 deraadt

Remove more knowledge of a.out and stab information from the tree.
ok miod


# 1.176 29-Sep-2013 deraadt

remove bogus comment


# 1.175 24-Aug-2013 jsg

netnatm is no more


# 1.174 12-Aug-2013 kettenis

Make sure we don't install the private radeondrm(4) headers, by leaving out
headers from any subdirectory of dev/pci/drm. If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.

ok mpi@, miod@


# 1.173 10-Aug-2013 ajacoutot

libkafs5->libkafs ; forgotten in previous


# 1.172 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.171 19-Jun-2013 robert

unlink libheimntlm and libhx509


# 1.170 17-Jun-2013 robert

switch to new kerberosV directory layout


# 1.169 21-Mar-2013 deraadt

Do not install the dev/pci/drm/i915 directory to /usr/include


# 1.168 18-Mar-2013 deraadt

forget about this for now; wait till later


# 1.167 18-Mar-2013 deraadt

Skip another irrelevant leaf when descending into sys/dev
ok kettenis


Revision tags: OPENBSD_5_3_BASE
# 1.166 23-Aug-2012 deraadt

do not install the nnpfs directory


Revision tags: OPENBSD_5_2_BASE
# 1.165 28-Jun-2012 guenther

librthread has eaten libpthread, so build includes via the former instead
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed

discussed with deraadt@


# 1.164 26-Jun-2012 deraadt

create new machine/_float.h which is namespace clean. create a new
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.


# 1.163 19-Jun-2012 espie

simplify includes prereq/req order:
- everything that has prereq will also do includes, add it late, so that
gnu stuff (the only part with prereq) happens late.
- new RUN_MAKE snippet, to be able to have the makefile magically decide
between Makefile.bsd-wrapper and Makefile.

So there's no longer any need to remember complicated rules: add it to
RDIRS if it just wants make includes, add it to PRDIRS if it wants prereq too,
and that's all.

okay deraadt@, miod@


# 1.162 22-Apr-2012 espie

enable sqlite3, as prompted by theo


# 1.161 21-Mar-2012 matthew

Implement execvpe(3) and posix_spawn(3) and family. Based on
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.

ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.160 09-Jul-2011 henning

stop installing netatalk headers


# 1.159 08-Jul-2011 martynas

Add support for tgmath--the type-generic math; now that both math
and complex math routines are complete. OK kettenis@.


# 1.158 28-Apr-2011 martynas

- enable fenv
- add nearbyint, nearbyintf and nearbyintl implemented using fenv


Revision tags: OPENBSD_4_9_BASE
# 1.157 28-Oct-2010 mikeb

remove skipjack and cast from the libc; ok deraadt


# 1.156 17-Oct-2010 djm

unlink libsectok from the build; ok markus@ deraadt@


Revision tags: OPENBSD_4_8_BASE
# 1.155 25-May-2010 espie

unlink g77 from the build.
as discussed with Theo, so that he can synch set.

(eventual gcc2 fallout to fix later)


# 1.154 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_7_BASE
# 1.153 03-Feb-2010 miod

MACHINE_ARCH -> MACHINE_CPU when applicable.

** it is necessary to update make(1) before building now **


Revision tags: OPENBSD_4_6_BASE
# 1.152 24-Jun-2009 millert

Install ntfs includes and add libkvm (fstat) support. ntfs bits
adapted from NetBSD fstat. OK deraadt@


# 1.151 20-Jun-2009 millert

Install msdosfs includes; ok krw@


# 1.150 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.149 21-Apr-2009 ratchov

move src/lib/libsndio/sndio.h into src/include where other include
files leave.

requested by deraadt@, ok miod@


Revision tags: OPENBSD_4_5_BASE
# 1.148 27-Oct-2008 ratchov

rename libsa to libsndio
requested by many, "just go for it" deraadt@


# 1.147 26-Oct-2008 espie

no cookie for ratchov, committed things without running make build.


# 1.146 07-Sep-2008 martynas

- replace dtoa w/ David's gdtoa, version 2008-03-15
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support. added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c. could be more acruate
& faster, but it's good enough for now)
- remove wrappers & cruft in libm, supposed to work-around mistakes
in SVID, etc.; use ieee versions. fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h & gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes


# 1.145 22-Aug-2008 kettenis

Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.

If ports people really need libbfd or libopcodes, they should just
package a suitable version.

ok weingart@, deraadt@


Revision tags: OPENBSD_4_4_BASE
# 1.144 04-Jun-2008 deraadt

olf support starts to die (easy stuff first); ok miod


# 1.143 23-Apr-2008 norby

Import MPLS (Multi Protocol Label Switching)

MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.

It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.

Imported to allow more people to work on this in the coming weeks.

ok claudio@ laurent@ dlg@


# 1.142 22-Mar-2008 matthieu

Get rid of 3 extra leading spaces. ok deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.141 19-Oct-2007 deraadt

install includes from libexpat


Revision tags: OPENBSD_4_2_BASE
# 1.140 06-Jun-2007 deraadt

no longer make include/netipx dir


Revision tags: OPENBSD_4_1_BASE
# 1.139 13-Feb-2007 espie

remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script
still rebuilds a copy of that file, and we check it for diffs.

okay millert@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.138 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


# 1.137 28-Dec-2005 millert

Split off the non-kernel visible portion of sys/errno.h into a
separate errno.h. sys/errno.h now only contains errno values (which
is included byerrno.h). OK deraadt@


# 1.136 27-Sep-2005 deraadt

use xargs -r0 for our build process


Revision tags: OPENBSD_3_8_BASE
# 1.135 10-Jul-2005 grange

Install netbt/ includes.

ok henning@


# 1.134 17-Jun-2005 henning

don't install netns includes any longer, ports bulk build test by pval


# 1.133 07-Jun-2005 henning

-netccitt/


# 1.132 28-Apr-2005 espie

also use new libobjc on old architectures, since it builds fine with
gcc 2.95.

tests and okay miod@, marc@.


# 1.131 18-Apr-2005 millert

rm libcurses++


# 1.130 14-Apr-2005 espie

introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.


Revision tags: OPENBSD_3_7_BASE
# 1.129 20-Oct-2004 fgsch

install net80211 headers; millert and deraadt ok.


Revision tags: OPENBSD_3_6_BASE
# 1.128 15-Jul-2004 henning

do not install netiso header files, millert deraadt ok


# 1.127 29-Jun-2004 millert

make includes in gnu/usr.sbin/sendmail/libmilter


# 1.126 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.125 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.124 01-Mar-2004 drahn

Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@


# 1.123 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.122 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


Revision tags: OPENBSD_3_4_BASE
# 1.121 21-Jul-2003 millert

Need ftw.h for ftw(3) and nftw(3)


# 1.120 15-Jul-2003 deraadt

do not enter libcom_err


# 1.119 14-Jul-2003 mho

Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, David Krause, ...


# 1.118 02-Jun-2003 markus

swap /usr/include/openssl and /usr/include/ssl, clean up the Makefiles
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@


# 1.117 14-May-2003 mho

Remove krb4 support.


# 1.116 09-May-2003 millert

Install sha2.h


Revision tags: OPENBSD_3_3_BASE
# 1.115 20-Jan-2003 marc

install includes from libpthread, not libc_r


# 1.114 03-Dec-2002 miod

Intall getopt.h in /usr/include as well.


Revision tags: OPENBSD_3_2_BASE
# 1.113 03-Sep-2002 markus

build OpenSSL without symlink trees:
* manpage related things moved to src/libssl/man/Makefile
* there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead
of one single src/libssl/obj
* instead of running Configure (with generates lots of symlinks, and
opensslconf.h) this patch stores pre-computed opensslconf.h files
in src/libssl/crypto/arch
* requires a make includes before the library can be built
* libssl and libcrypto can be build separately
(e.g. cd src/libssl/ssl && make obj && make)
* make depend is now supported
* no more symlink trees
tested by miod@ and fries@


# 1.112 16-Jun-2002 naddy

install headers from libevent; ok miod@


# 1.111 09-Jun-2002 itojun

backout previous


# 1.110 09-Jun-2002 itojun

pax -s <regex> is botched, don't use it.


# 1.109 07-Jun-2002 drahn

Switch powerpc to using new split (aout/elf) link.h


# 1.108 07-Jun-2002 art

split link.h into three parts. The MI parts are left in link.h
a.out stuff in link_aout.h and ELF stuff in link_elf.h.
Switch sparc64 back to MI link.h.
drahn@ ok (powerpc will switch soon).


# 1.107 05-Jun-2002 art

Don't use MI dlfcn.h that are identical to the MD one.


# 1.106 02-Jun-2002 deraadt

no argh. we should doc these targets better


# 1.105 02-Jun-2002 deraadt

put libssl in PRDIRS instead; andre@ae-35.com


# 1.104 01-Jun-2002 deraadt

we do not need this to be Makefile.bsd-wrapper


# 1.103 08-May-2002 espie

includes should be installed during `make include', not later.
Fixes this for lex and binutils' bfd.

Also, do not install ansidecl.h, we don't really need it, bfd.h uses it,
and we installed it so that bfd worked, so let bfd.h include it directly.

prompted by mickey@


Revision tags: OPENBSD_3_1_BASE
# 1.102 08-Apr-2002 fgsch

install link.h and dlfcn.h from sys/arch/sparc64/include.


# 1.101 18-Feb-2002 mickey

netiso/xebec no more


# 1.100 30-Dec-2001 pvalchev

libusb -> libusbhid


# 1.99 06-Nov-2001 deraadt

no more vm in LDIRS


Revision tags: OPENBSD_3_0_BASE
# 1.98 03-Sep-2001 deraadt

how did ../lib/libusb not get added? Bad developers


# 1.97 31-Jul-2001 deraadt

we talked about libsectok having an include target a couple of times....


# 1.96 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


# 1.95 27-Jun-2001 deraadt

Why was a very large chunk of code commited to the source tree without
checking if a make build of the entire system still works? How many
other parts of the tree are now not going to build? All development
has not stopped until this is fixed.


# 1.94 26-Jun-2001 hin

Install kerberosV includefiles


# 1.93 13-Jun-2001 art

Simplify.


# 1.92 31-May-2001 art

Install link.h and dlfcn.h on alpha.


# 1.91 14-May-2001 espie

Speed-up:
- remove extra subshells;
- use exec on terminal commands, avoiding dangling shells that don't
control anything.

More correct:
- use && some more;
- remove `-' in front of includes, so that failures WILL fail...

Okay millert@, deraadt@


Revision tags: OPENBSD_2_9_BASE
# 1.90 18-Mar-2001 millert

Build gnu/lib/libreadline and use it instead of the one currently
in the binutils dir.


# 1.89 02-Mar-2001 espie

Add ohash_* functions to libc.
Ok'd deraadt@, millert@


# 1.88 18-Dec-2000 brad

*cough*someone forgot to remove libgmp*cough*


# 1.87 21-Nov-2000 millert

Add references to new files.


Revision tags: OPENBSD_2_8_BASE
# 1.86 10-Oct-2000 hugh

Don't install ieeefp.h on vax. derradt Ok.


# 1.85 01-Oct-2000 rahnds

Now that powerpc has shared libraries, make certain that link.h and dlfcn.h
are created properly.


# 1.84 19-Sep-2000 deraadt

install netnatm includes; stoklund@cp.dyndns.dk


# 1.83 03-Sep-2000 espie

Boring... Add :L modifier to all tweakable variables tests.

Closes PR 1246


# 1.82 20-Aug-2000 millert

login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.


Revision tags: OPENBSD_2_7_BASE
# 1.81 10-Mar-2000 niklas

A more normal way of building kerberos, faster, and it works with SUDO


# 1.80 29-Feb-2000 deraadt

install crypto headers


# 1.79 25-Feb-2000 hin

Include files for KerberosIV have moved.
(ok art@)


# 1.78 23-Feb-2000 itojun

add getifaddrs(3), from bsdi4.
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.


# 1.77 19-Feb-2000 deraadt

do not install /usr/include/dev/microcode/


# 1.76 20-Nov-1999 espie

Generate g2c.h at prereq stage.
Install it under /usr/include


Revision tags: OPENBSD_2_6_BASE
# 1.75 05-Oct-1999 beck

get httpd in WDIRS as well as the prereq dirs.


# 1.74 05-Oct-1999 beck

add httpd to includes target so apache includes get grabbed.


# 1.73 27-Sep-1999 beck

remove /usr/include/openssl link before making it.


# 1.72 27-Sep-1999 deraadt

openssl -> ssl


# 1.71 24-Sep-1999 espie

stdbool.h conforming to C9X


# 1.70 01-Jul-1999 deraadt

install miscfs includes too


# 1.69 24-Jun-1999 espie

Slight goof, repair symlinks target (noted by David Leonard)


# 1.68 22-Jun-1999 art

install uvm includes


# 1.67 29-May-1999 angelos

Add libkeynote target for includes


# 1.66 26-May-1999 espie

Link in egcs, kill gcc and libg++


# 1.65 18-May-1999 espie

Change include links shennannigans to make more sense,
so that machine -> i386, and not the other way around,
or, for arches such as amiga/m68k, make amiga & m68k true directories
and let machine -> amiga.


# 1.64 09-May-1999 millert

c++ clasess for ncurses


Revision tags: OPENBSD_2_5_BASE
# 1.63 29-Mar-1999 rahnds

powerpc does not support shared libraries and thus should not ship
link.h or dlfcn.h


# 1.62 09-Mar-1999 niklas

Some style issues, make stuff neded before depend be built by beforedepend.
Also make them prereq in the case of make includes


# 1.61 02-Mar-1999 niklas

Provide a method to do prerequisites needed before
installation of includes can happen. Do these before and not run via ${SUDO}.


# 1.60 26-Feb-1999 deraadt

skipjack in libc; isakmpd and such will want it


# 1.59 12-Feb-1999 millert

add old dbm-compatible interface from db-1.86 with minor changes by me (needs a man page)


# 1.58 01-Feb-1999 d

add libc_r


# 1.57 08-Jan-1999 deraadt

install netinet6 include files


Revision tags: OPENBSD_2_4_BASE
# 1.56 07-Oct-1998 deraadt

install /usr/include/ssl/


# 1.55 07-Sep-1998 art

install the xfs includes


# 1.54 23-Jul-1998 millert

curses.h frontend


# 1.53 21-Jul-1998 provos

Add CAST encryption, implementation by Steve Reid <sreid@sea-to-sky.net>.
Man pages will come soon, I hope.


# 1.52 17-Jul-1998 espie

. is a regex.


# 1.51 07-Jul-1998 art

do not install includes from libss


# 1.50 25-Jun-1998 deraadt

install isofs headers, we need them


# 1.49 07-Jun-1998 millert

add gnu/lib/libgmp to WDIR for includes


# 1.48 04-May-1998 provos

make includes for libossaudio


Revision tags: OPENBSD_2_3_BASE
# 1.47 03-Mar-1998 niklas

Dive into libg++ and gcc on includes


Revision tags: OPENBSD_2_2_BASE
# 1.46 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.45 17-Aug-1997 millert

basename(3) and dirname(3) as specified by XPG4 and XPG4.2


# 1.44 23-Jul-1997 denny

add netatalk


# 1.43 17-Jul-1997 millert

mdX(3)-like interface to RIPEMD-160 hash function. Code by
Antoon Bosselaers and massaged by me to fit the mdX(3) API.


# 1.42 29-Jun-1997 provos

relocated header files


# 1.41 30-May-1997 downsj

Don't ref gnu/ext2fs.


Revision tags: OPENBSD_2_1_BASE
# 1.40 27-Apr-1997 millert

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.


# 1.39 19-Apr-1997 millert

Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''
Same change doen for SKEY, YP, and KERBEROS5. This allows
people to override those setting in /etc/mk.conf.


# 1.38 27-Feb-1997 downsj

Add libwrap.


# 1.37 13-Feb-1997 provos

blf.h headerfile install


# 1.36 03-Feb-1997 millert

Back out stringlist


# 1.35 02-Feb-1997 millert

From NetBSD (lukem and christos):
A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.34 22-Dec-1996 deraadt

nope, ss is wrong


# 1.33 19-Dec-1996 etheisen

Create include/ss.


# 1.32 08-Dec-1996 downsj

cookie cookie COOKIE.. oh, sorry..
install -> ${INSTALL}, -c -> ${COPY}


# 1.31 16-Nov-1996 downsj

Fix more libss stuff.


# 1.30 15-Nov-1996 downsj

Move libss to the main tree.


# 1.29 11-Nov-1996 downsj

Move libcom_err out of Kerberos, change include location.


# 1.28 05-Nov-1996 downsj

install gnu/ext2fs


# 1.27 27-Oct-1996 etheisen

OLF.


Revision tags: OPENBSD_2_0_BASE
# 1.26 06-Oct-1996 pefo

Fix dlfcn.h and link.h for arc port


# 1.25 29-Sep-1996 millert

removed md2.h


# 1.24 29-Sep-1996 millert

Added sha1 (secure hash function).


# 1.23 27-Sep-1996 millert

includes in skey dir get installed too.


# 1.22 05-Sep-1996 pefo

standard link.h and dlfcn.h not very useful on mips


# 1.21 16-Aug-1996 mickey

netipx.


# 1.20 16-Aug-1996 downsj

Add libcompat.


# 1.19 27-Jul-1996 tholo

Integrate zlib v1.0.3


# 1.18 24-Jul-1996 mickey

install /sys/scsi in /usr/include/scsi


# 1.17 24-Jul-1996 downsj

regexp.h no longer lives here.


# 1.16 19-Jun-1996 deraadt

util.h no longer here


# 1.15 12-Jun-1996 deraadt

add /sbin/scsi from FreeBSD -- a good start!


# 1.14 11-Jun-1996 deraadt

also do includes in libpcap and arch/${MACHINE}


# 1.13 10-Jun-1996 deraadt

libedit has an includes target too


# 1.12 03-Jun-1996 niklas

Forgot to handle the md?.h include files in here


# 1.11 02-Jun-1996 deraadt

../lib/libmenu not ../libmenu


# 1.10 02-Jun-1996 tholo

Include in some more directories


# 1.9 02-Jun-1996 tholo

Recurse into a few more select directories on "make includes"


# 1.8 22-May-1996 deraadt

libutil


# 1.7 06-May-1996 deraadt

hard-code the include installation path (mostly for speed)


# 1.6 01-May-1996 deraadt

realinstall -> includes


# 1.5 18-Apr-1996 mickey

Add /sys/ddb to be installed in /usr/include.


# 1.4 21-Feb-1996 niklas

From NetBSD:
Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


# 1.3 15-Feb-1996 etheisen

Install elf_abi.h in /usr/include.


# 1.2 24-Oct-1995 deraadt

install curses.h from src/include


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.228 02-Jan-2021 patrick

Move Makefiles for libc++ and libc++abi to gnu/lib in preparation for an
upcoming update to those, which will see both codebases heading into the
gnu/llvm dumpster.

Feedback from jsg@
ok deraadt@ kettenis@


# 1.227 26-Oct-2020 martijn

Hook up agentx.h.

OK deraadt@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.226 14-Nov-2019 djm

RDIRS for libcbor and libfido2


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.225 06-Apr-2019 jsg

unbreak make includes on non-clang archs after libobjc removal
found the hard way by nayden@ ok deraadt@


# 1.224 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


# 1.223 04-Feb-2019 jsg

enable libelf


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.222 17-Oct-2017 mpi

<elf.h> should make it easier to port our ELF-related tools to other Unices.

For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.

ok deraadt@, jasper@, naddy@


# 1.221 15-Oct-2017 guenther

Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread. No changes
to the content

ok mpi@


# 1.220 06-Oct-2017 naddy

Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@


Revision tags: OPENBSD_6_2_BASE
# 1.219 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.218 12-Mar-2017 guenther

<struct.h> is unused and should not be used. Delete it.

ok millert@ deraadt@ kettenis@


# 1.217 27-Jan-2017 jsg

install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@


# 1.216 12-Nov-2016 jca

Kill the /usr/include/ssl symlink

Proposed some time ago by tedu@, builk build by ajacoutot@


# 1.215 08-Nov-2016 tb

Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.

ok millert


# 1.214 16-Oct-2016 tb

Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.

Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.

Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.

help, testing & ok deraadt, input from natano, further testing rpe


# 1.213 23-Sep-2016 sthen

Unhook sqlite3.


Revision tags: OPENBSD_6_0_BASE
# 1.212 07-May-2016 tedu

remove dbm.h


# 1.211 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


# 1.210 09-Mar-2016 deraadt

We are done providing support for the vax.
lots of agreement.


Revision tags: OPENBSD_5_9_BASE
# 1.209 20-Jan-2016 jasper

After nearly 20 years of warning that malloc.h is obsolete, it's about time we
actually remove this header. It was originally added for ports, which is
malloc.h-free now.

additional ports bulk by aja@
ok bently@ dcoppa@ millert@ sthen@


# 1.208 18-Nov-2015 tedu

add icdb.h here (this header may go away entirely, but the functions
need to live somewhere in the meantime.)


# 1.207 14-Nov-2015 deraadt

libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm


# 1.206 27-Sep-2015 kettenis

Stop installing any header files in /usr/include/dev/pci/drm.
Userland should get these from /usr/X11R6/include/libdrm.

ok deraadt@ (and suggested by jsg@)


# 1.205 14-Sep-2015 guenther

Revert: finger slip


# 1.204 14-Sep-2015 guenther

Prefer the standardized <poll.h> over <sys/poll.h>


# 1.203 09-Sep-2015 guenther

Stop exporting from libc the <mpool.h> and the mpool_* API

ports scan by sthen@


Revision tags: OPENBSD_5_8_BASE
# 1.202 23-Jul-2015 yasuoka

Build and install libradius as default.

ok deraadt


# 1.201 17-Mar-2015 millert

Remove obsolete copy of tzfile.h. It is an internal tzcode header
that should never have been installed.


Revision tags: OPENBSD_5_7_BASE
# 1.200 18-Feb-2015 sthen

Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@


# 1.199 16-Feb-2015 tedu

stop deleting the openssl include directory, causing unnecessary rebuilds.
ok jca sthen


# 1.198 17-Jan-2015 tedu

remove des.h. it somehow escaped from ssleay into /usr/include, but none
of the functions prototyped here exist in libc, making it useless.


# 1.197 08-Dec-2014 tedu

header changes for recent libc changes:
add siphash
delete setkey, encrypt, cfree


# 1.196 31-Oct-2014 jsing

Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.


# 1.195 16-Sep-2014 matthieu

Missed this sendmail reference in the sendmail removal


# 1.194 31-Aug-2014 miod

Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via
Markus Mueller.


Revision tags: OPENBSD_5_6_BASE
# 1.193 14-Jul-2014 deraadt

enter libressl for make includes


# 1.192 12-Jul-2014 guenther

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162

if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*

ok deraadt@


# 1.191 11-Jul-2014 tedu

stop installing netbt headers


# 1.190 12-May-2014 espie

move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.


# 1.189 22-Apr-2014 reyk

Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).

ok deraadt@


# 1.188 19-Apr-2014 henning

stop installing altq includes


# 1.187 11-Apr-2014 miod

Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.

ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.


# 1.186 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.185 24-Mar-2014 kettenis

unbreak the tree; no more libwrap


# 1.184 23-Mar-2014 tedu

more bm excision


# 1.183 23-Mar-2014 naddy

Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

ok deraadt@, man pages ok jmc@


# 1.182 13-Mar-2014 florian

Unhook httpd(8) from build
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@
"The time is right." and much help getting the show on
the road deraadt@


Revision tags: OPENBSD_5_5_BASE
# 1.181 08-Dec-2013 naddy

remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@


# 1.180 05-Dec-2013 deraadt

oops, sgtty.h stays for a little longer


# 1.179 04-Dec-2013 deraadt

express final disapproval of the interfaces in libcompat, such as
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]


# 1.178 03-Nov-2013 sthen

Install fuse headers in 'make includes', diff from stsp@, ok guenther@
Committing now to unbreak ports builds (gvfs fails without, which knocks
out building much of the tree.)


# 1.177 19-Oct-2013 deraadt

Remove more knowledge of a.out and stab information from the tree.
ok miod


# 1.176 29-Sep-2013 deraadt

remove bogus comment


# 1.175 24-Aug-2013 jsg

netnatm is no more


# 1.174 12-Aug-2013 kettenis

Make sure we don't install the private radeondrm(4) headers, by leaving out
headers from any subdirectory of dev/pci/drm. If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.

ok mpi@, miod@


# 1.173 10-Aug-2013 ajacoutot

libkafs5->libkafs ; forgotten in previous


# 1.172 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.171 19-Jun-2013 robert

unlink libheimntlm and libhx509


# 1.170 17-Jun-2013 robert

switch to new kerberosV directory layout


# 1.169 21-Mar-2013 deraadt

Do not install the dev/pci/drm/i915 directory to /usr/include


# 1.168 18-Mar-2013 deraadt

forget about this for now; wait till later


# 1.167 18-Mar-2013 deraadt

Skip another irrelevant leaf when descending into sys/dev
ok kettenis


Revision tags: OPENBSD_5_3_BASE
# 1.166 23-Aug-2012 deraadt

do not install the nnpfs directory


Revision tags: OPENBSD_5_2_BASE
# 1.165 28-Jun-2012 guenther

librthread has eaten libpthread, so build includes via the former instead
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed

discussed with deraadt@


# 1.164 26-Jun-2012 deraadt

create new machine/_float.h which is namespace clean. create a new
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.


# 1.163 19-Jun-2012 espie

simplify includes prereq/req order:
- everything that has prereq will also do includes, add it late, so that
gnu stuff (the only part with prereq) happens late.
- new RUN_MAKE snippet, to be able to have the makefile magically decide
between Makefile.bsd-wrapper and Makefile.

So there's no longer any need to remember complicated rules: add it to
RDIRS if it just wants make includes, add it to PRDIRS if it wants prereq too,
and that's all.

okay deraadt@, miod@


# 1.162 22-Apr-2012 espie

enable sqlite3, as prompted by theo


# 1.161 21-Mar-2012 matthew

Implement execvpe(3) and posix_spawn(3) and family. Based on
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.

ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.160 09-Jul-2011 henning

stop installing netatalk headers


# 1.159 08-Jul-2011 martynas

Add support for tgmath--the type-generic math; now that both math
and complex math routines are complete. OK kettenis@.


# 1.158 28-Apr-2011 martynas

- enable fenv
- add nearbyint, nearbyintf and nearbyintl implemented using fenv


Revision tags: OPENBSD_4_9_BASE
# 1.157 28-Oct-2010 mikeb

remove skipjack and cast from the libc; ok deraadt


# 1.156 17-Oct-2010 djm

unlink libsectok from the build; ok markus@ deraadt@


Revision tags: OPENBSD_4_8_BASE
# 1.155 25-May-2010 espie

unlink g77 from the build.
as discussed with Theo, so that he can synch set.

(eventual gcc2 fallout to fix later)


# 1.154 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_7_BASE
# 1.153 03-Feb-2010 miod

MACHINE_ARCH -> MACHINE_CPU when applicable.

** it is necessary to update make(1) before building now **


Revision tags: OPENBSD_4_6_BASE
# 1.152 24-Jun-2009 millert

Install ntfs includes and add libkvm (fstat) support. ntfs bits
adapted from NetBSD fstat. OK deraadt@


# 1.151 20-Jun-2009 millert

Install msdosfs includes; ok krw@


# 1.150 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.149 21-Apr-2009 ratchov

move src/lib/libsndio/sndio.h into src/include where other include
files leave.

requested by deraadt@, ok miod@


Revision tags: OPENBSD_4_5_BASE
# 1.148 27-Oct-2008 ratchov

rename libsa to libsndio
requested by many, "just go for it" deraadt@


# 1.147 26-Oct-2008 espie

no cookie for ratchov, committed things without running make build.


# 1.146 07-Sep-2008 martynas

- replace dtoa w/ David's gdtoa, version 2008-03-15
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support. added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c. could be more acruate
& faster, but it's good enough for now)
- remove wrappers & cruft in libm, supposed to work-around mistakes
in SVID, etc.; use ieee versions. fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h & gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes


# 1.145 22-Aug-2008 kettenis

Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.

If ports people really need libbfd or libopcodes, they should just
package a suitable version.

ok weingart@, deraadt@


Revision tags: OPENBSD_4_4_BASE
# 1.144 04-Jun-2008 deraadt

olf support starts to die (easy stuff first); ok miod


# 1.143 23-Apr-2008 norby

Import MPLS (Multi Protocol Label Switching)

MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.

It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.

Imported to allow more people to work on this in the coming weeks.

ok claudio@ laurent@ dlg@


# 1.142 22-Mar-2008 matthieu

Get rid of 3 extra leading spaces. ok deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.141 19-Oct-2007 deraadt

install includes from libexpat


Revision tags: OPENBSD_4_2_BASE
# 1.140 06-Jun-2007 deraadt

no longer make include/netipx dir


Revision tags: OPENBSD_4_1_BASE
# 1.139 13-Feb-2007 espie

remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script
still rebuilds a copy of that file, and we check it for diffs.

okay millert@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.138 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


# 1.137 28-Dec-2005 millert

Split off the non-kernel visible portion of sys/errno.h into a
separate errno.h. sys/errno.h now only contains errno values (which
is included byerrno.h). OK deraadt@


# 1.136 27-Sep-2005 deraadt

use xargs -r0 for our build process


Revision tags: OPENBSD_3_8_BASE
# 1.135 10-Jul-2005 grange

Install netbt/ includes.

ok henning@


# 1.134 17-Jun-2005 henning

don't install netns includes any longer, ports bulk build test by pval


# 1.133 07-Jun-2005 henning

-netccitt/


# 1.132 28-Apr-2005 espie

also use new libobjc on old architectures, since it builds fine with
gcc 2.95.

tests and okay miod@, marc@.


# 1.131 18-Apr-2005 millert

rm libcurses++


# 1.130 14-Apr-2005 espie

introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.


Revision tags: OPENBSD_3_7_BASE
# 1.129 20-Oct-2004 fgsch

install net80211 headers; millert and deraadt ok.


Revision tags: OPENBSD_3_6_BASE
# 1.128 15-Jul-2004 henning

do not install netiso header files, millert deraadt ok


# 1.127 29-Jun-2004 millert

make includes in gnu/usr.sbin/sendmail/libmilter


# 1.126 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.125 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.124 01-Mar-2004 drahn

Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@


# 1.123 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.122 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


Revision tags: OPENBSD_3_4_BASE
# 1.121 21-Jul-2003 millert

Need ftw.h for ftw(3) and nftw(3)


# 1.120 15-Jul-2003 deraadt

do not enter libcom_err


# 1.119 14-Jul-2003 mho

Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, David Krause, ...


# 1.118 02-Jun-2003 markus

swap /usr/include/openssl and /usr/include/ssl, clean up the Makefiles
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@


# 1.117 14-May-2003 mho

Remove krb4 support.


# 1.116 09-May-2003 millert

Install sha2.h


Revision tags: OPENBSD_3_3_BASE
# 1.115 20-Jan-2003 marc

install includes from libpthread, not libc_r


# 1.114 03-Dec-2002 miod

Intall getopt.h in /usr/include as well.


Revision tags: OPENBSD_3_2_BASE
# 1.113 03-Sep-2002 markus

build OpenSSL without symlink trees:
* manpage related things moved to src/libssl/man/Makefile
* there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead
of one single src/libssl/obj
* instead of running Configure (with generates lots of symlinks, and
opensslconf.h) this patch stores pre-computed opensslconf.h files
in src/libssl/crypto/arch
* requires a make includes before the library can be built
* libssl and libcrypto can be build separately
(e.g. cd src/libssl/ssl && make obj && make)
* make depend is now supported
* no more symlink trees
tested by miod@ and fries@


# 1.112 16-Jun-2002 naddy

install headers from libevent; ok miod@


# 1.111 09-Jun-2002 itojun

backout previous


# 1.110 09-Jun-2002 itojun

pax -s <regex> is botched, don't use it.


# 1.109 07-Jun-2002 drahn

Switch powerpc to using new split (aout/elf) link.h


# 1.108 07-Jun-2002 art

split link.h into three parts. The MI parts are left in link.h
a.out stuff in link_aout.h and ELF stuff in link_elf.h.
Switch sparc64 back to MI link.h.
drahn@ ok (powerpc will switch soon).


# 1.107 05-Jun-2002 art

Don't use MI dlfcn.h that are identical to the MD one.


# 1.106 02-Jun-2002 deraadt

no argh. we should doc these targets better


# 1.105 02-Jun-2002 deraadt

put libssl in PRDIRS instead; andre@ae-35.com


# 1.104 01-Jun-2002 deraadt

we do not need this to be Makefile.bsd-wrapper


# 1.103 08-May-2002 espie

includes should be installed during `make include', not later.
Fixes this for lex and binutils' bfd.

Also, do not install ansidecl.h, we don't really need it, bfd.h uses it,
and we installed it so that bfd worked, so let bfd.h include it directly.

prompted by mickey@


Revision tags: OPENBSD_3_1_BASE
# 1.102 08-Apr-2002 fgsch

install link.h and dlfcn.h from sys/arch/sparc64/include.


# 1.101 18-Feb-2002 mickey

netiso/xebec no more


# 1.100 30-Dec-2001 pvalchev

libusb -> libusbhid


# 1.99 06-Nov-2001 deraadt

no more vm in LDIRS


Revision tags: OPENBSD_3_0_BASE
# 1.98 03-Sep-2001 deraadt

how did ../lib/libusb not get added? Bad developers


# 1.97 31-Jul-2001 deraadt

we talked about libsectok having an include target a couple of times....


# 1.96 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


# 1.95 27-Jun-2001 deraadt

Why was a very large chunk of code commited to the source tree without
checking if a make build of the entire system still works? How many
other parts of the tree are now not going to build? All development
has not stopped until this is fixed.


# 1.94 26-Jun-2001 hin

Install kerberosV includefiles


# 1.93 13-Jun-2001 art

Simplify.


# 1.92 31-May-2001 art

Install link.h and dlfcn.h on alpha.


# 1.91 14-May-2001 espie

Speed-up:
- remove extra subshells;
- use exec on terminal commands, avoiding dangling shells that don't
control anything.

More correct:
- use && some more;
- remove `-' in front of includes, so that failures WILL fail...

Okay millert@, deraadt@


Revision tags: OPENBSD_2_9_BASE
# 1.90 18-Mar-2001 millert

Build gnu/lib/libreadline and use it instead of the one currently
in the binutils dir.


# 1.89 02-Mar-2001 espie

Add ohash_* functions to libc.
Ok'd deraadt@, millert@


# 1.88 18-Dec-2000 brad

*cough*someone forgot to remove libgmp*cough*


# 1.87 21-Nov-2000 millert

Add references to new files.


Revision tags: OPENBSD_2_8_BASE
# 1.86 10-Oct-2000 hugh

Don't install ieeefp.h on vax. derradt Ok.


# 1.85 01-Oct-2000 rahnds

Now that powerpc has shared libraries, make certain that link.h and dlfcn.h
are created properly.


# 1.84 19-Sep-2000 deraadt

install netnatm includes; stoklund@cp.dyndns.dk


# 1.83 03-Sep-2000 espie

Boring... Add :L modifier to all tweakable variables tests.

Closes PR 1246


# 1.82 20-Aug-2000 millert

login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.


Revision tags: OPENBSD_2_7_BASE
# 1.81 10-Mar-2000 niklas

A more normal way of building kerberos, faster, and it works with SUDO


# 1.80 29-Feb-2000 deraadt

install crypto headers


# 1.79 25-Feb-2000 hin

Include files for KerberosIV have moved.
(ok art@)


# 1.78 23-Feb-2000 itojun

add getifaddrs(3), from bsdi4.
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.


# 1.77 19-Feb-2000 deraadt

do not install /usr/include/dev/microcode/


# 1.76 20-Nov-1999 espie

Generate g2c.h at prereq stage.
Install it under /usr/include


Revision tags: OPENBSD_2_6_BASE
# 1.75 05-Oct-1999 beck

get httpd in WDIRS as well as the prereq dirs.


# 1.74 05-Oct-1999 beck

add httpd to includes target so apache includes get grabbed.


# 1.73 27-Sep-1999 beck

remove /usr/include/openssl link before making it.


# 1.72 27-Sep-1999 deraadt

openssl -> ssl


# 1.71 24-Sep-1999 espie

stdbool.h conforming to C9X


# 1.70 01-Jul-1999 deraadt

install miscfs includes too


# 1.69 24-Jun-1999 espie

Slight goof, repair symlinks target (noted by David Leonard)


# 1.68 22-Jun-1999 art

install uvm includes


# 1.67 29-May-1999 angelos

Add libkeynote target for includes


# 1.66 26-May-1999 espie

Link in egcs, kill gcc and libg++


# 1.65 18-May-1999 espie

Change include links shennannigans to make more sense,
so that machine -> i386, and not the other way around,
or, for arches such as amiga/m68k, make amiga & m68k true directories
and let machine -> amiga.


# 1.64 09-May-1999 millert

c++ clasess for ncurses


Revision tags: OPENBSD_2_5_BASE
# 1.63 29-Mar-1999 rahnds

powerpc does not support shared libraries and thus should not ship
link.h or dlfcn.h


# 1.62 09-Mar-1999 niklas

Some style issues, make stuff neded before depend be built by beforedepend.
Also make them prereq in the case of make includes


# 1.61 02-Mar-1999 niklas

Provide a method to do prerequisites needed before
installation of includes can happen. Do these before and not run via ${SUDO}.


# 1.60 26-Feb-1999 deraadt

skipjack in libc; isakmpd and such will want it


# 1.59 12-Feb-1999 millert

add old dbm-compatible interface from db-1.86 with minor changes by me (needs a man page)


# 1.58 01-Feb-1999 d

add libc_r


# 1.57 08-Jan-1999 deraadt

install netinet6 include files


Revision tags: OPENBSD_2_4_BASE
# 1.56 07-Oct-1998 deraadt

install /usr/include/ssl/


# 1.55 07-Sep-1998 art

install the xfs includes


# 1.54 23-Jul-1998 millert

curses.h frontend


# 1.53 21-Jul-1998 provos

Add CAST encryption, implementation by Steve Reid <sreid@sea-to-sky.net>.
Man pages will come soon, I hope.


# 1.52 17-Jul-1998 espie

. is a regex.


# 1.51 07-Jul-1998 art

do not install includes from libss


# 1.50 25-Jun-1998 deraadt

install isofs headers, we need them


# 1.49 07-Jun-1998 millert

add gnu/lib/libgmp to WDIR for includes


# 1.48 04-May-1998 provos

make includes for libossaudio


Revision tags: OPENBSD_2_3_BASE
# 1.47 03-Mar-1998 niklas

Dive into libg++ and gcc on includes


Revision tags: OPENBSD_2_2_BASE
# 1.46 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.45 17-Aug-1997 millert

basename(3) and dirname(3) as specified by XPG4 and XPG4.2


# 1.44 23-Jul-1997 denny

add netatalk


# 1.43 17-Jul-1997 millert

mdX(3)-like interface to RIPEMD-160 hash function. Code by
Antoon Bosselaers and massaged by me to fit the mdX(3) API.


# 1.42 29-Jun-1997 provos

relocated header files


# 1.41 30-May-1997 downsj

Don't ref gnu/ext2fs.


Revision tags: OPENBSD_2_1_BASE
# 1.40 27-Apr-1997 millert

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.


# 1.39 19-Apr-1997 millert

Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''
Same change doen for SKEY, YP, and KERBEROS5. This allows
people to override those setting in /etc/mk.conf.


# 1.38 27-Feb-1997 downsj

Add libwrap.


# 1.37 13-Feb-1997 provos

blf.h headerfile install


# 1.36 03-Feb-1997 millert

Back out stringlist


# 1.35 02-Feb-1997 millert

From NetBSD (lukem and christos):
A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.34 22-Dec-1996 deraadt

nope, ss is wrong


# 1.33 19-Dec-1996 etheisen

Create include/ss.


# 1.32 08-Dec-1996 downsj

cookie cookie COOKIE.. oh, sorry..
install -> ${INSTALL}, -c -> ${COPY}


# 1.31 16-Nov-1996 downsj

Fix more libss stuff.


# 1.30 15-Nov-1996 downsj

Move libss to the main tree.


# 1.29 11-Nov-1996 downsj

Move libcom_err out of Kerberos, change include location.


# 1.28 05-Nov-1996 downsj

install gnu/ext2fs


# 1.27 27-Oct-1996 etheisen

OLF.


Revision tags: OPENBSD_2_0_BASE
# 1.26 06-Oct-1996 pefo

Fix dlfcn.h and link.h for arc port


# 1.25 29-Sep-1996 millert

removed md2.h


# 1.24 29-Sep-1996 millert

Added sha1 (secure hash function).


# 1.23 27-Sep-1996 millert

includes in skey dir get installed too.


# 1.22 05-Sep-1996 pefo

standard link.h and dlfcn.h not very useful on mips


# 1.21 16-Aug-1996 mickey

netipx.


# 1.20 16-Aug-1996 downsj

Add libcompat.


# 1.19 27-Jul-1996 tholo

Integrate zlib v1.0.3


# 1.18 24-Jul-1996 mickey

install /sys/scsi in /usr/include/scsi


# 1.17 24-Jul-1996 downsj

regexp.h no longer lives here.


# 1.16 19-Jun-1996 deraadt

util.h no longer here


# 1.15 12-Jun-1996 deraadt

add /sbin/scsi from FreeBSD -- a good start!


# 1.14 11-Jun-1996 deraadt

also do includes in libpcap and arch/${MACHINE}


# 1.13 10-Jun-1996 deraadt

libedit has an includes target too


# 1.12 03-Jun-1996 niklas

Forgot to handle the md?.h include files in here


# 1.11 02-Jun-1996 deraadt

../lib/libmenu not ../libmenu


# 1.10 02-Jun-1996 tholo

Include in some more directories


# 1.9 02-Jun-1996 tholo

Recurse into a few more select directories on "make includes"


# 1.8 22-May-1996 deraadt

libutil


# 1.7 06-May-1996 deraadt

hard-code the include installation path (mostly for speed)


# 1.6 01-May-1996 deraadt

realinstall -> includes


# 1.5 18-Apr-1996 mickey

Add /sys/ddb to be installed in /usr/include.


# 1.4 21-Feb-1996 niklas

From NetBSD:
Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


# 1.3 15-Feb-1996 etheisen

Install elf_abi.h in /usr/include.


# 1.2 24-Oct-1995 deraadt

install curses.h from src/include


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.227 26-Oct-2020 martijn

Hook up agentx.h.

OK deraadt@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.226 14-Nov-2019 djm

RDIRS for libcbor and libfido2


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.225 06-Apr-2019 jsg

unbreak make includes on non-clang archs after libobjc removal
found the hard way by nayden@ ok deraadt@


# 1.224 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


# 1.223 04-Feb-2019 jsg

enable libelf


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.222 17-Oct-2017 mpi

<elf.h> should make it easier to port our ELF-related tools to other Unices.

For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.

ok deraadt@, jasper@, naddy@


# 1.221 15-Oct-2017 guenther

Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread. No changes
to the content

ok mpi@


# 1.220 06-Oct-2017 naddy

Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@


Revision tags: OPENBSD_6_2_BASE
# 1.219 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.218 12-Mar-2017 guenther

<struct.h> is unused and should not be used. Delete it.

ok millert@ deraadt@ kettenis@


# 1.217 27-Jan-2017 jsg

install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@


# 1.216 12-Nov-2016 jca

Kill the /usr/include/ssl symlink

Proposed some time ago by tedu@, builk build by ajacoutot@


# 1.215 08-Nov-2016 tb

Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.

ok millert


# 1.214 16-Oct-2016 tb

Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.

Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.

Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.

help, testing & ok deraadt, input from natano, further testing rpe


# 1.213 23-Sep-2016 sthen

Unhook sqlite3.


Revision tags: OPENBSD_6_0_BASE
# 1.212 07-May-2016 tedu

remove dbm.h


# 1.211 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


# 1.210 09-Mar-2016 deraadt

We are done providing support for the vax.
lots of agreement.


Revision tags: OPENBSD_5_9_BASE
# 1.209 20-Jan-2016 jasper

After nearly 20 years of warning that malloc.h is obsolete, it's about time we
actually remove this header. It was originally added for ports, which is
malloc.h-free now.

additional ports bulk by aja@
ok bently@ dcoppa@ millert@ sthen@


# 1.208 18-Nov-2015 tedu

add icdb.h here (this header may go away entirely, but the functions
need to live somewhere in the meantime.)


# 1.207 14-Nov-2015 deraadt

libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm


# 1.206 27-Sep-2015 kettenis

Stop installing any header files in /usr/include/dev/pci/drm.
Userland should get these from /usr/X11R6/include/libdrm.

ok deraadt@ (and suggested by jsg@)


# 1.205 14-Sep-2015 guenther

Revert: finger slip


# 1.204 14-Sep-2015 guenther

Prefer the standardized <poll.h> over <sys/poll.h>


# 1.203 09-Sep-2015 guenther

Stop exporting from libc the <mpool.h> and the mpool_* API

ports scan by sthen@


Revision tags: OPENBSD_5_8_BASE
# 1.202 23-Jul-2015 yasuoka

Build and install libradius as default.

ok deraadt


# 1.201 17-Mar-2015 millert

Remove obsolete copy of tzfile.h. It is an internal tzcode header
that should never have been installed.


Revision tags: OPENBSD_5_7_BASE
# 1.200 18-Feb-2015 sthen

Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@


# 1.199 16-Feb-2015 tedu

stop deleting the openssl include directory, causing unnecessary rebuilds.
ok jca sthen


# 1.198 17-Jan-2015 tedu

remove des.h. it somehow escaped from ssleay into /usr/include, but none
of the functions prototyped here exist in libc, making it useless.


# 1.197 08-Dec-2014 tedu

header changes for recent libc changes:
add siphash
delete setkey, encrypt, cfree


# 1.196 31-Oct-2014 jsing

Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.


# 1.195 16-Sep-2014 matthieu

Missed this sendmail reference in the sendmail removal


# 1.194 31-Aug-2014 miod

Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via
Markus Mueller.


Revision tags: OPENBSD_5_6_BASE
# 1.193 14-Jul-2014 deraadt

enter libressl for make includes


# 1.192 12-Jul-2014 guenther

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162

if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*

ok deraadt@


# 1.191 11-Jul-2014 tedu

stop installing netbt headers


# 1.190 12-May-2014 espie

move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.


# 1.189 22-Apr-2014 reyk

Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).

ok deraadt@


# 1.188 19-Apr-2014 henning

stop installing altq includes


# 1.187 11-Apr-2014 miod

Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.

ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.


# 1.186 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.185 24-Mar-2014 kettenis

unbreak the tree; no more libwrap


# 1.184 23-Mar-2014 tedu

more bm excision


# 1.183 23-Mar-2014 naddy

Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

ok deraadt@, man pages ok jmc@


# 1.182 13-Mar-2014 florian

Unhook httpd(8) from build
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@
"The time is right." and much help getting the show on
the road deraadt@


Revision tags: OPENBSD_5_5_BASE
# 1.181 08-Dec-2013 naddy

remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@


# 1.180 05-Dec-2013 deraadt

oops, sgtty.h stays for a little longer


# 1.179 04-Dec-2013 deraadt

express final disapproval of the interfaces in libcompat, such as
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]


# 1.178 03-Nov-2013 sthen

Install fuse headers in 'make includes', diff from stsp@, ok guenther@
Committing now to unbreak ports builds (gvfs fails without, which knocks
out building much of the tree.)


# 1.177 19-Oct-2013 deraadt

Remove more knowledge of a.out and stab information from the tree.
ok miod


# 1.176 29-Sep-2013 deraadt

remove bogus comment


# 1.175 24-Aug-2013 jsg

netnatm is no more


# 1.174 12-Aug-2013 kettenis

Make sure we don't install the private radeondrm(4) headers, by leaving out
headers from any subdirectory of dev/pci/drm. If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.

ok mpi@, miod@


# 1.173 10-Aug-2013 ajacoutot

libkafs5->libkafs ; forgotten in previous


# 1.172 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.171 19-Jun-2013 robert

unlink libheimntlm and libhx509


# 1.170 17-Jun-2013 robert

switch to new kerberosV directory layout


# 1.169 21-Mar-2013 deraadt

Do not install the dev/pci/drm/i915 directory to /usr/include


# 1.168 18-Mar-2013 deraadt

forget about this for now; wait till later


# 1.167 18-Mar-2013 deraadt

Skip another irrelevant leaf when descending into sys/dev
ok kettenis


Revision tags: OPENBSD_5_3_BASE
# 1.166 23-Aug-2012 deraadt

do not install the nnpfs directory


Revision tags: OPENBSD_5_2_BASE
# 1.165 28-Jun-2012 guenther

librthread has eaten libpthread, so build includes via the former instead
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed

discussed with deraadt@


# 1.164 26-Jun-2012 deraadt

create new machine/_float.h which is namespace clean. create a new
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.


# 1.163 19-Jun-2012 espie

simplify includes prereq/req order:
- everything that has prereq will also do includes, add it late, so that
gnu stuff (the only part with prereq) happens late.
- new RUN_MAKE snippet, to be able to have the makefile magically decide
between Makefile.bsd-wrapper and Makefile.

So there's no longer any need to remember complicated rules: add it to
RDIRS if it just wants make includes, add it to PRDIRS if it wants prereq too,
and that's all.

okay deraadt@, miod@


# 1.162 22-Apr-2012 espie

enable sqlite3, as prompted by theo


# 1.161 21-Mar-2012 matthew

Implement execvpe(3) and posix_spawn(3) and family. Based on
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.

ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.160 09-Jul-2011 henning

stop installing netatalk headers


# 1.159 08-Jul-2011 martynas

Add support for tgmath--the type-generic math; now that both math
and complex math routines are complete. OK kettenis@.


# 1.158 28-Apr-2011 martynas

- enable fenv
- add nearbyint, nearbyintf and nearbyintl implemented using fenv


Revision tags: OPENBSD_4_9_BASE
# 1.157 28-Oct-2010 mikeb

remove skipjack and cast from the libc; ok deraadt


# 1.156 17-Oct-2010 djm

unlink libsectok from the build; ok markus@ deraadt@


Revision tags: OPENBSD_4_8_BASE
# 1.155 25-May-2010 espie

unlink g77 from the build.
as discussed with Theo, so that he can synch set.

(eventual gcc2 fallout to fix later)


# 1.154 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_7_BASE
# 1.153 03-Feb-2010 miod

MACHINE_ARCH -> MACHINE_CPU when applicable.

** it is necessary to update make(1) before building now **


Revision tags: OPENBSD_4_6_BASE
# 1.152 24-Jun-2009 millert

Install ntfs includes and add libkvm (fstat) support. ntfs bits
adapted from NetBSD fstat. OK deraadt@


# 1.151 20-Jun-2009 millert

Install msdosfs includes; ok krw@


# 1.150 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.149 21-Apr-2009 ratchov

move src/lib/libsndio/sndio.h into src/include where other include
files leave.

requested by deraadt@, ok miod@


Revision tags: OPENBSD_4_5_BASE
# 1.148 27-Oct-2008 ratchov

rename libsa to libsndio
requested by many, "just go for it" deraadt@


# 1.147 26-Oct-2008 espie

no cookie for ratchov, committed things without running make build.


# 1.146 07-Sep-2008 martynas

- replace dtoa w/ David's gdtoa, version 2008-03-15
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support. added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c. could be more acruate
& faster, but it's good enough for now)
- remove wrappers & cruft in libm, supposed to work-around mistakes
in SVID, etc.; use ieee versions. fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h & gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes


# 1.145 22-Aug-2008 kettenis

Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.

If ports people really need libbfd or libopcodes, they should just
package a suitable version.

ok weingart@, deraadt@


Revision tags: OPENBSD_4_4_BASE
# 1.144 04-Jun-2008 deraadt

olf support starts to die (easy stuff first); ok miod


# 1.143 23-Apr-2008 norby

Import MPLS (Multi Protocol Label Switching)

MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.

It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.

Imported to allow more people to work on this in the coming weeks.

ok claudio@ laurent@ dlg@


# 1.142 22-Mar-2008 matthieu

Get rid of 3 extra leading spaces. ok deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.141 19-Oct-2007 deraadt

install includes from libexpat


Revision tags: OPENBSD_4_2_BASE
# 1.140 06-Jun-2007 deraadt

no longer make include/netipx dir


Revision tags: OPENBSD_4_1_BASE
# 1.139 13-Feb-2007 espie

remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script
still rebuilds a copy of that file, and we check it for diffs.

okay millert@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.138 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


# 1.137 28-Dec-2005 millert

Split off the non-kernel visible portion of sys/errno.h into a
separate errno.h. sys/errno.h now only contains errno values (which
is included byerrno.h). OK deraadt@


# 1.136 27-Sep-2005 deraadt

use xargs -r0 for our build process


Revision tags: OPENBSD_3_8_BASE
# 1.135 10-Jul-2005 grange

Install netbt/ includes.

ok henning@


# 1.134 17-Jun-2005 henning

don't install netns includes any longer, ports bulk build test by pval


# 1.133 07-Jun-2005 henning

-netccitt/


# 1.132 28-Apr-2005 espie

also use new libobjc on old architectures, since it builds fine with
gcc 2.95.

tests and okay miod@, marc@.


# 1.131 18-Apr-2005 millert

rm libcurses++


# 1.130 14-Apr-2005 espie

introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.


Revision tags: OPENBSD_3_7_BASE
# 1.129 20-Oct-2004 fgsch

install net80211 headers; millert and deraadt ok.


Revision tags: OPENBSD_3_6_BASE
# 1.128 15-Jul-2004 henning

do not install netiso header files, millert deraadt ok


# 1.127 29-Jun-2004 millert

make includes in gnu/usr.sbin/sendmail/libmilter


# 1.126 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.125 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.124 01-Mar-2004 drahn

Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@


# 1.123 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.122 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


Revision tags: OPENBSD_3_4_BASE
# 1.121 21-Jul-2003 millert

Need ftw.h for ftw(3) and nftw(3)


# 1.120 15-Jul-2003 deraadt

do not enter libcom_err


# 1.119 14-Jul-2003 mho

Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, David Krause, ...


# 1.118 02-Jun-2003 markus

swap /usr/include/openssl and /usr/include/ssl, clean up the Makefiles
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@


# 1.117 14-May-2003 mho

Remove krb4 support.


# 1.116 09-May-2003 millert

Install sha2.h


Revision tags: OPENBSD_3_3_BASE
# 1.115 20-Jan-2003 marc

install includes from libpthread, not libc_r


# 1.114 03-Dec-2002 miod

Intall getopt.h in /usr/include as well.


Revision tags: OPENBSD_3_2_BASE
# 1.113 03-Sep-2002 markus

build OpenSSL without symlink trees:
* manpage related things moved to src/libssl/man/Makefile
* there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead
of one single src/libssl/obj
* instead of running Configure (with generates lots of symlinks, and
opensslconf.h) this patch stores pre-computed opensslconf.h files
in src/libssl/crypto/arch
* requires a make includes before the library can be built
* libssl and libcrypto can be build separately
(e.g. cd src/libssl/ssl && make obj && make)
* make depend is now supported
* no more symlink trees
tested by miod@ and fries@


# 1.112 16-Jun-2002 naddy

install headers from libevent; ok miod@


# 1.111 09-Jun-2002 itojun

backout previous


# 1.110 09-Jun-2002 itojun

pax -s <regex> is botched, don't use it.


# 1.109 07-Jun-2002 drahn

Switch powerpc to using new split (aout/elf) link.h


# 1.108 07-Jun-2002 art

split link.h into three parts. The MI parts are left in link.h
a.out stuff in link_aout.h and ELF stuff in link_elf.h.
Switch sparc64 back to MI link.h.
drahn@ ok (powerpc will switch soon).


# 1.107 05-Jun-2002 art

Don't use MI dlfcn.h that are identical to the MD one.


# 1.106 02-Jun-2002 deraadt

no argh. we should doc these targets better


# 1.105 02-Jun-2002 deraadt

put libssl in PRDIRS instead; andre@ae-35.com


# 1.104 01-Jun-2002 deraadt

we do not need this to be Makefile.bsd-wrapper


# 1.103 08-May-2002 espie

includes should be installed during `make include', not later.
Fixes this for lex and binutils' bfd.

Also, do not install ansidecl.h, we don't really need it, bfd.h uses it,
and we installed it so that bfd worked, so let bfd.h include it directly.

prompted by mickey@


Revision tags: OPENBSD_3_1_BASE
# 1.102 08-Apr-2002 fgsch

install link.h and dlfcn.h from sys/arch/sparc64/include.


# 1.101 18-Feb-2002 mickey

netiso/xebec no more


# 1.100 30-Dec-2001 pvalchev

libusb -> libusbhid


# 1.99 06-Nov-2001 deraadt

no more vm in LDIRS


Revision tags: OPENBSD_3_0_BASE
# 1.98 03-Sep-2001 deraadt

how did ../lib/libusb not get added? Bad developers


# 1.97 31-Jul-2001 deraadt

we talked about libsectok having an include target a couple of times....


# 1.96 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


# 1.95 27-Jun-2001 deraadt

Why was a very large chunk of code commited to the source tree without
checking if a make build of the entire system still works? How many
other parts of the tree are now not going to build? All development
has not stopped until this is fixed.


# 1.94 26-Jun-2001 hin

Install kerberosV includefiles


# 1.93 13-Jun-2001 art

Simplify.


# 1.92 31-May-2001 art

Install link.h and dlfcn.h on alpha.


# 1.91 14-May-2001 espie

Speed-up:
- remove extra subshells;
- use exec on terminal commands, avoiding dangling shells that don't
control anything.

More correct:
- use && some more;
- remove `-' in front of includes, so that failures WILL fail...

Okay millert@, deraadt@


Revision tags: OPENBSD_2_9_BASE
# 1.90 18-Mar-2001 millert

Build gnu/lib/libreadline and use it instead of the one currently
in the binutils dir.


# 1.89 02-Mar-2001 espie

Add ohash_* functions to libc.
Ok'd deraadt@, millert@


# 1.88 18-Dec-2000 brad

*cough*someone forgot to remove libgmp*cough*


# 1.87 21-Nov-2000 millert

Add references to new files.


Revision tags: OPENBSD_2_8_BASE
# 1.86 10-Oct-2000 hugh

Don't install ieeefp.h on vax. derradt Ok.


# 1.85 01-Oct-2000 rahnds

Now that powerpc has shared libraries, make certain that link.h and dlfcn.h
are created properly.


# 1.84 19-Sep-2000 deraadt

install netnatm includes; stoklund@cp.dyndns.dk


# 1.83 03-Sep-2000 espie

Boring... Add :L modifier to all tweakable variables tests.

Closes PR 1246


# 1.82 20-Aug-2000 millert

login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.


Revision tags: OPENBSD_2_7_BASE
# 1.81 10-Mar-2000 niklas

A more normal way of building kerberos, faster, and it works with SUDO


# 1.80 29-Feb-2000 deraadt

install crypto headers


# 1.79 25-Feb-2000 hin

Include files for KerberosIV have moved.
(ok art@)


# 1.78 23-Feb-2000 itojun

add getifaddrs(3), from bsdi4.
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.


# 1.77 19-Feb-2000 deraadt

do not install /usr/include/dev/microcode/


# 1.76 20-Nov-1999 espie

Generate g2c.h at prereq stage.
Install it under /usr/include


Revision tags: OPENBSD_2_6_BASE
# 1.75 05-Oct-1999 beck

get httpd in WDIRS as well as the prereq dirs.


# 1.74 05-Oct-1999 beck

add httpd to includes target so apache includes get grabbed.


# 1.73 27-Sep-1999 beck

remove /usr/include/openssl link before making it.


# 1.72 27-Sep-1999 deraadt

openssl -> ssl


# 1.71 24-Sep-1999 espie

stdbool.h conforming to C9X


# 1.70 01-Jul-1999 deraadt

install miscfs includes too


# 1.69 24-Jun-1999 espie

Slight goof, repair symlinks target (noted by David Leonard)


# 1.68 22-Jun-1999 art

install uvm includes


# 1.67 29-May-1999 angelos

Add libkeynote target for includes


# 1.66 26-May-1999 espie

Link in egcs, kill gcc and libg++


# 1.65 18-May-1999 espie

Change include links shennannigans to make more sense,
so that machine -> i386, and not the other way around,
or, for arches such as amiga/m68k, make amiga & m68k true directories
and let machine -> amiga.


# 1.64 09-May-1999 millert

c++ clasess for ncurses


Revision tags: OPENBSD_2_5_BASE
# 1.63 29-Mar-1999 rahnds

powerpc does not support shared libraries and thus should not ship
link.h or dlfcn.h


# 1.62 09-Mar-1999 niklas

Some style issues, make stuff neded before depend be built by beforedepend.
Also make them prereq in the case of make includes


# 1.61 02-Mar-1999 niklas

Provide a method to do prerequisites needed before
installation of includes can happen. Do these before and not run via ${SUDO}.


# 1.60 26-Feb-1999 deraadt

skipjack in libc; isakmpd and such will want it


# 1.59 12-Feb-1999 millert

add old dbm-compatible interface from db-1.86 with minor changes by me (needs a man page)


# 1.58 01-Feb-1999 d

add libc_r


# 1.57 08-Jan-1999 deraadt

install netinet6 include files


Revision tags: OPENBSD_2_4_BASE
# 1.56 07-Oct-1998 deraadt

install /usr/include/ssl/


# 1.55 07-Sep-1998 art

install the xfs includes


# 1.54 23-Jul-1998 millert

curses.h frontend


# 1.53 21-Jul-1998 provos

Add CAST encryption, implementation by Steve Reid <sreid@sea-to-sky.net>.
Man pages will come soon, I hope.


# 1.52 17-Jul-1998 espie

. is a regex.


# 1.51 07-Jul-1998 art

do not install includes from libss


# 1.50 25-Jun-1998 deraadt

install isofs headers, we need them


# 1.49 07-Jun-1998 millert

add gnu/lib/libgmp to WDIR for includes


# 1.48 04-May-1998 provos

make includes for libossaudio


Revision tags: OPENBSD_2_3_BASE
# 1.47 03-Mar-1998 niklas

Dive into libg++ and gcc on includes


Revision tags: OPENBSD_2_2_BASE
# 1.46 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.45 17-Aug-1997 millert

basename(3) and dirname(3) as specified by XPG4 and XPG4.2


# 1.44 23-Jul-1997 denny

add netatalk


# 1.43 17-Jul-1997 millert

mdX(3)-like interface to RIPEMD-160 hash function. Code by
Antoon Bosselaers and massaged by me to fit the mdX(3) API.


# 1.42 29-Jun-1997 provos

relocated header files


# 1.41 30-May-1997 downsj

Don't ref gnu/ext2fs.


Revision tags: OPENBSD_2_1_BASE
# 1.40 27-Apr-1997 millert

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.


# 1.39 19-Apr-1997 millert

Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''
Same change doen for SKEY, YP, and KERBEROS5. This allows
people to override those setting in /etc/mk.conf.


# 1.38 27-Feb-1997 downsj

Add libwrap.


# 1.37 13-Feb-1997 provos

blf.h headerfile install


# 1.36 03-Feb-1997 millert

Back out stringlist


# 1.35 02-Feb-1997 millert

From NetBSD (lukem and christos):
A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.34 22-Dec-1996 deraadt

nope, ss is wrong


# 1.33 19-Dec-1996 etheisen

Create include/ss.


# 1.32 08-Dec-1996 downsj

cookie cookie COOKIE.. oh, sorry..
install -> ${INSTALL}, -c -> ${COPY}


# 1.31 16-Nov-1996 downsj

Fix more libss stuff.


# 1.30 15-Nov-1996 downsj

Move libss to the main tree.


# 1.29 11-Nov-1996 downsj

Move libcom_err out of Kerberos, change include location.


# 1.28 05-Nov-1996 downsj

install gnu/ext2fs


# 1.27 27-Oct-1996 etheisen

OLF.


Revision tags: OPENBSD_2_0_BASE
# 1.26 06-Oct-1996 pefo

Fix dlfcn.h and link.h for arc port


# 1.25 29-Sep-1996 millert

removed md2.h


# 1.24 29-Sep-1996 millert

Added sha1 (secure hash function).


# 1.23 27-Sep-1996 millert

includes in skey dir get installed too.


# 1.22 05-Sep-1996 pefo

standard link.h and dlfcn.h not very useful on mips


# 1.21 16-Aug-1996 mickey

netipx.


# 1.20 16-Aug-1996 downsj

Add libcompat.


# 1.19 27-Jul-1996 tholo

Integrate zlib v1.0.3


# 1.18 24-Jul-1996 mickey

install /sys/scsi in /usr/include/scsi


# 1.17 24-Jul-1996 downsj

regexp.h no longer lives here.


# 1.16 19-Jun-1996 deraadt

util.h no longer here


# 1.15 12-Jun-1996 deraadt

add /sbin/scsi from FreeBSD -- a good start!


# 1.14 11-Jun-1996 deraadt

also do includes in libpcap and arch/${MACHINE}


# 1.13 10-Jun-1996 deraadt

libedit has an includes target too


# 1.12 03-Jun-1996 niklas

Forgot to handle the md?.h include files in here


# 1.11 02-Jun-1996 deraadt

../lib/libmenu not ../libmenu


# 1.10 02-Jun-1996 tholo

Include in some more directories


# 1.9 02-Jun-1996 tholo

Recurse into a few more select directories on "make includes"


# 1.8 22-May-1996 deraadt

libutil


# 1.7 06-May-1996 deraadt

hard-code the include installation path (mostly for speed)


# 1.6 01-May-1996 deraadt

realinstall -> includes


# 1.5 18-Apr-1996 mickey

Add /sys/ddb to be installed in /usr/include.


# 1.4 21-Feb-1996 niklas

From NetBSD:
Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


# 1.3 15-Feb-1996 etheisen

Install elf_abi.h in /usr/include.


# 1.2 24-Oct-1995 deraadt

install curses.h from src/include


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.226 14-Nov-2019 djm

RDIRS for libcbor and libfido2


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.225 06-Apr-2019 jsg

unbreak make includes on non-clang archs after libobjc removal
found the hard way by nayden@ ok deraadt@


# 1.224 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


# 1.223 04-Feb-2019 jsg

enable libelf


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.222 17-Oct-2017 mpi

<elf.h> should make it easier to port our ELF-related tools to other Unices.

For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.

ok deraadt@, jasper@, naddy@


# 1.221 15-Oct-2017 guenther

Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread. No changes
to the content

ok mpi@


# 1.220 06-Oct-2017 naddy

Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@


Revision tags: OPENBSD_6_2_BASE
# 1.219 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.218 12-Mar-2017 guenther

<struct.h> is unused and should not be used. Delete it.

ok millert@ deraadt@ kettenis@


# 1.217 27-Jan-2017 jsg

install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@


# 1.216 12-Nov-2016 jca

Kill the /usr/include/ssl symlink

Proposed some time ago by tedu@, builk build by ajacoutot@


# 1.215 08-Nov-2016 tb

Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.

ok millert


# 1.214 16-Oct-2016 tb

Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.

Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.

Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.

help, testing & ok deraadt, input from natano, further testing rpe


# 1.213 23-Sep-2016 sthen

Unhook sqlite3.


Revision tags: OPENBSD_6_0_BASE
# 1.212 07-May-2016 tedu

remove dbm.h


# 1.211 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


# 1.210 09-Mar-2016 deraadt

We are done providing support for the vax.
lots of agreement.


Revision tags: OPENBSD_5_9_BASE
# 1.209 20-Jan-2016 jasper

After nearly 20 years of warning that malloc.h is obsolete, it's about time we
actually remove this header. It was originally added for ports, which is
malloc.h-free now.

additional ports bulk by aja@
ok bently@ dcoppa@ millert@ sthen@


# 1.208 18-Nov-2015 tedu

add icdb.h here (this header may go away entirely, but the functions
need to live somewhere in the meantime.)


# 1.207 14-Nov-2015 deraadt

libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm


# 1.206 27-Sep-2015 kettenis

Stop installing any header files in /usr/include/dev/pci/drm.
Userland should get these from /usr/X11R6/include/libdrm.

ok deraadt@ (and suggested by jsg@)


# 1.205 14-Sep-2015 guenther

Revert: finger slip


# 1.204 14-Sep-2015 guenther

Prefer the standardized <poll.h> over <sys/poll.h>


# 1.203 09-Sep-2015 guenther

Stop exporting from libc the <mpool.h> and the mpool_* API

ports scan by sthen@


Revision tags: OPENBSD_5_8_BASE
# 1.202 23-Jul-2015 yasuoka

Build and install libradius as default.

ok deraadt


# 1.201 17-Mar-2015 millert

Remove obsolete copy of tzfile.h. It is an internal tzcode header
that should never have been installed.


Revision tags: OPENBSD_5_7_BASE
# 1.200 18-Feb-2015 sthen

Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@


# 1.199 16-Feb-2015 tedu

stop deleting the openssl include directory, causing unnecessary rebuilds.
ok jca sthen


# 1.198 17-Jan-2015 tedu

remove des.h. it somehow escaped from ssleay into /usr/include, but none
of the functions prototyped here exist in libc, making it useless.


# 1.197 08-Dec-2014 tedu

header changes for recent libc changes:
add siphash
delete setkey, encrypt, cfree


# 1.196 31-Oct-2014 jsing

Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.


# 1.195 16-Sep-2014 matthieu

Missed this sendmail reference in the sendmail removal


# 1.194 31-Aug-2014 miod

Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via
Markus Mueller.


Revision tags: OPENBSD_5_6_BASE
# 1.193 14-Jul-2014 deraadt

enter libressl for make includes


# 1.192 12-Jul-2014 guenther

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162

if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*

ok deraadt@


# 1.191 11-Jul-2014 tedu

stop installing netbt headers


# 1.190 12-May-2014 espie

move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.


# 1.189 22-Apr-2014 reyk

Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).

ok deraadt@


# 1.188 19-Apr-2014 henning

stop installing altq includes


# 1.187 11-Apr-2014 miod

Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.

ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.


# 1.186 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.185 24-Mar-2014 kettenis

unbreak the tree; no more libwrap


# 1.184 23-Mar-2014 tedu

more bm excision


# 1.183 23-Mar-2014 naddy

Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

ok deraadt@, man pages ok jmc@


# 1.182 13-Mar-2014 florian

Unhook httpd(8) from build
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@
"The time is right." and much help getting the show on
the road deraadt@


Revision tags: OPENBSD_5_5_BASE
# 1.181 08-Dec-2013 naddy

remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@


# 1.180 05-Dec-2013 deraadt

oops, sgtty.h stays for a little longer


# 1.179 04-Dec-2013 deraadt

express final disapproval of the interfaces in libcompat, such as
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]


# 1.178 03-Nov-2013 sthen

Install fuse headers in 'make includes', diff from stsp@, ok guenther@
Committing now to unbreak ports builds (gvfs fails without, which knocks
out building much of the tree.)


# 1.177 19-Oct-2013 deraadt

Remove more knowledge of a.out and stab information from the tree.
ok miod


# 1.176 29-Sep-2013 deraadt

remove bogus comment


# 1.175 24-Aug-2013 jsg

netnatm is no more


# 1.174 12-Aug-2013 kettenis

Make sure we don't install the private radeondrm(4) headers, by leaving out
headers from any subdirectory of dev/pci/drm. If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.

ok mpi@, miod@


# 1.173 10-Aug-2013 ajacoutot

libkafs5->libkafs ; forgotten in previous


# 1.172 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.171 19-Jun-2013 robert

unlink libheimntlm and libhx509


# 1.170 17-Jun-2013 robert

switch to new kerberosV directory layout


# 1.169 21-Mar-2013 deraadt

Do not install the dev/pci/drm/i915 directory to /usr/include


# 1.168 18-Mar-2013 deraadt

forget about this for now; wait till later


# 1.167 18-Mar-2013 deraadt

Skip another irrelevant leaf when descending into sys/dev
ok kettenis


Revision tags: OPENBSD_5_3_BASE
# 1.166 23-Aug-2012 deraadt

do not install the nnpfs directory


Revision tags: OPENBSD_5_2_BASE
# 1.165 28-Jun-2012 guenther

librthread has eaten libpthread, so build includes via the former instead
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed

discussed with deraadt@


# 1.164 26-Jun-2012 deraadt

create new machine/_float.h which is namespace clean. create a new
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.


# 1.163 19-Jun-2012 espie

simplify includes prereq/req order:
- everything that has prereq will also do includes, add it late, so that
gnu stuff (the only part with prereq) happens late.
- new RUN_MAKE snippet, to be able to have the makefile magically decide
between Makefile.bsd-wrapper and Makefile.

So there's no longer any need to remember complicated rules: add it to
RDIRS if it just wants make includes, add it to PRDIRS if it wants prereq too,
and that's all.

okay deraadt@, miod@


# 1.162 22-Apr-2012 espie

enable sqlite3, as prompted by theo


# 1.161 21-Mar-2012 matthew

Implement execvpe(3) and posix_spawn(3) and family. Based on
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.

ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.160 09-Jul-2011 henning

stop installing netatalk headers


# 1.159 08-Jul-2011 martynas

Add support for tgmath--the type-generic math; now that both math
and complex math routines are complete. OK kettenis@.


# 1.158 28-Apr-2011 martynas

- enable fenv
- add nearbyint, nearbyintf and nearbyintl implemented using fenv


Revision tags: OPENBSD_4_9_BASE
# 1.157 28-Oct-2010 mikeb

remove skipjack and cast from the libc; ok deraadt


# 1.156 17-Oct-2010 djm

unlink libsectok from the build; ok markus@ deraadt@


Revision tags: OPENBSD_4_8_BASE
# 1.155 25-May-2010 espie

unlink g77 from the build.
as discussed with Theo, so that he can synch set.

(eventual gcc2 fallout to fix later)


# 1.154 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_7_BASE
# 1.153 03-Feb-2010 miod

MACHINE_ARCH -> MACHINE_CPU when applicable.

** it is necessary to update make(1) before building now **


Revision tags: OPENBSD_4_6_BASE
# 1.152 24-Jun-2009 millert

Install ntfs includes and add libkvm (fstat) support. ntfs bits
adapted from NetBSD fstat. OK deraadt@


# 1.151 20-Jun-2009 millert

Install msdosfs includes; ok krw@


# 1.150 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.149 21-Apr-2009 ratchov

move src/lib/libsndio/sndio.h into src/include where other include
files leave.

requested by deraadt@, ok miod@


Revision tags: OPENBSD_4_5_BASE
# 1.148 27-Oct-2008 ratchov

rename libsa to libsndio
requested by many, "just go for it" deraadt@


# 1.147 26-Oct-2008 espie

no cookie for ratchov, committed things without running make build.


# 1.146 07-Sep-2008 martynas

- replace dtoa w/ David's gdtoa, version 2008-03-15
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support. added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c. could be more acruate
& faster, but it's good enough for now)
- remove wrappers & cruft in libm, supposed to work-around mistakes
in SVID, etc.; use ieee versions. fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h & gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes


# 1.145 22-Aug-2008 kettenis

Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.

If ports people really need libbfd or libopcodes, they should just
package a suitable version.

ok weingart@, deraadt@


Revision tags: OPENBSD_4_4_BASE
# 1.144 04-Jun-2008 deraadt

olf support starts to die (easy stuff first); ok miod


# 1.143 23-Apr-2008 norby

Import MPLS (Multi Protocol Label Switching)

MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.

It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.

Imported to allow more people to work on this in the coming weeks.

ok claudio@ laurent@ dlg@


# 1.142 22-Mar-2008 matthieu

Get rid of 3 extra leading spaces. ok deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.141 19-Oct-2007 deraadt

install includes from libexpat


Revision tags: OPENBSD_4_2_BASE
# 1.140 06-Jun-2007 deraadt

no longer make include/netipx dir


Revision tags: OPENBSD_4_1_BASE
# 1.139 13-Feb-2007 espie

remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script
still rebuilds a copy of that file, and we check it for diffs.

okay millert@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.138 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


# 1.137 28-Dec-2005 millert

Split off the non-kernel visible portion of sys/errno.h into a
separate errno.h. sys/errno.h now only contains errno values (which
is included byerrno.h). OK deraadt@


# 1.136 27-Sep-2005 deraadt

use xargs -r0 for our build process


Revision tags: OPENBSD_3_8_BASE
# 1.135 10-Jul-2005 grange

Install netbt/ includes.

ok henning@


# 1.134 17-Jun-2005 henning

don't install netns includes any longer, ports bulk build test by pval


# 1.133 07-Jun-2005 henning

-netccitt/


# 1.132 28-Apr-2005 espie

also use new libobjc on old architectures, since it builds fine with
gcc 2.95.

tests and okay miod@, marc@.


# 1.131 18-Apr-2005 millert

rm libcurses++


# 1.130 14-Apr-2005 espie

introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.


Revision tags: OPENBSD_3_7_BASE
# 1.129 20-Oct-2004 fgsch

install net80211 headers; millert and deraadt ok.


Revision tags: OPENBSD_3_6_BASE
# 1.128 15-Jul-2004 henning

do not install netiso header files, millert deraadt ok


# 1.127 29-Jun-2004 millert

make includes in gnu/usr.sbin/sendmail/libmilter


# 1.126 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.125 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.124 01-Mar-2004 drahn

Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@


# 1.123 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.122 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


Revision tags: OPENBSD_3_4_BASE
# 1.121 21-Jul-2003 millert

Need ftw.h for ftw(3) and nftw(3)


# 1.120 15-Jul-2003 deraadt

do not enter libcom_err


# 1.119 14-Jul-2003 mho

Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, David Krause, ...


# 1.118 02-Jun-2003 markus

swap /usr/include/openssl and /usr/include/ssl, clean up the Makefiles
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@


# 1.117 14-May-2003 mho

Remove krb4 support.


# 1.116 09-May-2003 millert

Install sha2.h


Revision tags: OPENBSD_3_3_BASE
# 1.115 20-Jan-2003 marc

install includes from libpthread, not libc_r


# 1.114 03-Dec-2002 miod

Intall getopt.h in /usr/include as well.


Revision tags: OPENBSD_3_2_BASE
# 1.113 03-Sep-2002 markus

build OpenSSL without symlink trees:
* manpage related things moved to src/libssl/man/Makefile
* there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead
of one single src/libssl/obj
* instead of running Configure (with generates lots of symlinks, and
opensslconf.h) this patch stores pre-computed opensslconf.h files
in src/libssl/crypto/arch
* requires a make includes before the library can be built
* libssl and libcrypto can be build separately
(e.g. cd src/libssl/ssl && make obj && make)
* make depend is now supported
* no more symlink trees
tested by miod@ and fries@


# 1.112 16-Jun-2002 naddy

install headers from libevent; ok miod@


# 1.111 09-Jun-2002 itojun

backout previous


# 1.110 09-Jun-2002 itojun

pax -s <regex> is botched, don't use it.


# 1.109 07-Jun-2002 drahn

Switch powerpc to using new split (aout/elf) link.h


# 1.108 07-Jun-2002 art

split link.h into three parts. The MI parts are left in link.h
a.out stuff in link_aout.h and ELF stuff in link_elf.h.
Switch sparc64 back to MI link.h.
drahn@ ok (powerpc will switch soon).


# 1.107 05-Jun-2002 art

Don't use MI dlfcn.h that are identical to the MD one.


# 1.106 02-Jun-2002 deraadt

no argh. we should doc these targets better


# 1.105 02-Jun-2002 deraadt

put libssl in PRDIRS instead; andre@ae-35.com


# 1.104 01-Jun-2002 deraadt

we do not need this to be Makefile.bsd-wrapper


# 1.103 08-May-2002 espie

includes should be installed during `make include', not later.
Fixes this for lex and binutils' bfd.

Also, do not install ansidecl.h, we don't really need it, bfd.h uses it,
and we installed it so that bfd worked, so let bfd.h include it directly.

prompted by mickey@


Revision tags: OPENBSD_3_1_BASE
# 1.102 08-Apr-2002 fgsch

install link.h and dlfcn.h from sys/arch/sparc64/include.


# 1.101 18-Feb-2002 mickey

netiso/xebec no more


# 1.100 30-Dec-2001 pvalchev

libusb -> libusbhid


# 1.99 06-Nov-2001 deraadt

no more vm in LDIRS


Revision tags: OPENBSD_3_0_BASE
# 1.98 03-Sep-2001 deraadt

how did ../lib/libusb not get added? Bad developers


# 1.97 31-Jul-2001 deraadt

we talked about libsectok having an include target a couple of times....


# 1.96 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


# 1.95 27-Jun-2001 deraadt

Why was a very large chunk of code commited to the source tree without
checking if a make build of the entire system still works? How many
other parts of the tree are now not going to build? All development
has not stopped until this is fixed.


# 1.94 26-Jun-2001 hin

Install kerberosV includefiles


# 1.93 13-Jun-2001 art

Simplify.


# 1.92 31-May-2001 art

Install link.h and dlfcn.h on alpha.


# 1.91 14-May-2001 espie

Speed-up:
- remove extra subshells;
- use exec on terminal commands, avoiding dangling shells that don't
control anything.

More correct:
- use && some more;
- remove `-' in front of includes, so that failures WILL fail...

Okay millert@, deraadt@


Revision tags: OPENBSD_2_9_BASE
# 1.90 18-Mar-2001 millert

Build gnu/lib/libreadline and use it instead of the one currently
in the binutils dir.


# 1.89 02-Mar-2001 espie

Add ohash_* functions to libc.
Ok'd deraadt@, millert@


# 1.88 18-Dec-2000 brad

*cough*someone forgot to remove libgmp*cough*


# 1.87 21-Nov-2000 millert

Add references to new files.


Revision tags: OPENBSD_2_8_BASE
# 1.86 10-Oct-2000 hugh

Don't install ieeefp.h on vax. derradt Ok.


# 1.85 01-Oct-2000 rahnds

Now that powerpc has shared libraries, make certain that link.h and dlfcn.h
are created properly.


# 1.84 19-Sep-2000 deraadt

install netnatm includes; stoklund@cp.dyndns.dk


# 1.83 03-Sep-2000 espie

Boring... Add :L modifier to all tweakable variables tests.

Closes PR 1246


# 1.82 20-Aug-2000 millert

login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.


Revision tags: OPENBSD_2_7_BASE
# 1.81 10-Mar-2000 niklas

A more normal way of building kerberos, faster, and it works with SUDO


# 1.80 29-Feb-2000 deraadt

install crypto headers


# 1.79 25-Feb-2000 hin

Include files for KerberosIV have moved.
(ok art@)


# 1.78 23-Feb-2000 itojun

add getifaddrs(3), from bsdi4.
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.


# 1.77 19-Feb-2000 deraadt

do not install /usr/include/dev/microcode/


# 1.76 20-Nov-1999 espie

Generate g2c.h at prereq stage.
Install it under /usr/include


Revision tags: OPENBSD_2_6_BASE
# 1.75 05-Oct-1999 beck

get httpd in WDIRS as well as the prereq dirs.


# 1.74 05-Oct-1999 beck

add httpd to includes target so apache includes get grabbed.


# 1.73 27-Sep-1999 beck

remove /usr/include/openssl link before making it.


# 1.72 27-Sep-1999 deraadt

openssl -> ssl


# 1.71 24-Sep-1999 espie

stdbool.h conforming to C9X


# 1.70 01-Jul-1999 deraadt

install miscfs includes too


# 1.69 24-Jun-1999 espie

Slight goof, repair symlinks target (noted by David Leonard)


# 1.68 22-Jun-1999 art

install uvm includes


# 1.67 29-May-1999 angelos

Add libkeynote target for includes


# 1.66 26-May-1999 espie

Link in egcs, kill gcc and libg++


# 1.65 18-May-1999 espie

Change include links shennannigans to make more sense,
so that machine -> i386, and not the other way around,
or, for arches such as amiga/m68k, make amiga & m68k true directories
and let machine -> amiga.


# 1.64 09-May-1999 millert

c++ clasess for ncurses


Revision tags: OPENBSD_2_5_BASE
# 1.63 29-Mar-1999 rahnds

powerpc does not support shared libraries and thus should not ship
link.h or dlfcn.h


# 1.62 09-Mar-1999 niklas

Some style issues, make stuff neded before depend be built by beforedepend.
Also make them prereq in the case of make includes


# 1.61 02-Mar-1999 niklas

Provide a method to do prerequisites needed before
installation of includes can happen. Do these before and not run via ${SUDO}.


# 1.60 26-Feb-1999 deraadt

skipjack in libc; isakmpd and such will want it


# 1.59 12-Feb-1999 millert

add old dbm-compatible interface from db-1.86 with minor changes by me (needs a man page)


# 1.58 01-Feb-1999 d

add libc_r


# 1.57 08-Jan-1999 deraadt

install netinet6 include files


Revision tags: OPENBSD_2_4_BASE
# 1.56 07-Oct-1998 deraadt

install /usr/include/ssl/


# 1.55 07-Sep-1998 art

install the xfs includes


# 1.54 23-Jul-1998 millert

curses.h frontend


# 1.53 21-Jul-1998 provos

Add CAST encryption, implementation by Steve Reid <sreid@sea-to-sky.net>.
Man pages will come soon, I hope.


# 1.52 17-Jul-1998 espie

. is a regex.


# 1.51 07-Jul-1998 art

do not install includes from libss


# 1.50 25-Jun-1998 deraadt

install isofs headers, we need them


# 1.49 07-Jun-1998 millert

add gnu/lib/libgmp to WDIR for includes


# 1.48 04-May-1998 provos

make includes for libossaudio


Revision tags: OPENBSD_2_3_BASE
# 1.47 03-Mar-1998 niklas

Dive into libg++ and gcc on includes


Revision tags: OPENBSD_2_2_BASE
# 1.46 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.45 17-Aug-1997 millert

basename(3) and dirname(3) as specified by XPG4 and XPG4.2


# 1.44 23-Jul-1997 denny

add netatalk


# 1.43 17-Jul-1997 millert

mdX(3)-like interface to RIPEMD-160 hash function. Code by
Antoon Bosselaers and massaged by me to fit the mdX(3) API.


# 1.42 29-Jun-1997 provos

relocated header files


# 1.41 30-May-1997 downsj

Don't ref gnu/ext2fs.


Revision tags: OPENBSD_2_1_BASE
# 1.40 27-Apr-1997 millert

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.


# 1.39 19-Apr-1997 millert

Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''
Same change doen for SKEY, YP, and KERBEROS5. This allows
people to override those setting in /etc/mk.conf.


# 1.38 27-Feb-1997 downsj

Add libwrap.


# 1.37 13-Feb-1997 provos

blf.h headerfile install


# 1.36 03-Feb-1997 millert

Back out stringlist


# 1.35 02-Feb-1997 millert

From NetBSD (lukem and christos):
A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.34 22-Dec-1996 deraadt

nope, ss is wrong


# 1.33 19-Dec-1996 etheisen

Create include/ss.


# 1.32 08-Dec-1996 downsj

cookie cookie COOKIE.. oh, sorry..
install -> ${INSTALL}, -c -> ${COPY}


# 1.31 16-Nov-1996 downsj

Fix more libss stuff.


# 1.30 15-Nov-1996 downsj

Move libss to the main tree.


# 1.29 11-Nov-1996 downsj

Move libcom_err out of Kerberos, change include location.


# 1.28 05-Nov-1996 downsj

install gnu/ext2fs


# 1.27 27-Oct-1996 etheisen

OLF.


Revision tags: OPENBSD_2_0_BASE
# 1.26 06-Oct-1996 pefo

Fix dlfcn.h and link.h for arc port


# 1.25 29-Sep-1996 millert

removed md2.h


# 1.24 29-Sep-1996 millert

Added sha1 (secure hash function).


# 1.23 27-Sep-1996 millert

includes in skey dir get installed too.


# 1.22 05-Sep-1996 pefo

standard link.h and dlfcn.h not very useful on mips


# 1.21 16-Aug-1996 mickey

netipx.


# 1.20 16-Aug-1996 downsj

Add libcompat.


# 1.19 27-Jul-1996 tholo

Integrate zlib v1.0.3


# 1.18 24-Jul-1996 mickey

install /sys/scsi in /usr/include/scsi


# 1.17 24-Jul-1996 downsj

regexp.h no longer lives here.


# 1.16 19-Jun-1996 deraadt

util.h no longer here


# 1.15 12-Jun-1996 deraadt

add /sbin/scsi from FreeBSD -- a good start!


# 1.14 11-Jun-1996 deraadt

also do includes in libpcap and arch/${MACHINE}


# 1.13 10-Jun-1996 deraadt

libedit has an includes target too


# 1.12 03-Jun-1996 niklas

Forgot to handle the md?.h include files in here


# 1.11 02-Jun-1996 deraadt

../lib/libmenu not ../libmenu


# 1.10 02-Jun-1996 tholo

Include in some more directories


# 1.9 02-Jun-1996 tholo

Recurse into a few more select directories on "make includes"


# 1.8 22-May-1996 deraadt

libutil


# 1.7 06-May-1996 deraadt

hard-code the include installation path (mostly for speed)


# 1.6 01-May-1996 deraadt

realinstall -> includes


# 1.5 18-Apr-1996 mickey

Add /sys/ddb to be installed in /usr/include.


# 1.4 21-Feb-1996 niklas

From NetBSD:
Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


# 1.3 15-Feb-1996 etheisen

Install elf_abi.h in /usr/include.


# 1.2 24-Oct-1995 deraadt

install curses.h from src/include


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_5_BASE
# 1.225 06-Apr-2019 jsg

unbreak make includes on non-clang archs after libobjc removal
found the hard way by nayden@ ok deraadt@


# 1.224 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


# 1.223 04-Feb-2019 jsg

enable libelf


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.222 17-Oct-2017 mpi

<elf.h> should make it easier to port our ELF-related tools to other Unices.

For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.

ok deraadt@, jasper@, naddy@


# 1.221 15-Oct-2017 guenther

Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread. No changes
to the content

ok mpi@


# 1.220 06-Oct-2017 naddy

Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@


Revision tags: OPENBSD_6_2_BASE
# 1.219 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.218 12-Mar-2017 guenther

<struct.h> is unused and should not be used. Delete it.

ok millert@ deraadt@ kettenis@


# 1.217 27-Jan-2017 jsg

install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@


# 1.216 12-Nov-2016 jca

Kill the /usr/include/ssl symlink

Proposed some time ago by tedu@, builk build by ajacoutot@


# 1.215 08-Nov-2016 tb

Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.

ok millert


# 1.214 16-Oct-2016 tb

Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.

Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.

Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.

help, testing & ok deraadt, input from natano, further testing rpe


# 1.213 23-Sep-2016 sthen

Unhook sqlite3.


Revision tags: OPENBSD_6_0_BASE
# 1.212 07-May-2016 tedu

remove dbm.h


# 1.211 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


# 1.210 09-Mar-2016 deraadt

We are done providing support for the vax.
lots of agreement.


Revision tags: OPENBSD_5_9_BASE
# 1.209 20-Jan-2016 jasper

After nearly 20 years of warning that malloc.h is obsolete, it's about time we
actually remove this header. It was originally added for ports, which is
malloc.h-free now.

additional ports bulk by aja@
ok bently@ dcoppa@ millert@ sthen@


# 1.208 18-Nov-2015 tedu

add icdb.h here (this header may go away entirely, but the functions
need to live somewhere in the meantime.)


# 1.207 14-Nov-2015 deraadt

libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm


# 1.206 27-Sep-2015 kettenis

Stop installing any header files in /usr/include/dev/pci/drm.
Userland should get these from /usr/X11R6/include/libdrm.

ok deraadt@ (and suggested by jsg@)


# 1.205 14-Sep-2015 guenther

Revert: finger slip


# 1.204 14-Sep-2015 guenther

Prefer the standardized <poll.h> over <sys/poll.h>


# 1.203 09-Sep-2015 guenther

Stop exporting from libc the <mpool.h> and the mpool_* API

ports scan by sthen@


Revision tags: OPENBSD_5_8_BASE
# 1.202 23-Jul-2015 yasuoka

Build and install libradius as default.

ok deraadt


# 1.201 17-Mar-2015 millert

Remove obsolete copy of tzfile.h. It is an internal tzcode header
that should never have been installed.


Revision tags: OPENBSD_5_7_BASE
# 1.200 18-Feb-2015 sthen

Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@


# 1.199 16-Feb-2015 tedu

stop deleting the openssl include directory, causing unnecessary rebuilds.
ok jca sthen


# 1.198 17-Jan-2015 tedu

remove des.h. it somehow escaped from ssleay into /usr/include, but none
of the functions prototyped here exist in libc, making it useless.


# 1.197 08-Dec-2014 tedu

header changes for recent libc changes:
add siphash
delete setkey, encrypt, cfree


# 1.196 31-Oct-2014 jsing

Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.


# 1.195 16-Sep-2014 matthieu

Missed this sendmail reference in the sendmail removal


# 1.194 31-Aug-2014 miod

Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via
Markus Mueller.


Revision tags: OPENBSD_5_6_BASE
# 1.193 14-Jul-2014 deraadt

enter libressl for make includes


# 1.192 12-Jul-2014 guenther

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162

if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*

ok deraadt@


# 1.191 11-Jul-2014 tedu

stop installing netbt headers


# 1.190 12-May-2014 espie

move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.


# 1.189 22-Apr-2014 reyk

Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).

ok deraadt@


# 1.188 19-Apr-2014 henning

stop installing altq includes


# 1.187 11-Apr-2014 miod

Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.

ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.


# 1.186 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.185 24-Mar-2014 kettenis

unbreak the tree; no more libwrap


# 1.184 23-Mar-2014 tedu

more bm excision


# 1.183 23-Mar-2014 naddy

Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

ok deraadt@, man pages ok jmc@


# 1.182 13-Mar-2014 florian

Unhook httpd(8) from build
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@
"The time is right." and much help getting the show on
the road deraadt@


Revision tags: OPENBSD_5_5_BASE
# 1.181 08-Dec-2013 naddy

remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@


# 1.180 05-Dec-2013 deraadt

oops, sgtty.h stays for a little longer


# 1.179 04-Dec-2013 deraadt

express final disapproval of the interfaces in libcompat, such as
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]


# 1.178 03-Nov-2013 sthen

Install fuse headers in 'make includes', diff from stsp@, ok guenther@
Committing now to unbreak ports builds (gvfs fails without, which knocks
out building much of the tree.)


# 1.177 19-Oct-2013 deraadt

Remove more knowledge of a.out and stab information from the tree.
ok miod


# 1.176 29-Sep-2013 deraadt

remove bogus comment


# 1.175 24-Aug-2013 jsg

netnatm is no more


# 1.174 12-Aug-2013 kettenis

Make sure we don't install the private radeondrm(4) headers, by leaving out
headers from any subdirectory of dev/pci/drm. If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.

ok mpi@, miod@


# 1.173 10-Aug-2013 ajacoutot

libkafs5->libkafs ; forgotten in previous


# 1.172 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.171 19-Jun-2013 robert

unlink libheimntlm and libhx509


# 1.170 17-Jun-2013 robert

switch to new kerberosV directory layout


# 1.169 21-Mar-2013 deraadt

Do not install the dev/pci/drm/i915 directory to /usr/include


# 1.168 18-Mar-2013 deraadt

forget about this for now; wait till later


# 1.167 18-Mar-2013 deraadt

Skip another irrelevant leaf when descending into sys/dev
ok kettenis


Revision tags: OPENBSD_5_3_BASE
# 1.166 23-Aug-2012 deraadt

do not install the nnpfs directory


Revision tags: OPENBSD_5_2_BASE
# 1.165 28-Jun-2012 guenther

librthread has eaten libpthread, so build includes via the former instead
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed

discussed with deraadt@


# 1.164 26-Jun-2012 deraadt

create new machine/_float.h which is namespace clean. create a new
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.


# 1.163 19-Jun-2012 espie

simplify includes prereq/req order:
- everything that has prereq will also do includes, add it late, so that
gnu stuff (the only part with prereq) happens late.
- new RUN_MAKE snippet, to be able to have the makefile magically decide
between Makefile.bsd-wrapper and Makefile.

So there's no longer any need to remember complicated rules: add it to
RDIRS if it just wants make includes, add it to PRDIRS if it wants prereq too,
and that's all.

okay deraadt@, miod@


# 1.162 22-Apr-2012 espie

enable sqlite3, as prompted by theo


# 1.161 21-Mar-2012 matthew

Implement execvpe(3) and posix_spawn(3) and family. Based on
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.

ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.160 09-Jul-2011 henning

stop installing netatalk headers


# 1.159 08-Jul-2011 martynas

Add support for tgmath--the type-generic math; now that both math
and complex math routines are complete. OK kettenis@.


# 1.158 28-Apr-2011 martynas

- enable fenv
- add nearbyint, nearbyintf and nearbyintl implemented using fenv


Revision tags: OPENBSD_4_9_BASE
# 1.157 28-Oct-2010 mikeb

remove skipjack and cast from the libc; ok deraadt


# 1.156 17-Oct-2010 djm

unlink libsectok from the build; ok markus@ deraadt@


Revision tags: OPENBSD_4_8_BASE
# 1.155 25-May-2010 espie

unlink g77 from the build.
as discussed with Theo, so that he can synch set.

(eventual gcc2 fallout to fix later)


# 1.154 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_7_BASE
# 1.153 03-Feb-2010 miod

MACHINE_ARCH -> MACHINE_CPU when applicable.

** it is necessary to update make(1) before building now **


Revision tags: OPENBSD_4_6_BASE
# 1.152 24-Jun-2009 millert

Install ntfs includes and add libkvm (fstat) support. ntfs bits
adapted from NetBSD fstat. OK deraadt@


# 1.151 20-Jun-2009 millert

Install msdosfs includes; ok krw@


# 1.150 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.149 21-Apr-2009 ratchov

move src/lib/libsndio/sndio.h into src/include where other include
files leave.

requested by deraadt@, ok miod@


Revision tags: OPENBSD_4_5_BASE
# 1.148 27-Oct-2008 ratchov

rename libsa to libsndio
requested by many, "just go for it" deraadt@


# 1.147 26-Oct-2008 espie

no cookie for ratchov, committed things without running make build.


# 1.146 07-Sep-2008 martynas

- replace dtoa w/ David's gdtoa, version 2008-03-15
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support. added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c. could be more acruate
& faster, but it's good enough for now)
- remove wrappers & cruft in libm, supposed to work-around mistakes
in SVID, etc.; use ieee versions. fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h & gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes


# 1.145 22-Aug-2008 kettenis

Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.

If ports people really need libbfd or libopcodes, they should just
package a suitable version.

ok weingart@, deraadt@


Revision tags: OPENBSD_4_4_BASE
# 1.144 04-Jun-2008 deraadt

olf support starts to die (easy stuff first); ok miod


# 1.143 23-Apr-2008 norby

Import MPLS (Multi Protocol Label Switching)

MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.

It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.

Imported to allow more people to work on this in the coming weeks.

ok claudio@ laurent@ dlg@


# 1.142 22-Mar-2008 matthieu

Get rid of 3 extra leading spaces. ok deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.141 19-Oct-2007 deraadt

install includes from libexpat


Revision tags: OPENBSD_4_2_BASE
# 1.140 06-Jun-2007 deraadt

no longer make include/netipx dir


Revision tags: OPENBSD_4_1_BASE
# 1.139 13-Feb-2007 espie

remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script
still rebuilds a copy of that file, and we check it for diffs.

okay millert@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.138 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


# 1.137 28-Dec-2005 millert

Split off the non-kernel visible portion of sys/errno.h into a
separate errno.h. sys/errno.h now only contains errno values (which
is included byerrno.h). OK deraadt@


# 1.136 27-Sep-2005 deraadt

use xargs -r0 for our build process


Revision tags: OPENBSD_3_8_BASE
# 1.135 10-Jul-2005 grange

Install netbt/ includes.

ok henning@


# 1.134 17-Jun-2005 henning

don't install netns includes any longer, ports bulk build test by pval


# 1.133 07-Jun-2005 henning

-netccitt/


# 1.132 28-Apr-2005 espie

also use new libobjc on old architectures, since it builds fine with
gcc 2.95.

tests and okay miod@, marc@.


# 1.131 18-Apr-2005 millert

rm libcurses++


# 1.130 14-Apr-2005 espie

introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.


Revision tags: OPENBSD_3_7_BASE
# 1.129 20-Oct-2004 fgsch

install net80211 headers; millert and deraadt ok.


Revision tags: OPENBSD_3_6_BASE
# 1.128 15-Jul-2004 henning

do not install netiso header files, millert deraadt ok


# 1.127 29-Jun-2004 millert

make includes in gnu/usr.sbin/sendmail/libmilter


# 1.126 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.125 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.124 01-Mar-2004 drahn

Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@


# 1.123 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.122 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


Revision tags: OPENBSD_3_4_BASE
# 1.121 21-Jul-2003 millert

Need ftw.h for ftw(3) and nftw(3)


# 1.120 15-Jul-2003 deraadt

do not enter libcom_err


# 1.119 14-Jul-2003 mho

Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, David Krause, ...


# 1.118 02-Jun-2003 markus

swap /usr/include/openssl and /usr/include/ssl, clean up the Makefiles
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@


# 1.117 14-May-2003 mho

Remove krb4 support.


# 1.116 09-May-2003 millert

Install sha2.h


Revision tags: OPENBSD_3_3_BASE
# 1.115 20-Jan-2003 marc

install includes from libpthread, not libc_r


# 1.114 03-Dec-2002 miod

Intall getopt.h in /usr/include as well.


Revision tags: OPENBSD_3_2_BASE
# 1.113 03-Sep-2002 markus

build OpenSSL without symlink trees:
* manpage related things moved to src/libssl/man/Makefile
* there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead
of one single src/libssl/obj
* instead of running Configure (with generates lots of symlinks, and
opensslconf.h) this patch stores pre-computed opensslconf.h files
in src/libssl/crypto/arch
* requires a make includes before the library can be built
* libssl and libcrypto can be build separately
(e.g. cd src/libssl/ssl && make obj && make)
* make depend is now supported
* no more symlink trees
tested by miod@ and fries@


# 1.112 16-Jun-2002 naddy

install headers from libevent; ok miod@


# 1.111 09-Jun-2002 itojun

backout previous


# 1.110 09-Jun-2002 itojun

pax -s <regex> is botched, don't use it.


# 1.109 07-Jun-2002 drahn

Switch powerpc to using new split (aout/elf) link.h


# 1.108 07-Jun-2002 art

split link.h into three parts. The MI parts are left in link.h
a.out stuff in link_aout.h and ELF stuff in link_elf.h.
Switch sparc64 back to MI link.h.
drahn@ ok (powerpc will switch soon).


# 1.107 05-Jun-2002 art

Don't use MI dlfcn.h that are identical to the MD one.


# 1.106 02-Jun-2002 deraadt

no argh. we should doc these targets better


# 1.105 02-Jun-2002 deraadt

put libssl in PRDIRS instead; andre@ae-35.com


# 1.104 01-Jun-2002 deraadt

we do not need this to be Makefile.bsd-wrapper


# 1.103 08-May-2002 espie

includes should be installed during `make include', not later.
Fixes this for lex and binutils' bfd.

Also, do not install ansidecl.h, we don't really need it, bfd.h uses it,
and we installed it so that bfd worked, so let bfd.h include it directly.

prompted by mickey@


Revision tags: OPENBSD_3_1_BASE
# 1.102 08-Apr-2002 fgsch

install link.h and dlfcn.h from sys/arch/sparc64/include.


# 1.101 18-Feb-2002 mickey

netiso/xebec no more


# 1.100 30-Dec-2001 pvalchev

libusb -> libusbhid


# 1.99 06-Nov-2001 deraadt

no more vm in LDIRS


Revision tags: OPENBSD_3_0_BASE
# 1.98 03-Sep-2001 deraadt

how did ../lib/libusb not get added? Bad developers


# 1.97 31-Jul-2001 deraadt

we talked about libsectok having an include target a couple of times....


# 1.96 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


# 1.95 27-Jun-2001 deraadt

Why was a very large chunk of code commited to the source tree without
checking if a make build of the entire system still works? How many
other parts of the tree are now not going to build? All development
has not stopped until this is fixed.


# 1.94 26-Jun-2001 hin

Install kerberosV includefiles


# 1.93 13-Jun-2001 art

Simplify.


# 1.92 31-May-2001 art

Install link.h and dlfcn.h on alpha.


# 1.91 14-May-2001 espie

Speed-up:
- remove extra subshells;
- use exec on terminal commands, avoiding dangling shells that don't
control anything.

More correct:
- use && some more;
- remove `-' in front of includes, so that failures WILL fail...

Okay millert@, deraadt@


Revision tags: OPENBSD_2_9_BASE
# 1.90 18-Mar-2001 millert

Build gnu/lib/libreadline and use it instead of the one currently
in the binutils dir.


# 1.89 02-Mar-2001 espie

Add ohash_* functions to libc.
Ok'd deraadt@, millert@


# 1.88 18-Dec-2000 brad

*cough*someone forgot to remove libgmp*cough*


# 1.87 21-Nov-2000 millert

Add references to new files.


Revision tags: OPENBSD_2_8_BASE
# 1.86 10-Oct-2000 hugh

Don't install ieeefp.h on vax. derradt Ok.


# 1.85 01-Oct-2000 rahnds

Now that powerpc has shared libraries, make certain that link.h and dlfcn.h
are created properly.


# 1.84 19-Sep-2000 deraadt

install netnatm includes; stoklund@cp.dyndns.dk


# 1.83 03-Sep-2000 espie

Boring... Add :L modifier to all tweakable variables tests.

Closes PR 1246


# 1.82 20-Aug-2000 millert

login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.


Revision tags: OPENBSD_2_7_BASE
# 1.81 10-Mar-2000 niklas

A more normal way of building kerberos, faster, and it works with SUDO


# 1.80 29-Feb-2000 deraadt

install crypto headers


# 1.79 25-Feb-2000 hin

Include files for KerberosIV have moved.
(ok art@)


# 1.78 23-Feb-2000 itojun

add getifaddrs(3), from bsdi4.
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.


# 1.77 19-Feb-2000 deraadt

do not install /usr/include/dev/microcode/


# 1.76 20-Nov-1999 espie

Generate g2c.h at prereq stage.
Install it under /usr/include


Revision tags: OPENBSD_2_6_BASE
# 1.75 05-Oct-1999 beck

get httpd in WDIRS as well as the prereq dirs.


# 1.74 05-Oct-1999 beck

add httpd to includes target so apache includes get grabbed.


# 1.73 27-Sep-1999 beck

remove /usr/include/openssl link before making it.


# 1.72 27-Sep-1999 deraadt

openssl -> ssl


# 1.71 24-Sep-1999 espie

stdbool.h conforming to C9X


# 1.70 01-Jul-1999 deraadt

install miscfs includes too


# 1.69 24-Jun-1999 espie

Slight goof, repair symlinks target (noted by David Leonard)


# 1.68 22-Jun-1999 art

install uvm includes


# 1.67 29-May-1999 angelos

Add libkeynote target for includes


# 1.66 26-May-1999 espie

Link in egcs, kill gcc and libg++


# 1.65 18-May-1999 espie

Change include links shennannigans to make more sense,
so that machine -> i386, and not the other way around,
or, for arches such as amiga/m68k, make amiga & m68k true directories
and let machine -> amiga.


# 1.64 09-May-1999 millert

c++ clasess for ncurses


Revision tags: OPENBSD_2_5_BASE
# 1.63 29-Mar-1999 rahnds

powerpc does not support shared libraries and thus should not ship
link.h or dlfcn.h


# 1.62 09-Mar-1999 niklas

Some style issues, make stuff neded before depend be built by beforedepend.
Also make them prereq in the case of make includes


# 1.61 02-Mar-1999 niklas

Provide a method to do prerequisites needed before
installation of includes can happen. Do these before and not run via ${SUDO}.


# 1.60 26-Feb-1999 deraadt

skipjack in libc; isakmpd and such will want it


# 1.59 12-Feb-1999 millert

add old dbm-compatible interface from db-1.86 with minor changes by me (needs a man page)


# 1.58 01-Feb-1999 d

add libc_r


# 1.57 08-Jan-1999 deraadt

install netinet6 include files


Revision tags: OPENBSD_2_4_BASE
# 1.56 07-Oct-1998 deraadt

install /usr/include/ssl/


# 1.55 07-Sep-1998 art

install the xfs includes


# 1.54 23-Jul-1998 millert

curses.h frontend


# 1.53 21-Jul-1998 provos

Add CAST encryption, implementation by Steve Reid <sreid@sea-to-sky.net>.
Man pages will come soon, I hope.


# 1.52 17-Jul-1998 espie

. is a regex.


# 1.51 07-Jul-1998 art

do not install includes from libss


# 1.50 25-Jun-1998 deraadt

install isofs headers, we need them


# 1.49 07-Jun-1998 millert

add gnu/lib/libgmp to WDIR for includes


# 1.48 04-May-1998 provos

make includes for libossaudio


Revision tags: OPENBSD_2_3_BASE
# 1.47 03-Mar-1998 niklas

Dive into libg++ and gcc on includes


Revision tags: OPENBSD_2_2_BASE
# 1.46 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.45 17-Aug-1997 millert

basename(3) and dirname(3) as specified by XPG4 and XPG4.2


# 1.44 23-Jul-1997 denny

add netatalk


# 1.43 17-Jul-1997 millert

mdX(3)-like interface to RIPEMD-160 hash function. Code by
Antoon Bosselaers and massaged by me to fit the mdX(3) API.


# 1.42 29-Jun-1997 provos

relocated header files


# 1.41 30-May-1997 downsj

Don't ref gnu/ext2fs.


Revision tags: OPENBSD_2_1_BASE
# 1.40 27-Apr-1997 millert

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.


# 1.39 19-Apr-1997 millert

Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''
Same change doen for SKEY, YP, and KERBEROS5. This allows
people to override those setting in /etc/mk.conf.


# 1.38 27-Feb-1997 downsj

Add libwrap.


# 1.37 13-Feb-1997 provos

blf.h headerfile install


# 1.36 03-Feb-1997 millert

Back out stringlist


# 1.35 02-Feb-1997 millert

From NetBSD (lukem and christos):
A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.34 22-Dec-1996 deraadt

nope, ss is wrong


# 1.33 19-Dec-1996 etheisen

Create include/ss.


# 1.32 08-Dec-1996 downsj

cookie cookie COOKIE.. oh, sorry..
install -> ${INSTALL}, -c -> ${COPY}


# 1.31 16-Nov-1996 downsj

Fix more libss stuff.


# 1.30 15-Nov-1996 downsj

Move libss to the main tree.


# 1.29 11-Nov-1996 downsj

Move libcom_err out of Kerberos, change include location.


# 1.28 05-Nov-1996 downsj

install gnu/ext2fs


# 1.27 27-Oct-1996 etheisen

OLF.


Revision tags: OPENBSD_2_0_BASE
# 1.26 06-Oct-1996 pefo

Fix dlfcn.h and link.h for arc port


# 1.25 29-Sep-1996 millert

removed md2.h


# 1.24 29-Sep-1996 millert

Added sha1 (secure hash function).


# 1.23 27-Sep-1996 millert

includes in skey dir get installed too.


# 1.22 05-Sep-1996 pefo

standard link.h and dlfcn.h not very useful on mips


# 1.21 16-Aug-1996 mickey

netipx.


# 1.20 16-Aug-1996 downsj

Add libcompat.


# 1.19 27-Jul-1996 tholo

Integrate zlib v1.0.3


# 1.18 24-Jul-1996 mickey

install /sys/scsi in /usr/include/scsi


# 1.17 24-Jul-1996 downsj

regexp.h no longer lives here.


# 1.16 19-Jun-1996 deraadt

util.h no longer here


# 1.15 12-Jun-1996 deraadt

add /sbin/scsi from FreeBSD -- a good start!


# 1.14 11-Jun-1996 deraadt

also do includes in libpcap and arch/${MACHINE}


# 1.13 10-Jun-1996 deraadt

libedit has an includes target too


# 1.12 03-Jun-1996 niklas

Forgot to handle the md?.h include files in here


# 1.11 02-Jun-1996 deraadt

../lib/libmenu not ../libmenu


# 1.10 02-Jun-1996 tholo

Include in some more directories


# 1.9 02-Jun-1996 tholo

Recurse into a few more select directories on "make includes"


# 1.8 22-May-1996 deraadt

libutil


# 1.7 06-May-1996 deraadt

hard-code the include installation path (mostly for speed)


# 1.6 01-May-1996 deraadt

realinstall -> includes


# 1.5 18-Apr-1996 mickey

Add /sys/ddb to be installed in /usr/include.


# 1.4 21-Feb-1996 niklas

From NetBSD:
Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


# 1.3 15-Feb-1996 etheisen

Install elf_abi.h in /usr/include.


# 1.2 24-Oct-1995 deraadt

install curses.h from src/include


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.224 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


# 1.223 04-Feb-2019 jsg

enable libelf


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.222 17-Oct-2017 mpi

<elf.h> should make it easier to port our ELF-related tools to other Unices.

For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.

ok deraadt@, jasper@, naddy@


# 1.221 15-Oct-2017 guenther

Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread. No changes
to the content

ok mpi@


# 1.220 06-Oct-2017 naddy

Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@


Revision tags: OPENBSD_6_2_BASE
# 1.219 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.218 12-Mar-2017 guenther

<struct.h> is unused and should not be used. Delete it.

ok millert@ deraadt@ kettenis@


# 1.217 27-Jan-2017 jsg

install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@


# 1.216 12-Nov-2016 jca

Kill the /usr/include/ssl symlink

Proposed some time ago by tedu@, builk build by ajacoutot@


# 1.215 08-Nov-2016 tb

Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.

ok millert


# 1.214 16-Oct-2016 tb

Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.

Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.

Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.

help, testing & ok deraadt, input from natano, further testing rpe


# 1.213 23-Sep-2016 sthen

Unhook sqlite3.


Revision tags: OPENBSD_6_0_BASE
# 1.212 07-May-2016 tedu

remove dbm.h


# 1.211 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


# 1.210 09-Mar-2016 deraadt

We are done providing support for the vax.
lots of agreement.


Revision tags: OPENBSD_5_9_BASE
# 1.209 20-Jan-2016 jasper

After nearly 20 years of warning that malloc.h is obsolete, it's about time we
actually remove this header. It was originally added for ports, which is
malloc.h-free now.

additional ports bulk by aja@
ok bently@ dcoppa@ millert@ sthen@


# 1.208 18-Nov-2015 tedu

add icdb.h here (this header may go away entirely, but the functions
need to live somewhere in the meantime.)


# 1.207 14-Nov-2015 deraadt

libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm


# 1.206 27-Sep-2015 kettenis

Stop installing any header files in /usr/include/dev/pci/drm.
Userland should get these from /usr/X11R6/include/libdrm.

ok deraadt@ (and suggested by jsg@)


# 1.205 14-Sep-2015 guenther

Revert: finger slip


# 1.204 14-Sep-2015 guenther

Prefer the standardized <poll.h> over <sys/poll.h>


# 1.203 09-Sep-2015 guenther

Stop exporting from libc the <mpool.h> and the mpool_* API

ports scan by sthen@


Revision tags: OPENBSD_5_8_BASE
# 1.202 23-Jul-2015 yasuoka

Build and install libradius as default.

ok deraadt


# 1.201 17-Mar-2015 millert

Remove obsolete copy of tzfile.h. It is an internal tzcode header
that should never have been installed.


Revision tags: OPENBSD_5_7_BASE
# 1.200 18-Feb-2015 sthen

Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@


# 1.199 16-Feb-2015 tedu

stop deleting the openssl include directory, causing unnecessary rebuilds.
ok jca sthen


# 1.198 17-Jan-2015 tedu

remove des.h. it somehow escaped from ssleay into /usr/include, but none
of the functions prototyped here exist in libc, making it useless.


# 1.197 08-Dec-2014 tedu

header changes for recent libc changes:
add siphash
delete setkey, encrypt, cfree


# 1.196 31-Oct-2014 jsing

Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.


# 1.195 16-Sep-2014 matthieu

Missed this sendmail reference in the sendmail removal


# 1.194 31-Aug-2014 miod

Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via
Markus Mueller.


Revision tags: OPENBSD_5_6_BASE
# 1.193 14-Jul-2014 deraadt

enter libressl for make includes


# 1.192 12-Jul-2014 guenther

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162

if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*

ok deraadt@


# 1.191 11-Jul-2014 tedu

stop installing netbt headers


# 1.190 12-May-2014 espie

move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.


# 1.189 22-Apr-2014 reyk

Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).

ok deraadt@


# 1.188 19-Apr-2014 henning

stop installing altq includes


# 1.187 11-Apr-2014 miod

Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.

ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.


# 1.186 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.185 24-Mar-2014 kettenis

unbreak the tree; no more libwrap


# 1.184 23-Mar-2014 tedu

more bm excision


# 1.183 23-Mar-2014 naddy

Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

ok deraadt@, man pages ok jmc@


# 1.182 13-Mar-2014 florian

Unhook httpd(8) from build
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@
"The time is right." and much help getting the show on
the road deraadt@


Revision tags: OPENBSD_5_5_BASE
# 1.181 08-Dec-2013 naddy

remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@


# 1.180 05-Dec-2013 deraadt

oops, sgtty.h stays for a little longer


# 1.179 04-Dec-2013 deraadt

express final disapproval of the interfaces in libcompat, such as
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]


# 1.178 03-Nov-2013 sthen

Install fuse headers in 'make includes', diff from stsp@, ok guenther@
Committing now to unbreak ports builds (gvfs fails without, which knocks
out building much of the tree.)


# 1.177 19-Oct-2013 deraadt

Remove more knowledge of a.out and stab information from the tree.
ok miod


# 1.176 29-Sep-2013 deraadt

remove bogus comment


# 1.175 24-Aug-2013 jsg

netnatm is no more


# 1.174 12-Aug-2013 kettenis

Make sure we don't install the private radeondrm(4) headers, by leaving out
headers from any subdirectory of dev/pci/drm. If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.

ok mpi@, miod@


# 1.173 10-Aug-2013 ajacoutot

libkafs5->libkafs ; forgotten in previous


# 1.172 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.171 19-Jun-2013 robert

unlink libheimntlm and libhx509


# 1.170 17-Jun-2013 robert

switch to new kerberosV directory layout


# 1.169 21-Mar-2013 deraadt

Do not install the dev/pci/drm/i915 directory to /usr/include


# 1.168 18-Mar-2013 deraadt

forget about this for now; wait till later


# 1.167 18-Mar-2013 deraadt

Skip another irrelevant leaf when descending into sys/dev
ok kettenis


Revision tags: OPENBSD_5_3_BASE
# 1.166 23-Aug-2012 deraadt

do not install the nnpfs directory


Revision tags: OPENBSD_5_2_BASE
# 1.165 28-Jun-2012 guenther

librthread has eaten libpthread, so build includes via the former instead
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed

discussed with deraadt@


# 1.164 26-Jun-2012 deraadt

create new machine/_float.h which is namespace clean. create a new
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.


# 1.163 19-Jun-2012 espie

simplify includes prereq/req order:
- everything that has prereq will also do includes, add it late, so that
gnu stuff (the only part with prereq) happens late.
- new RUN_MAKE snippet, to be able to have the makefile magically decide
between Makefile.bsd-wrapper and Makefile.

So there's no longer any need to remember complicated rules: add it to
RDIRS if it just wants make includes, add it to PRDIRS if it wants prereq too,
and that's all.

okay deraadt@, miod@


# 1.162 22-Apr-2012 espie

enable sqlite3, as prompted by theo


# 1.161 21-Mar-2012 matthew

Implement execvpe(3) and posix_spawn(3) and family. Based on
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.

ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.160 09-Jul-2011 henning

stop installing netatalk headers


# 1.159 08-Jul-2011 martynas

Add support for tgmath--the type-generic math; now that both math
and complex math routines are complete. OK kettenis@.


# 1.158 28-Apr-2011 martynas

- enable fenv
- add nearbyint, nearbyintf and nearbyintl implemented using fenv


Revision tags: OPENBSD_4_9_BASE
# 1.157 28-Oct-2010 mikeb

remove skipjack and cast from the libc; ok deraadt


# 1.156 17-Oct-2010 djm

unlink libsectok from the build; ok markus@ deraadt@


Revision tags: OPENBSD_4_8_BASE
# 1.155 25-May-2010 espie

unlink g77 from the build.
as discussed with Theo, so that he can synch set.

(eventual gcc2 fallout to fix later)


# 1.154 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_7_BASE
# 1.153 03-Feb-2010 miod

MACHINE_ARCH -> MACHINE_CPU when applicable.

** it is necessary to update make(1) before building now **


Revision tags: OPENBSD_4_6_BASE
# 1.152 24-Jun-2009 millert

Install ntfs includes and add libkvm (fstat) support. ntfs bits
adapted from NetBSD fstat. OK deraadt@


# 1.151 20-Jun-2009 millert

Install msdosfs includes; ok krw@


# 1.150 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.149 21-Apr-2009 ratchov

move src/lib/libsndio/sndio.h into src/include where other include
files leave.

requested by deraadt@, ok miod@


Revision tags: OPENBSD_4_5_BASE
# 1.148 27-Oct-2008 ratchov

rename libsa to libsndio
requested by many, "just go for it" deraadt@


# 1.147 26-Oct-2008 espie

no cookie for ratchov, committed things without running make build.


# 1.146 07-Sep-2008 martynas

- replace dtoa w/ David's gdtoa, version 2008-03-15
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support. added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c. could be more acruate
& faster, but it's good enough for now)
- remove wrappers & cruft in libm, supposed to work-around mistakes
in SVID, etc.; use ieee versions. fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h & gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes


# 1.145 22-Aug-2008 kettenis

Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.

If ports people really need libbfd or libopcodes, they should just
package a suitable version.

ok weingart@, deraadt@


Revision tags: OPENBSD_4_4_BASE
# 1.144 04-Jun-2008 deraadt

olf support starts to die (easy stuff first); ok miod


# 1.143 23-Apr-2008 norby

Import MPLS (Multi Protocol Label Switching)

MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.

It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.

Imported to allow more people to work on this in the coming weeks.

ok claudio@ laurent@ dlg@


# 1.142 22-Mar-2008 matthieu

Get rid of 3 extra leading spaces. ok deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.141 19-Oct-2007 deraadt

install includes from libexpat


Revision tags: OPENBSD_4_2_BASE
# 1.140 06-Jun-2007 deraadt

no longer make include/netipx dir


Revision tags: OPENBSD_4_1_BASE
# 1.139 13-Feb-2007 espie

remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script
still rebuilds a copy of that file, and we check it for diffs.

okay millert@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.138 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


# 1.137 28-Dec-2005 millert

Split off the non-kernel visible portion of sys/errno.h into a
separate errno.h. sys/errno.h now only contains errno values (which
is included byerrno.h). OK deraadt@


# 1.136 27-Sep-2005 deraadt

use xargs -r0 for our build process


Revision tags: OPENBSD_3_8_BASE
# 1.135 10-Jul-2005 grange

Install netbt/ includes.

ok henning@


# 1.134 17-Jun-2005 henning

don't install netns includes any longer, ports bulk build test by pval


# 1.133 07-Jun-2005 henning

-netccitt/


# 1.132 28-Apr-2005 espie

also use new libobjc on old architectures, since it builds fine with
gcc 2.95.

tests and okay miod@, marc@.


# 1.131 18-Apr-2005 millert

rm libcurses++


# 1.130 14-Apr-2005 espie

introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.


Revision tags: OPENBSD_3_7_BASE
# 1.129 20-Oct-2004 fgsch

install net80211 headers; millert and deraadt ok.


Revision tags: OPENBSD_3_6_BASE
# 1.128 15-Jul-2004 henning

do not install netiso header files, millert deraadt ok


# 1.127 29-Jun-2004 millert

make includes in gnu/usr.sbin/sendmail/libmilter


# 1.126 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.125 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.124 01-Mar-2004 drahn

Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@


# 1.123 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.122 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


Revision tags: OPENBSD_3_4_BASE
# 1.121 21-Jul-2003 millert

Need ftw.h for ftw(3) and nftw(3)


# 1.120 15-Jul-2003 deraadt

do not enter libcom_err


# 1.119 14-Jul-2003 mho

Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, David Krause, ...


# 1.118 02-Jun-2003 markus

swap /usr/include/openssl and /usr/include/ssl, clean up the Makefiles
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@


# 1.117 14-May-2003 mho

Remove krb4 support.


# 1.116 09-May-2003 millert

Install sha2.h


Revision tags: OPENBSD_3_3_BASE
# 1.115 20-Jan-2003 marc

install includes from libpthread, not libc_r


# 1.114 03-Dec-2002 miod

Intall getopt.h in /usr/include as well.


Revision tags: OPENBSD_3_2_BASE
# 1.113 03-Sep-2002 markus

build OpenSSL without symlink trees:
* manpage related things moved to src/libssl/man/Makefile
* there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead
of one single src/libssl/obj
* instead of running Configure (with generates lots of symlinks, and
opensslconf.h) this patch stores pre-computed opensslconf.h files
in src/libssl/crypto/arch
* requires a make includes before the library can be built
* libssl and libcrypto can be build separately
(e.g. cd src/libssl/ssl && make obj && make)
* make depend is now supported
* no more symlink trees
tested by miod@ and fries@


# 1.112 16-Jun-2002 naddy

install headers from libevent; ok miod@


# 1.111 09-Jun-2002 itojun

backout previous


# 1.110 09-Jun-2002 itojun

pax -s <regex> is botched, don't use it.


# 1.109 07-Jun-2002 drahn

Switch powerpc to using new split (aout/elf) link.h


# 1.108 07-Jun-2002 art

split link.h into three parts. The MI parts are left in link.h
a.out stuff in link_aout.h and ELF stuff in link_elf.h.
Switch sparc64 back to MI link.h.
drahn@ ok (powerpc will switch soon).


# 1.107 05-Jun-2002 art

Don't use MI dlfcn.h that are identical to the MD one.


# 1.106 02-Jun-2002 deraadt

no argh. we should doc these targets better


# 1.105 02-Jun-2002 deraadt

put libssl in PRDIRS instead; andre@ae-35.com


# 1.104 01-Jun-2002 deraadt

we do not need this to be Makefile.bsd-wrapper


# 1.103 08-May-2002 espie

includes should be installed during `make include', not later.
Fixes this for lex and binutils' bfd.

Also, do not install ansidecl.h, we don't really need it, bfd.h uses it,
and we installed it so that bfd worked, so let bfd.h include it directly.

prompted by mickey@


Revision tags: OPENBSD_3_1_BASE
# 1.102 08-Apr-2002 fgsch

install link.h and dlfcn.h from sys/arch/sparc64/include.


# 1.101 18-Feb-2002 mickey

netiso/xebec no more


# 1.100 30-Dec-2001 pvalchev

libusb -> libusbhid


# 1.99 06-Nov-2001 deraadt

no more vm in LDIRS


Revision tags: OPENBSD_3_0_BASE
# 1.98 03-Sep-2001 deraadt

how did ../lib/libusb not get added? Bad developers


# 1.97 31-Jul-2001 deraadt

we talked about libsectok having an include target a couple of times....


# 1.96 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


# 1.95 27-Jun-2001 deraadt

Why was a very large chunk of code commited to the source tree without
checking if a make build of the entire system still works? How many
other parts of the tree are now not going to build? All development
has not stopped until this is fixed.


# 1.94 26-Jun-2001 hin

Install kerberosV includefiles


# 1.93 13-Jun-2001 art

Simplify.


# 1.92 31-May-2001 art

Install link.h and dlfcn.h on alpha.


# 1.91 14-May-2001 espie

Speed-up:
- remove extra subshells;
- use exec on terminal commands, avoiding dangling shells that don't
control anything.

More correct:
- use && some more;
- remove `-' in front of includes, so that failures WILL fail...

Okay millert@, deraadt@


Revision tags: OPENBSD_2_9_BASE
# 1.90 18-Mar-2001 millert

Build gnu/lib/libreadline and use it instead of the one currently
in the binutils dir.


# 1.89 02-Mar-2001 espie

Add ohash_* functions to libc.
Ok'd deraadt@, millert@


# 1.88 18-Dec-2000 brad

*cough*someone forgot to remove libgmp*cough*


# 1.87 21-Nov-2000 millert

Add references to new files.


Revision tags: OPENBSD_2_8_BASE
# 1.86 10-Oct-2000 hugh

Don't install ieeefp.h on vax. derradt Ok.


# 1.85 01-Oct-2000 rahnds

Now that powerpc has shared libraries, make certain that link.h and dlfcn.h
are created properly.


# 1.84 19-Sep-2000 deraadt

install netnatm includes; stoklund@cp.dyndns.dk


# 1.83 03-Sep-2000 espie

Boring... Add :L modifier to all tweakable variables tests.

Closes PR 1246


# 1.82 20-Aug-2000 millert

login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.


Revision tags: OPENBSD_2_7_BASE
# 1.81 10-Mar-2000 niklas

A more normal way of building kerberos, faster, and it works with SUDO


# 1.80 29-Feb-2000 deraadt

install crypto headers


# 1.79 25-Feb-2000 hin

Include files for KerberosIV have moved.
(ok art@)


# 1.78 23-Feb-2000 itojun

add getifaddrs(3), from bsdi4.
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.


# 1.77 19-Feb-2000 deraadt

do not install /usr/include/dev/microcode/


# 1.76 20-Nov-1999 espie

Generate g2c.h at prereq stage.
Install it under /usr/include


Revision tags: OPENBSD_2_6_BASE
# 1.75 05-Oct-1999 beck

get httpd in WDIRS as well as the prereq dirs.


# 1.74 05-Oct-1999 beck

add httpd to includes target so apache includes get grabbed.


# 1.73 27-Sep-1999 beck

remove /usr/include/openssl link before making it.


# 1.72 27-Sep-1999 deraadt

openssl -> ssl


# 1.71 24-Sep-1999 espie

stdbool.h conforming to C9X


# 1.70 01-Jul-1999 deraadt

install miscfs includes too


# 1.69 24-Jun-1999 espie

Slight goof, repair symlinks target (noted by David Leonard)


# 1.68 22-Jun-1999 art

install uvm includes


# 1.67 29-May-1999 angelos

Add libkeynote target for includes


# 1.66 26-May-1999 espie

Link in egcs, kill gcc and libg++


# 1.65 18-May-1999 espie

Change include links shennannigans to make more sense,
so that machine -> i386, and not the other way around,
or, for arches such as amiga/m68k, make amiga & m68k true directories
and let machine -> amiga.


# 1.64 09-May-1999 millert

c++ clasess for ncurses


Revision tags: OPENBSD_2_5_BASE
# 1.63 29-Mar-1999 rahnds

powerpc does not support shared libraries and thus should not ship
link.h or dlfcn.h


# 1.62 09-Mar-1999 niklas

Some style issues, make stuff neded before depend be built by beforedepend.
Also make them prereq in the case of make includes


# 1.61 02-Mar-1999 niklas

Provide a method to do prerequisites needed before
installation of includes can happen. Do these before and not run via ${SUDO}.


# 1.60 26-Feb-1999 deraadt

skipjack in libc; isakmpd and such will want it


# 1.59 12-Feb-1999 millert

add old dbm-compatible interface from db-1.86 with minor changes by me (needs a man page)


# 1.58 01-Feb-1999 d

add libc_r


# 1.57 08-Jan-1999 deraadt

install netinet6 include files


Revision tags: OPENBSD_2_4_BASE
# 1.56 07-Oct-1998 deraadt

install /usr/include/ssl/


# 1.55 07-Sep-1998 art

install the xfs includes


# 1.54 23-Jul-1998 millert

curses.h frontend


# 1.53 21-Jul-1998 provos

Add CAST encryption, implementation by Steve Reid <sreid@sea-to-sky.net>.
Man pages will come soon, I hope.


# 1.52 17-Jul-1998 espie

. is a regex.


# 1.51 07-Jul-1998 art

do not install includes from libss


# 1.50 25-Jun-1998 deraadt

install isofs headers, we need them


# 1.49 07-Jun-1998 millert

add gnu/lib/libgmp to WDIR for includes


# 1.48 04-May-1998 provos

make includes for libossaudio


Revision tags: OPENBSD_2_3_BASE
# 1.47 03-Mar-1998 niklas

Dive into libg++ and gcc on includes


Revision tags: OPENBSD_2_2_BASE
# 1.46 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.45 17-Aug-1997 millert

basename(3) and dirname(3) as specified by XPG4 and XPG4.2


# 1.44 23-Jul-1997 denny

add netatalk


# 1.43 17-Jul-1997 millert

mdX(3)-like interface to RIPEMD-160 hash function. Code by
Antoon Bosselaers and massaged by me to fit the mdX(3) API.


# 1.42 29-Jun-1997 provos

relocated header files


# 1.41 30-May-1997 downsj

Don't ref gnu/ext2fs.


Revision tags: OPENBSD_2_1_BASE
# 1.40 27-Apr-1997 millert

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.


# 1.39 19-Apr-1997 millert

Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''
Same change doen for SKEY, YP, and KERBEROS5. This allows
people to override those setting in /etc/mk.conf.


# 1.38 27-Feb-1997 downsj

Add libwrap.


# 1.37 13-Feb-1997 provos

blf.h headerfile install


# 1.36 03-Feb-1997 millert

Back out stringlist


# 1.35 02-Feb-1997 millert

From NetBSD (lukem and christos):
A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.34 22-Dec-1996 deraadt

nope, ss is wrong


# 1.33 19-Dec-1996 etheisen

Create include/ss.


# 1.32 08-Dec-1996 downsj

cookie cookie COOKIE.. oh, sorry..
install -> ${INSTALL}, -c -> ${COPY}


# 1.31 16-Nov-1996 downsj

Fix more libss stuff.


# 1.30 15-Nov-1996 downsj

Move libss to the main tree.


# 1.29 11-Nov-1996 downsj

Move libcom_err out of Kerberos, change include location.


# 1.28 05-Nov-1996 downsj

install gnu/ext2fs


# 1.27 27-Oct-1996 etheisen

OLF.


Revision tags: OPENBSD_2_0_BASE
# 1.26 06-Oct-1996 pefo

Fix dlfcn.h and link.h for arc port


# 1.25 29-Sep-1996 millert

removed md2.h


# 1.24 29-Sep-1996 millert

Added sha1 (secure hash function).


# 1.23 27-Sep-1996 millert

includes in skey dir get installed too.


# 1.22 05-Sep-1996 pefo

standard link.h and dlfcn.h not very useful on mips


# 1.21 16-Aug-1996 mickey

netipx.


# 1.20 16-Aug-1996 downsj

Add libcompat.


# 1.19 27-Jul-1996 tholo

Integrate zlib v1.0.3


# 1.18 24-Jul-1996 mickey

install /sys/scsi in /usr/include/scsi


# 1.17 24-Jul-1996 downsj

regexp.h no longer lives here.


# 1.16 19-Jun-1996 deraadt

util.h no longer here


# 1.15 12-Jun-1996 deraadt

add /sbin/scsi from FreeBSD -- a good start!


# 1.14 11-Jun-1996 deraadt

also do includes in libpcap and arch/${MACHINE}


# 1.13 10-Jun-1996 deraadt

libedit has an includes target too


# 1.12 03-Jun-1996 niklas

Forgot to handle the md?.h include files in here


# 1.11 02-Jun-1996 deraadt

../lib/libmenu not ../libmenu


# 1.10 02-Jun-1996 tholo

Include in some more directories


# 1.9 02-Jun-1996 tholo

Recurse into a few more select directories on "make includes"


# 1.8 22-May-1996 deraadt

libutil


# 1.7 06-May-1996 deraadt

hard-code the include installation path (mostly for speed)


# 1.6 01-May-1996 deraadt

realinstall -> includes


# 1.5 18-Apr-1996 mickey

Add /sys/ddb to be installed in /usr/include.


# 1.4 21-Feb-1996 niklas

From NetBSD:
Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


# 1.3 15-Feb-1996 etheisen

Install elf_abi.h in /usr/include.


# 1.2 24-Oct-1995 deraadt

install curses.h from src/include


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.223 04-Feb-2019 jsg

enable libelf


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.222 17-Oct-2017 mpi

<elf.h> should make it easier to port our ELF-related tools to other Unices.

For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.

ok deraadt@, jasper@, naddy@


# 1.221 15-Oct-2017 guenther

Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread. No changes
to the content

ok mpi@


# 1.220 06-Oct-2017 naddy

Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@


Revision tags: OPENBSD_6_2_BASE
# 1.219 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.218 12-Mar-2017 guenther

<struct.h> is unused and should not be used. Delete it.

ok millert@ deraadt@ kettenis@


# 1.217 27-Jan-2017 jsg

install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@


# 1.216 12-Nov-2016 jca

Kill the /usr/include/ssl symlink

Proposed some time ago by tedu@, builk build by ajacoutot@


# 1.215 08-Nov-2016 tb

Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.

ok millert


# 1.214 16-Oct-2016 tb

Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.

Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.

Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.

help, testing & ok deraadt, input from natano, further testing rpe


# 1.213 23-Sep-2016 sthen

Unhook sqlite3.


Revision tags: OPENBSD_6_0_BASE
# 1.212 07-May-2016 tedu

remove dbm.h


# 1.211 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


# 1.210 09-Mar-2016 deraadt

We are done providing support for the vax.
lots of agreement.


Revision tags: OPENBSD_5_9_BASE
# 1.209 20-Jan-2016 jasper

After nearly 20 years of warning that malloc.h is obsolete, it's about time we
actually remove this header. It was originally added for ports, which is
malloc.h-free now.

additional ports bulk by aja@
ok bently@ dcoppa@ millert@ sthen@


# 1.208 18-Nov-2015 tedu

add icdb.h here (this header may go away entirely, but the functions
need to live somewhere in the meantime.)


# 1.207 14-Nov-2015 deraadt

libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm


# 1.206 27-Sep-2015 kettenis

Stop installing any header files in /usr/include/dev/pci/drm.
Userland should get these from /usr/X11R6/include/libdrm.

ok deraadt@ (and suggested by jsg@)


# 1.205 14-Sep-2015 guenther

Revert: finger slip


# 1.204 14-Sep-2015 guenther

Prefer the standardized <poll.h> over <sys/poll.h>


# 1.203 09-Sep-2015 guenther

Stop exporting from libc the <mpool.h> and the mpool_* API

ports scan by sthen@


Revision tags: OPENBSD_5_8_BASE
# 1.202 23-Jul-2015 yasuoka

Build and install libradius as default.

ok deraadt


# 1.201 17-Mar-2015 millert

Remove obsolete copy of tzfile.h. It is an internal tzcode header
that should never have been installed.


Revision tags: OPENBSD_5_7_BASE
# 1.200 18-Feb-2015 sthen

Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@


# 1.199 16-Feb-2015 tedu

stop deleting the openssl include directory, causing unnecessary rebuilds.
ok jca sthen


# 1.198 17-Jan-2015 tedu

remove des.h. it somehow escaped from ssleay into /usr/include, but none
of the functions prototyped here exist in libc, making it useless.


# 1.197 08-Dec-2014 tedu

header changes for recent libc changes:
add siphash
delete setkey, encrypt, cfree


# 1.196 31-Oct-2014 jsing

Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.


# 1.195 16-Sep-2014 matthieu

Missed this sendmail reference in the sendmail removal


# 1.194 31-Aug-2014 miod

Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via
Markus Mueller.


Revision tags: OPENBSD_5_6_BASE
# 1.193 14-Jul-2014 deraadt

enter libressl for make includes


# 1.192 12-Jul-2014 guenther

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162

if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*

ok deraadt@


# 1.191 11-Jul-2014 tedu

stop installing netbt headers


# 1.190 12-May-2014 espie

move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.


# 1.189 22-Apr-2014 reyk

Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).

ok deraadt@


# 1.188 19-Apr-2014 henning

stop installing altq includes


# 1.187 11-Apr-2014 miod

Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.

ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.


# 1.186 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.185 24-Mar-2014 kettenis

unbreak the tree; no more libwrap


# 1.184 23-Mar-2014 tedu

more bm excision


# 1.183 23-Mar-2014 naddy

Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

ok deraadt@, man pages ok jmc@


# 1.182 13-Mar-2014 florian

Unhook httpd(8) from build
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@
"The time is right." and much help getting the show on
the road deraadt@


Revision tags: OPENBSD_5_5_BASE
# 1.181 08-Dec-2013 naddy

remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@


# 1.180 05-Dec-2013 deraadt

oops, sgtty.h stays for a little longer


# 1.179 04-Dec-2013 deraadt

express final disapproval of the interfaces in libcompat, such as
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]


# 1.178 03-Nov-2013 sthen

Install fuse headers in 'make includes', diff from stsp@, ok guenther@
Committing now to unbreak ports builds (gvfs fails without, which knocks
out building much of the tree.)


# 1.177 19-Oct-2013 deraadt

Remove more knowledge of a.out and stab information from the tree.
ok miod


# 1.176 29-Sep-2013 deraadt

remove bogus comment


# 1.175 24-Aug-2013 jsg

netnatm is no more


# 1.174 12-Aug-2013 kettenis

Make sure we don't install the private radeondrm(4) headers, by leaving out
headers from any subdirectory of dev/pci/drm. If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.

ok mpi@, miod@


# 1.173 10-Aug-2013 ajacoutot

libkafs5->libkafs ; forgotten in previous


# 1.172 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.171 19-Jun-2013 robert

unlink libheimntlm and libhx509


# 1.170 17-Jun-2013 robert

switch to new kerberosV directory layout


# 1.169 21-Mar-2013 deraadt

Do not install the dev/pci/drm/i915 directory to /usr/include


# 1.168 18-Mar-2013 deraadt

forget about this for now; wait till later


# 1.167 18-Mar-2013 deraadt

Skip another irrelevant leaf when descending into sys/dev
ok kettenis


Revision tags: OPENBSD_5_3_BASE
# 1.166 23-Aug-2012 deraadt

do not install the nnpfs directory


Revision tags: OPENBSD_5_2_BASE
# 1.165 28-Jun-2012 guenther

librthread has eaten libpthread, so build includes via the former instead
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed

discussed with deraadt@


# 1.164 26-Jun-2012 deraadt

create new machine/_float.h which is namespace clean. create a new
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.


# 1.163 19-Jun-2012 espie

simplify includes prereq/req order:
- everything that has prereq will also do includes, add it late, so that
gnu stuff (the only part with prereq) happens late.
- new RUN_MAKE snippet, to be able to have the makefile magically decide
between Makefile.bsd-wrapper and Makefile.

So there's no longer any need to remember complicated rules: add it to
RDIRS if it just wants make includes, add it to PRDIRS if it wants prereq too,
and that's all.

okay deraadt@, miod@


# 1.162 22-Apr-2012 espie

enable sqlite3, as prompted by theo


# 1.161 21-Mar-2012 matthew

Implement execvpe(3) and posix_spawn(3) and family. Based on
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.

ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.160 09-Jul-2011 henning

stop installing netatalk headers


# 1.159 08-Jul-2011 martynas

Add support for tgmath--the type-generic math; now that both math
and complex math routines are complete. OK kettenis@.


# 1.158 28-Apr-2011 martynas

- enable fenv
- add nearbyint, nearbyintf and nearbyintl implemented using fenv


Revision tags: OPENBSD_4_9_BASE
# 1.157 28-Oct-2010 mikeb

remove skipjack and cast from the libc; ok deraadt


# 1.156 17-Oct-2010 djm

unlink libsectok from the build; ok markus@ deraadt@


Revision tags: OPENBSD_4_8_BASE
# 1.155 25-May-2010 espie

unlink g77 from the build.
as discussed with Theo, so that he can synch set.

(eventual gcc2 fallout to fix later)


# 1.154 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_7_BASE
# 1.153 03-Feb-2010 miod

MACHINE_ARCH -> MACHINE_CPU when applicable.

** it is necessary to update make(1) before building now **


Revision tags: OPENBSD_4_6_BASE
# 1.152 24-Jun-2009 millert

Install ntfs includes and add libkvm (fstat) support. ntfs bits
adapted from NetBSD fstat. OK deraadt@


# 1.151 20-Jun-2009 millert

Install msdosfs includes; ok krw@


# 1.150 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.149 21-Apr-2009 ratchov

move src/lib/libsndio/sndio.h into src/include where other include
files leave.

requested by deraadt@, ok miod@


Revision tags: OPENBSD_4_5_BASE
# 1.148 27-Oct-2008 ratchov

rename libsa to libsndio
requested by many, "just go for it" deraadt@


# 1.147 26-Oct-2008 espie

no cookie for ratchov, committed things without running make build.


# 1.146 07-Sep-2008 martynas

- replace dtoa w/ David's gdtoa, version 2008-03-15
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support. added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c. could be more acruate
& faster, but it's good enough for now)
- remove wrappers & cruft in libm, supposed to work-around mistakes
in SVID, etc.; use ieee versions. fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h & gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes


# 1.145 22-Aug-2008 kettenis

Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.

If ports people really need libbfd or libopcodes, they should just
package a suitable version.

ok weingart@, deraadt@


Revision tags: OPENBSD_4_4_BASE
# 1.144 04-Jun-2008 deraadt

olf support starts to die (easy stuff first); ok miod


# 1.143 23-Apr-2008 norby

Import MPLS (Multi Protocol Label Switching)

MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.

It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.

Imported to allow more people to work on this in the coming weeks.

ok claudio@ laurent@ dlg@


# 1.142 22-Mar-2008 matthieu

Get rid of 3 extra leading spaces. ok deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.141 19-Oct-2007 deraadt

install includes from libexpat


Revision tags: OPENBSD_4_2_BASE
# 1.140 06-Jun-2007 deraadt

no longer make include/netipx dir


Revision tags: OPENBSD_4_1_BASE
# 1.139 13-Feb-2007 espie

remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script
still rebuilds a copy of that file, and we check it for diffs.

okay millert@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.138 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


# 1.137 28-Dec-2005 millert

Split off the non-kernel visible portion of sys/errno.h into a
separate errno.h. sys/errno.h now only contains errno values (which
is included byerrno.h). OK deraadt@


# 1.136 27-Sep-2005 deraadt

use xargs -r0 for our build process


Revision tags: OPENBSD_3_8_BASE
# 1.135 10-Jul-2005 grange

Install netbt/ includes.

ok henning@


# 1.134 17-Jun-2005 henning

don't install netns includes any longer, ports bulk build test by pval


# 1.133 07-Jun-2005 henning

-netccitt/


# 1.132 28-Apr-2005 espie

also use new libobjc on old architectures, since it builds fine with
gcc 2.95.

tests and okay miod@, marc@.


# 1.131 18-Apr-2005 millert

rm libcurses++


# 1.130 14-Apr-2005 espie

introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.


Revision tags: OPENBSD_3_7_BASE
# 1.129 20-Oct-2004 fgsch

install net80211 headers; millert and deraadt ok.


Revision tags: OPENBSD_3_6_BASE
# 1.128 15-Jul-2004 henning

do not install netiso header files, millert deraadt ok


# 1.127 29-Jun-2004 millert

make includes in gnu/usr.sbin/sendmail/libmilter


# 1.126 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.125 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.124 01-Mar-2004 drahn

Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@


# 1.123 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.122 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


Revision tags: OPENBSD_3_4_BASE
# 1.121 21-Jul-2003 millert

Need ftw.h for ftw(3) and nftw(3)


# 1.120 15-Jul-2003 deraadt

do not enter libcom_err


# 1.119 14-Jul-2003 mho

Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, David Krause, ...


# 1.118 02-Jun-2003 markus

swap /usr/include/openssl and /usr/include/ssl, clean up the Makefiles
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@


# 1.117 14-May-2003 mho

Remove krb4 support.


# 1.116 09-May-2003 millert

Install sha2.h


Revision tags: OPENBSD_3_3_BASE
# 1.115 20-Jan-2003 marc

install includes from libpthread, not libc_r


# 1.114 03-Dec-2002 miod

Intall getopt.h in /usr/include as well.


Revision tags: OPENBSD_3_2_BASE
# 1.113 03-Sep-2002 markus

build OpenSSL without symlink trees:
* manpage related things moved to src/libssl/man/Makefile
* there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead
of one single src/libssl/obj
* instead of running Configure (with generates lots of symlinks, and
opensslconf.h) this patch stores pre-computed opensslconf.h files
in src/libssl/crypto/arch
* requires a make includes before the library can be built
* libssl and libcrypto can be build separately
(e.g. cd src/libssl/ssl && make obj && make)
* make depend is now supported
* no more symlink trees
tested by miod@ and fries@


# 1.112 16-Jun-2002 naddy

install headers from libevent; ok miod@


# 1.111 09-Jun-2002 itojun

backout previous


# 1.110 09-Jun-2002 itojun

pax -s <regex> is botched, don't use it.


# 1.109 07-Jun-2002 drahn

Switch powerpc to using new split (aout/elf) link.h


# 1.108 07-Jun-2002 art

split link.h into three parts. The MI parts are left in link.h
a.out stuff in link_aout.h and ELF stuff in link_elf.h.
Switch sparc64 back to MI link.h.
drahn@ ok (powerpc will switch soon).


# 1.107 05-Jun-2002 art

Don't use MI dlfcn.h that are identical to the MD one.


# 1.106 02-Jun-2002 deraadt

no argh. we should doc these targets better


# 1.105 02-Jun-2002 deraadt

put libssl in PRDIRS instead; andre@ae-35.com


# 1.104 01-Jun-2002 deraadt

we do not need this to be Makefile.bsd-wrapper


# 1.103 08-May-2002 espie

includes should be installed during `make include', not later.
Fixes this for lex and binutils' bfd.

Also, do not install ansidecl.h, we don't really need it, bfd.h uses it,
and we installed it so that bfd worked, so let bfd.h include it directly.

prompted by mickey@


Revision tags: OPENBSD_3_1_BASE
# 1.102 08-Apr-2002 fgsch

install link.h and dlfcn.h from sys/arch/sparc64/include.


# 1.101 18-Feb-2002 mickey

netiso/xebec no more


# 1.100 30-Dec-2001 pvalchev

libusb -> libusbhid


# 1.99 06-Nov-2001 deraadt

no more vm in LDIRS


Revision tags: OPENBSD_3_0_BASE
# 1.98 03-Sep-2001 deraadt

how did ../lib/libusb not get added? Bad developers


# 1.97 31-Jul-2001 deraadt

we talked about libsectok having an include target a couple of times....


# 1.96 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


# 1.95 27-Jun-2001 deraadt

Why was a very large chunk of code commited to the source tree without
checking if a make build of the entire system still works? How many
other parts of the tree are now not going to build? All development
has not stopped until this is fixed.


# 1.94 26-Jun-2001 hin

Install kerberosV includefiles


# 1.93 13-Jun-2001 art

Simplify.


# 1.92 31-May-2001 art

Install link.h and dlfcn.h on alpha.


# 1.91 14-May-2001 espie

Speed-up:
- remove extra subshells;
- use exec on terminal commands, avoiding dangling shells that don't
control anything.

More correct:
- use && some more;
- remove `-' in front of includes, so that failures WILL fail...

Okay millert@, deraadt@


Revision tags: OPENBSD_2_9_BASE
# 1.90 18-Mar-2001 millert

Build gnu/lib/libreadline and use it instead of the one currently
in the binutils dir.


# 1.89 02-Mar-2001 espie

Add ohash_* functions to libc.
Ok'd deraadt@, millert@


# 1.88 18-Dec-2000 brad

*cough*someone forgot to remove libgmp*cough*


# 1.87 21-Nov-2000 millert

Add references to new files.


Revision tags: OPENBSD_2_8_BASE
# 1.86 10-Oct-2000 hugh

Don't install ieeefp.h on vax. derradt Ok.


# 1.85 01-Oct-2000 rahnds

Now that powerpc has shared libraries, make certain that link.h and dlfcn.h
are created properly.


# 1.84 19-Sep-2000 deraadt

install netnatm includes; stoklund@cp.dyndns.dk


# 1.83 03-Sep-2000 espie

Boring... Add :L modifier to all tweakable variables tests.

Closes PR 1246


# 1.82 20-Aug-2000 millert

login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.


Revision tags: OPENBSD_2_7_BASE
# 1.81 10-Mar-2000 niklas

A more normal way of building kerberos, faster, and it works with SUDO


# 1.80 29-Feb-2000 deraadt

install crypto headers


# 1.79 25-Feb-2000 hin

Include files for KerberosIV have moved.
(ok art@)


# 1.78 23-Feb-2000 itojun

add getifaddrs(3), from bsdi4.
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.


# 1.77 19-Feb-2000 deraadt

do not install /usr/include/dev/microcode/


# 1.76 20-Nov-1999 espie

Generate g2c.h at prereq stage.
Install it under /usr/include


Revision tags: OPENBSD_2_6_BASE
# 1.75 05-Oct-1999 beck

get httpd in WDIRS as well as the prereq dirs.


# 1.74 05-Oct-1999 beck

add httpd to includes target so apache includes get grabbed.


# 1.73 27-Sep-1999 beck

remove /usr/include/openssl link before making it.


# 1.72 27-Sep-1999 deraadt

openssl -> ssl


# 1.71 24-Sep-1999 espie

stdbool.h conforming to C9X


# 1.70 01-Jul-1999 deraadt

install miscfs includes too


# 1.69 24-Jun-1999 espie

Slight goof, repair symlinks target (noted by David Leonard)


# 1.68 22-Jun-1999 art

install uvm includes


# 1.67 29-May-1999 angelos

Add libkeynote target for includes


# 1.66 26-May-1999 espie

Link in egcs, kill gcc and libg++


# 1.65 18-May-1999 espie

Change include links shennannigans to make more sense,
so that machine -> i386, and not the other way around,
or, for arches such as amiga/m68k, make amiga & m68k true directories
and let machine -> amiga.


# 1.64 09-May-1999 millert

c++ clasess for ncurses


Revision tags: OPENBSD_2_5_BASE
# 1.63 29-Mar-1999 rahnds

powerpc does not support shared libraries and thus should not ship
link.h or dlfcn.h


# 1.62 09-Mar-1999 niklas

Some style issues, make stuff neded before depend be built by beforedepend.
Also make them prereq in the case of make includes


# 1.61 02-Mar-1999 niklas

Provide a method to do prerequisites needed before
installation of includes can happen. Do these before and not run via ${SUDO}.


# 1.60 26-Feb-1999 deraadt

skipjack in libc; isakmpd and such will want it


# 1.59 12-Feb-1999 millert

add old dbm-compatible interface from db-1.86 with minor changes by me (needs a man page)


# 1.58 01-Feb-1999 d

add libc_r


# 1.57 08-Jan-1999 deraadt

install netinet6 include files


Revision tags: OPENBSD_2_4_BASE
# 1.56 07-Oct-1998 deraadt

install /usr/include/ssl/


# 1.55 07-Sep-1998 art

install the xfs includes


# 1.54 23-Jul-1998 millert

curses.h frontend


# 1.53 21-Jul-1998 provos

Add CAST encryption, implementation by Steve Reid <sreid@sea-to-sky.net>.
Man pages will come soon, I hope.


# 1.52 17-Jul-1998 espie

. is a regex.


# 1.51 07-Jul-1998 art

do not install includes from libss


# 1.50 25-Jun-1998 deraadt

install isofs headers, we need them


# 1.49 07-Jun-1998 millert

add gnu/lib/libgmp to WDIR for includes


# 1.48 04-May-1998 provos

make includes for libossaudio


Revision tags: OPENBSD_2_3_BASE
# 1.47 03-Mar-1998 niklas

Dive into libg++ and gcc on includes


Revision tags: OPENBSD_2_2_BASE
# 1.46 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.45 17-Aug-1997 millert

basename(3) and dirname(3) as specified by XPG4 and XPG4.2


# 1.44 23-Jul-1997 denny

add netatalk


# 1.43 17-Jul-1997 millert

mdX(3)-like interface to RIPEMD-160 hash function. Code by
Antoon Bosselaers and massaged by me to fit the mdX(3) API.


# 1.42 29-Jun-1997 provos

relocated header files


# 1.41 30-May-1997 downsj

Don't ref gnu/ext2fs.


Revision tags: OPENBSD_2_1_BASE
# 1.40 27-Apr-1997 millert

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.


# 1.39 19-Apr-1997 millert

Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''
Same change doen for SKEY, YP, and KERBEROS5. This allows
people to override those setting in /etc/mk.conf.


# 1.38 27-Feb-1997 downsj

Add libwrap.


# 1.37 13-Feb-1997 provos

blf.h headerfile install


# 1.36 03-Feb-1997 millert

Back out stringlist


# 1.35 02-Feb-1997 millert

From NetBSD (lukem and christos):
A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.34 22-Dec-1996 deraadt

nope, ss is wrong


# 1.33 19-Dec-1996 etheisen

Create include/ss.


# 1.32 08-Dec-1996 downsj

cookie cookie COOKIE.. oh, sorry..
install -> ${INSTALL}, -c -> ${COPY}


# 1.31 16-Nov-1996 downsj

Fix more libss stuff.


# 1.30 15-Nov-1996 downsj

Move libss to the main tree.


# 1.29 11-Nov-1996 downsj

Move libcom_err out of Kerberos, change include location.


# 1.28 05-Nov-1996 downsj

install gnu/ext2fs


# 1.27 27-Oct-1996 etheisen

OLF.


Revision tags: OPENBSD_2_0_BASE
# 1.26 06-Oct-1996 pefo

Fix dlfcn.h and link.h for arc port


# 1.25 29-Sep-1996 millert

removed md2.h


# 1.24 29-Sep-1996 millert

Added sha1 (secure hash function).


# 1.23 27-Sep-1996 millert

includes in skey dir get installed too.


# 1.22 05-Sep-1996 pefo

standard link.h and dlfcn.h not very useful on mips


# 1.21 16-Aug-1996 mickey

netipx.


# 1.20 16-Aug-1996 downsj

Add libcompat.


# 1.19 27-Jul-1996 tholo

Integrate zlib v1.0.3


# 1.18 24-Jul-1996 mickey

install /sys/scsi in /usr/include/scsi


# 1.17 24-Jul-1996 downsj

regexp.h no longer lives here.


# 1.16 19-Jun-1996 deraadt

util.h no longer here


# 1.15 12-Jun-1996 deraadt

add /sbin/scsi from FreeBSD -- a good start!


# 1.14 11-Jun-1996 deraadt

also do includes in libpcap and arch/${MACHINE}


# 1.13 10-Jun-1996 deraadt

libedit has an includes target too


# 1.12 03-Jun-1996 niklas

Forgot to handle the md?.h include files in here


# 1.11 02-Jun-1996 deraadt

../lib/libmenu not ../libmenu


# 1.10 02-Jun-1996 tholo

Include in some more directories


# 1.9 02-Jun-1996 tholo

Recurse into a few more select directories on "make includes"


# 1.8 22-May-1996 deraadt

libutil


# 1.7 06-May-1996 deraadt

hard-code the include installation path (mostly for speed)


# 1.6 01-May-1996 deraadt

realinstall -> includes


# 1.5 18-Apr-1996 mickey

Add /sys/ddb to be installed in /usr/include.


# 1.4 21-Feb-1996 niklas

From NetBSD:
Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


# 1.3 15-Feb-1996 etheisen

Install elf_abi.h in /usr/include.


# 1.2 24-Oct-1995 deraadt

install curses.h from src/include


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.222 17-Oct-2017 mpi

<elf.h> should make it easier to port our ELF-related tools to other Unices.

For the moment it only includes <sys/exec_elf.h> but the goal is to
stop pulling it directly and also replace <elf_abi.h> at least for
base applications.

ok deraadt@, jasper@, naddy@


# 1.221 15-Oct-2017 guenther

Move the thread-related .h files to /usr/src/include/, since the
implementation is now spread between libc and librthread. No changes
to the content

ok mpi@


# 1.220 06-Oct-2017 naddy

Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and
combine the two find(1) invocations into one.
From Klemens Nanni; ok tb@


Revision tags: OPENBSD_6_2_BASE
# 1.219 17-Apr-2017 kettenis

Change build infrastructure to allow building both gcc and clang. This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@


Revision tags: OPENBSD_6_1_BASE
# 1.218 12-Mar-2017 guenther

<struct.h> is unused and should not be used. Delete it.

ok millert@ deraadt@ kettenis@


# 1.217 27-Jan-2017 jsg

install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@


# 1.216 12-Nov-2016 jca

Kill the /usr/include/ssl symlink

Proposed some time ago by tedu@, builk build by ajacoutot@


# 1.215 08-Nov-2016 tb

Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.

ok millert


# 1.214 16-Oct-2016 tb

Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.

Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.

Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.

help, testing & ok deraadt, input from natano, further testing rpe


# 1.213 23-Sep-2016 sthen

Unhook sqlite3.


Revision tags: OPENBSD_6_0_BASE
# 1.212 07-May-2016 tedu

remove dbm.h


# 1.211 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


# 1.210 09-Mar-2016 deraadt

We are done providing support for the vax.
lots of agreement.


Revision tags: OPENBSD_5_9_BASE
# 1.209 20-Jan-2016 jasper

After nearly 20 years of warning that malloc.h is obsolete, it's about time we
actually remove this header. It was originally added for ports, which is
malloc.h-free now.

additional ports bulk by aja@
ok bently@ dcoppa@ millert@ sthen@


# 1.208 18-Nov-2015 tedu

add icdb.h here (this header may go away entirely, but the functions
need to live somewhere in the meantime.)


# 1.207 14-Nov-2015 deraadt

libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm


# 1.206 27-Sep-2015 kettenis

Stop installing any header files in /usr/include/dev/pci/drm.
Userland should get these from /usr/X11R6/include/libdrm.

ok deraadt@ (and suggested by jsg@)


# 1.205 14-Sep-2015 guenther

Revert: finger slip


# 1.204 14-Sep-2015 guenther

Prefer the standardized <poll.h> over <sys/poll.h>


# 1.203 09-Sep-2015 guenther

Stop exporting from libc the <mpool.h> and the mpool_* API

ports scan by sthen@


Revision tags: OPENBSD_5_8_BASE
# 1.202 23-Jul-2015 yasuoka

Build and install libradius as default.

ok deraadt


# 1.201 17-Mar-2015 millert

Remove obsolete copy of tzfile.h. It is an internal tzcode header
that should never have been installed.


Revision tags: OPENBSD_5_7_BASE
# 1.200 18-Feb-2015 sthen

Make sure to replace an existing /usr/include/ssl symlink, otherwise repeated
builds will have a bogus /usr/include/openssl/openssl as found by naddy. ok jca@


# 1.199 16-Feb-2015 tedu

stop deleting the openssl include directory, causing unnecessary rebuilds.
ok jca sthen


# 1.198 17-Jan-2015 tedu

remove des.h. it somehow escaped from ssleay into /usr/include, but none
of the functions prototyped here exist in libc, making it useless.


# 1.197 08-Dec-2014 tedu

header changes for recent libc changes:
add siphash
delete setkey, encrypt, cfree


# 1.196 31-Oct-2014 jsing

Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).

Discussed with many.


# 1.195 16-Sep-2014 matthieu

Missed this sendmail reference in the sendmail removal


# 1.194 31-Aug-2014 miod

Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via
Markus Mueller.


Revision tags: OPENBSD_5_6_BASE
# 1.193 14-Jul-2014 deraadt

enter libressl for make includes


# 1.192 12-Jul-2014 guenther

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162

if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*

ok deraadt@


# 1.191 11-Jul-2014 tedu

stop installing netbt headers


# 1.190 12-May-2014 espie

move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.


# 1.189 22-Apr-2014 reyk

Remove KERBEROS5 from the Makefiles (except ssh for now, where it is
already manually disabled).

ok deraadt@


# 1.188 19-Apr-2014 henning

stop installing altq includes


# 1.187 11-Apr-2014 miod

Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.

ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.


# 1.186 26-Mar-2014 eric

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 1.185 24-Mar-2014 kettenis

unbreak the tree; no more libwrap


# 1.184 23-Mar-2014 tedu

more bm excision


# 1.183 23-Mar-2014 naddy

Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

ok deraadt@, man pages ok jmc@


# 1.182 13-Mar-2014 florian

Unhook httpd(8) from build
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@
"The time is right." and much help getting the show on
the road deraadt@


Revision tags: OPENBSD_5_5_BASE
# 1.181 08-Dec-2013 naddy

remove the final vestiges of the stty(), gtty(), and ftime() compatibility
interfaces; ok deraadt@


# 1.180 05-Dec-2013 deraadt

oops, sgtty.h stays for a little longer


# 1.179 04-Dec-2013 deraadt

express final disapproval of the interfaces in libcompat, such as
them ftime(), gtty(), stty(), re_comp(), cuserid() and others.
Discussion and ongoing work to fix the ports tree from many, especially
naddy.
ok naddy
[There is a bit more cleanup possible after that, but this is considered
the current safe step]


# 1.178 03-Nov-2013 sthen

Install fuse headers in 'make includes', diff from stsp@, ok guenther@
Committing now to unbreak ports builds (gvfs fails without, which knocks
out building much of the tree.)


# 1.177 19-Oct-2013 deraadt

Remove more knowledge of a.out and stab information from the tree.
ok miod


# 1.176 29-Sep-2013 deraadt

remove bogus comment


# 1.175 24-Aug-2013 jsg

netnatm is no more


# 1.174 12-Aug-2013 kettenis

Make sure we don't install the private radeondrm(4) headers, by leaving out
headers from any subdirectory of dev/pci/drm. If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.

ok mpi@, miod@


# 1.173 10-Aug-2013 ajacoutot

libkafs5->libkafs ; forgotten in previous


# 1.172 06-Aug-2013 miod

Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.


Revision tags: OPENBSD_5_4_BASE
# 1.171 19-Jun-2013 robert

unlink libheimntlm and libhx509


# 1.170 17-Jun-2013 robert

switch to new kerberosV directory layout


# 1.169 21-Mar-2013 deraadt

Do not install the dev/pci/drm/i915 directory to /usr/include


# 1.168 18-Mar-2013 deraadt

forget about this for now; wait till later


# 1.167 18-Mar-2013 deraadt

Skip another irrelevant leaf when descending into sys/dev
ok kettenis


Revision tags: OPENBSD_5_3_BASE
# 1.166 23-Aug-2012 deraadt

do not install the nnpfs directory


Revision tags: OPENBSD_5_2_BASE
# 1.165 28-Jun-2012 guenther

librthread has eaten libpthread, so build includes via the former instead
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed

discussed with deraadt@


# 1.164 26-Jun-2012 deraadt

create new machine/_float.h which is namespace clean. create a new
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.


# 1.163 19-Jun-2012 espie

simplify includes prereq/req order:
- everything that has prereq will also do includes, add it late, so that
gnu stuff (the only part with prereq) happens late.
- new RUN_MAKE snippet, to be able to have the makefile magically decide
between Makefile.bsd-wrapper and Makefile.

So there's no longer any need to remember complicated rules: add it to
RDIRS if it just wants make includes, add it to PRDIRS if it wants prereq too,
and that's all.

okay deraadt@, miod@


# 1.162 22-Apr-2012 espie

enable sqlite3, as prompted by theo


# 1.161 21-Mar-2012 matthew

Implement execvpe(3) and posix_spawn(3) and family. Based on
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.

ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.160 09-Jul-2011 henning

stop installing netatalk headers


# 1.159 08-Jul-2011 martynas

Add support for tgmath--the type-generic math; now that both math
and complex math routines are complete. OK kettenis@.


# 1.158 28-Apr-2011 martynas

- enable fenv
- add nearbyint, nearbyintf and nearbyintl implemented using fenv


Revision tags: OPENBSD_4_9_BASE
# 1.157 28-Oct-2010 mikeb

remove skipjack and cast from the libc; ok deraadt


# 1.156 17-Oct-2010 djm

unlink libsectok from the build; ok markus@ deraadt@


Revision tags: OPENBSD_4_8_BASE
# 1.155 25-May-2010 espie

unlink g77 from the build.
as discussed with Theo, so that he can synch set.

(eventual gcc2 fallout to fix later)


# 1.154 10-May-2010 drahn

Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexible
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco,
with fixes from espie@.
ok espie@ general mumbling of approval of others.


Revision tags: OPENBSD_4_7_BASE
# 1.153 03-Feb-2010 miod

MACHINE_ARCH -> MACHINE_CPU when applicable.

** it is necessary to update make(1) before building now **


Revision tags: OPENBSD_4_6_BASE
# 1.152 24-Jun-2009 millert

Install ntfs includes and add libkvm (fstat) support. ntfs bits
adapted from NetBSD fstat. OK deraadt@


# 1.151 20-Jun-2009 millert

Install msdosfs includes; ok krw@


# 1.150 03-Jun-2009 jj

Arla client rename from xfs to nnpfs for later upgrades. Tested on various arches. ok todd@ beck@


# 1.149 21-Apr-2009 ratchov

move src/lib/libsndio/sndio.h into src/include where other include
files leave.

requested by deraadt@, ok miod@


Revision tags: OPENBSD_4_5_BASE
# 1.148 27-Oct-2008 ratchov

rename libsa to libsndio
requested by many, "just go for it" deraadt@


# 1.147 26-Oct-2008 espie

no cookie for ratchov, committed things without running make build.


# 1.146 07-Sep-2008 martynas

- replace dtoa w/ David's gdtoa, version 2008-03-15
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support. added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c. could be more acruate
& faster, but it's good enough for now)
- remove wrappers & cruft in libm, supposed to work-around mistakes
in SVID, etc.; use ieee versions. fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h & gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes


# 1.145 22-Aug-2008 kettenis

Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.

If ports people really need libbfd or libopcodes, they should just
package a suitable version.

ok weingart@, deraadt@


Revision tags: OPENBSD_4_4_BASE
# 1.144 04-Jun-2008 deraadt

olf support starts to die (easy stuff first); ok miod


# 1.143 23-Apr-2008 norby

Import MPLS (Multi Protocol Label Switching)

MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.

It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.

Imported to allow more people to work on this in the coming weeks.

ok claudio@ laurent@ dlg@


# 1.142 22-Mar-2008 matthieu

Get rid of 3 extra leading spaces. ok deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.141 19-Oct-2007 deraadt

install includes from libexpat


Revision tags: OPENBSD_4_2_BASE
# 1.140 06-Jun-2007 deraadt

no longer make include/netipx dir


Revision tags: OPENBSD_4_1_BASE
# 1.139 13-Feb-2007 espie

remove prereq, by using a pre-generated include file (this one should now
be MI since we removed stuff that was arch-dependent). The Configure script
still rebuilds a copy of that file, and we check it for diffs.

okay millert@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.138 06-Jan-2006 millert

Add real C99 stdint.h and inttypes.h based on an initial version I did in
1997 (yes, really).


# 1.137 28-Dec-2005 millert

Split off the non-kernel visible portion of sys/errno.h into a
separate errno.h. sys/errno.h now only contains errno values (which
is included byerrno.h). OK deraadt@


# 1.136 27-Sep-2005 deraadt

use xargs -r0 for our build process


Revision tags: OPENBSD_3_8_BASE
# 1.135 10-Jul-2005 grange

Install netbt/ includes.

ok henning@


# 1.134 17-Jun-2005 henning

don't install netns includes any longer, ports bulk build test by pval


# 1.133 07-Jun-2005 henning

-netccitt/


# 1.132 28-Apr-2005 espie

also use new libobjc on old architectures, since it builds fine with
gcc 2.95.

tests and okay miod@, marc@.


# 1.131 18-Apr-2005 millert

rm libcurses++


# 1.130 14-Apr-2005 espie

introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.


Revision tags: OPENBSD_3_7_BASE
# 1.129 20-Oct-2004 fgsch

install net80211 headers; millert and deraadt ok.


Revision tags: OPENBSD_3_6_BASE
# 1.128 15-Jul-2004 henning

do not install netiso header files, millert deraadt ok


# 1.127 29-Jun-2004 millert

make includes in gnu/usr.sbin/sendmail/libmilter


# 1.126 17-May-2004 drahn

Enable binutils for arm now that we have binutils 2.14.


Revision tags: OPENBSD_3_5_BASE
# 1.125 08-Mar-2004 drahn

Do not build binutils on arm. ARM needs at least binutils 2.14.
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable
Requested by deraadt@


# 1.124 01-Mar-2004 drahn

Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@


# 1.123 23-Jan-2004 espie

USE_GCC3 switch, now that propolice is in.


# 1.122 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


Revision tags: OPENBSD_3_4_BASE
# 1.121 21-Jul-2003 millert

Need ftw.h for ftw(3) and nftw(3)


# 1.120 15-Jul-2003 deraadt

do not enter libcom_err


# 1.119 14-Jul-2003 mho

Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, David Krause, ...


# 1.118 02-Jun-2003 markus

swap /usr/include/openssl and /usr/include/ssl, clean up the Makefiles
get rid old include files; with itojun@ and tdeval@; ok itojun@, deraadt@


# 1.117 14-May-2003 mho

Remove krb4 support.


# 1.116 09-May-2003 millert

Install sha2.h


Revision tags: OPENBSD_3_3_BASE
# 1.115 20-Jan-2003 marc

install includes from libpthread, not libc_r


# 1.114 03-Dec-2002 miod

Intall getopt.h in /usr/include as well.


Revision tags: OPENBSD_3_2_BASE
# 1.113 03-Sep-2002 markus

build OpenSSL without symlink trees:
* manpage related things moved to src/libssl/man/Makefile
* there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead
of one single src/libssl/obj
* instead of running Configure (with generates lots of symlinks, and
opensslconf.h) this patch stores pre-computed opensslconf.h files
in src/libssl/crypto/arch
* requires a make includes before the library can be built
* libssl and libcrypto can be build separately
(e.g. cd src/libssl/ssl && make obj && make)
* make depend is now supported
* no more symlink trees
tested by miod@ and fries@


# 1.112 16-Jun-2002 naddy

install headers from libevent; ok miod@


# 1.111 09-Jun-2002 itojun

backout previous


# 1.110 09-Jun-2002 itojun

pax -s <regex> is botched, don't use it.


# 1.109 07-Jun-2002 drahn

Switch powerpc to using new split (aout/elf) link.h


# 1.108 07-Jun-2002 art

split link.h into three parts. The MI parts are left in link.h
a.out stuff in link_aout.h and ELF stuff in link_elf.h.
Switch sparc64 back to MI link.h.
drahn@ ok (powerpc will switch soon).


# 1.107 05-Jun-2002 art

Don't use MI dlfcn.h that are identical to the MD one.


# 1.106 02-Jun-2002 deraadt

no argh. we should doc these targets better


# 1.105 02-Jun-2002 deraadt

put libssl in PRDIRS instead; andre@ae-35.com


# 1.104 01-Jun-2002 deraadt

we do not need this to be Makefile.bsd-wrapper


# 1.103 08-May-2002 espie

includes should be installed during `make include', not later.
Fixes this for lex and binutils' bfd.

Also, do not install ansidecl.h, we don't really need it, bfd.h uses it,
and we installed it so that bfd worked, so let bfd.h include it directly.

prompted by mickey@


Revision tags: OPENBSD_3_1_BASE
# 1.102 08-Apr-2002 fgsch

install link.h and dlfcn.h from sys/arch/sparc64/include.


# 1.101 18-Feb-2002 mickey

netiso/xebec no more


# 1.100 30-Dec-2001 pvalchev

libusb -> libusbhid


# 1.99 06-Nov-2001 deraadt

no more vm in LDIRS


Revision tags: OPENBSD_3_0_BASE
# 1.98 03-Sep-2001 deraadt

how did ../lib/libusb not get added? Bad developers


# 1.97 31-Jul-2001 deraadt

we talked about libsectok having an include target a couple of times....


# 1.96 11-Jul-2001 pvalchev

remove mips leftovers; ok brad


# 1.95 27-Jun-2001 deraadt

Why was a very large chunk of code commited to the source tree without
checking if a make build of the entire system still works? How many
other parts of the tree are now not going to build? All development
has not stopped until this is fixed.


# 1.94 26-Jun-2001 hin

Install kerberosV includefiles


# 1.93 13-Jun-2001 art

Simplify.


# 1.92 31-May-2001 art

Install link.h and dlfcn.h on alpha.


# 1.91 14-May-2001 espie

Speed-up:
- remove extra subshells;
- use exec on terminal commands, avoiding dangling shells that don't
control anything.

More correct:
- use && some more;
- remove `-' in front of includes, so that failures WILL fail...

Okay millert@, deraadt@


Revision tags: OPENBSD_2_9_BASE
# 1.90 18-Mar-2001 millert

Build gnu/lib/libreadline and use it instead of the one currently
in the binutils dir.


# 1.89 02-Mar-2001 espie

Add ohash_* functions to libc.
Ok'd deraadt@, millert@


# 1.88 18-Dec-2000 brad

*cough*someone forgot to remove libgmp*cough*


# 1.87 21-Nov-2000 millert

Add references to new files.


Revision tags: OPENBSD_2_8_BASE
# 1.86 10-Oct-2000 hugh

Don't install ieeefp.h on vax. derradt Ok.


# 1.85 01-Oct-2000 rahnds

Now that powerpc has shared libraries, make certain that link.h and dlfcn.h
are created properly.


# 1.84 19-Sep-2000 deraadt

install netnatm includes; stoklund@cp.dyndns.dk


# 1.83 03-Sep-2000 espie

Boring... Add :L modifier to all tweakable variables tests.

Closes PR 1246


# 1.82 20-Aug-2000 millert

login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.


Revision tags: OPENBSD_2_7_BASE
# 1.81 10-Mar-2000 niklas

A more normal way of building kerberos, faster, and it works with SUDO


# 1.80 29-Feb-2000 deraadt

install crypto headers


# 1.79 25-Feb-2000 hin

Include files for KerberosIV have moved.
(ok art@)


# 1.78 23-Feb-2000 itojun

add getifaddrs(3), from bsdi4.
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.


# 1.77 19-Feb-2000 deraadt

do not install /usr/include/dev/microcode/


# 1.76 20-Nov-1999 espie

Generate g2c.h at prereq stage.
Install it under /usr/include


Revision tags: OPENBSD_2_6_BASE
# 1.75 05-Oct-1999 beck

get httpd in WDIRS as well as the prereq dirs.


# 1.74 05-Oct-1999 beck

add httpd to includes target so apache includes get grabbed.


# 1.73 27-Sep-1999 beck

remove /usr/include/openssl link before making it.


# 1.72 27-Sep-1999 deraadt

openssl -> ssl


# 1.71 24-Sep-1999 espie

stdbool.h conforming to C9X


# 1.70 01-Jul-1999 deraadt

install miscfs includes too


# 1.69 24-Jun-1999 espie

Slight goof, repair symlinks target (noted by David Leonard)


# 1.68 22-Jun-1999 art

install uvm includes


# 1.67 29-May-1999 angelos

Add libkeynote target for includes


# 1.66 26-May-1999 espie

Link in egcs, kill gcc and libg++


# 1.65 18-May-1999 espie

Change include links shennannigans to make more sense,
so that machine -> i386, and not the other way around,
or, for arches such as amiga/m68k, make amiga & m68k true directories
and let machine -> amiga.


# 1.64 09-May-1999 millert

c++ clasess for ncurses


Revision tags: OPENBSD_2_5_BASE
# 1.63 29-Mar-1999 rahnds

powerpc does not support shared libraries and thus should not ship
link.h or dlfcn.h


# 1.62 09-Mar-1999 niklas

Some style issues, make stuff neded before depend be built by beforedepend.
Also make them prereq in the case of make includes


# 1.61 02-Mar-1999 niklas

Provide a method to do prerequisites needed before
installation of includes can happen. Do these before and not run via ${SUDO}.


# 1.60 26-Feb-1999 deraadt

skipjack in libc; isakmpd and such will want it


# 1.59 12-Feb-1999 millert

add old dbm-compatible interface from db-1.86 with minor changes by me (needs a man page)


# 1.58 01-Feb-1999 d

add libc_r


# 1.57 08-Jan-1999 deraadt

install netinet6 include files


Revision tags: OPENBSD_2_4_BASE
# 1.56 07-Oct-1998 deraadt

install /usr/include/ssl/


# 1.55 07-Sep-1998 art

install the xfs includes


# 1.54 23-Jul-1998 millert

curses.h frontend


# 1.53 21-Jul-1998 provos

Add CAST encryption, implementation by Steve Reid <sreid@sea-to-sky.net>.
Man pages will come soon, I hope.


# 1.52 17-Jul-1998 espie

. is a regex.


# 1.51 07-Jul-1998 art

do not install includes from libss


# 1.50 25-Jun-1998 deraadt

install isofs headers, we need them


# 1.49 07-Jun-1998 millert

add gnu/lib/libgmp to WDIR for includes


# 1.48 04-May-1998 provos

make includes for libossaudio


Revision tags: OPENBSD_2_3_BASE
# 1.47 03-Mar-1998 niklas

Dive into libg++ and gcc on includes


Revision tags: OPENBSD_2_2_BASE
# 1.46 18-Aug-1997 millert

inttypes.h as required by XPG4.2. Nothing uses this yet and all in-tree
sources should use the BSD-style types anyway.


# 1.45 17-Aug-1997 millert

basename(3) and dirname(3) as specified by XPG4 and XPG4.2


# 1.44 23-Jul-1997 denny

add netatalk


# 1.43 17-Jul-1997 millert

mdX(3)-like interface to RIPEMD-160 hash function. Code by
Antoon Bosselaers and massaged by me to fit the mdX(3) API.


# 1.42 29-Jun-1997 provos

relocated header files


# 1.41 30-May-1997 downsj

Don't ref gnu/ext2fs.


Revision tags: OPENBSD_2_1_BASE
# 1.40 27-Apr-1997 millert

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.


# 1.39 19-Apr-1997 millert

Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''
Same change doen for SKEY, YP, and KERBEROS5. This allows
people to override those setting in /etc/mk.conf.


# 1.38 27-Feb-1997 downsj

Add libwrap.


# 1.37 13-Feb-1997 provos

blf.h headerfile install


# 1.36 03-Feb-1997 millert

Back out stringlist


# 1.35 02-Feb-1997 millert

From NetBSD (lukem and christos):
A stringlist implementation (previously ``private'' to libc netgroup code,
but christos ok-ed making public as it's useful)


# 1.34 22-Dec-1996 deraadt

nope, ss is wrong


# 1.33 19-Dec-1996 etheisen

Create include/ss.


# 1.32 08-Dec-1996 downsj

cookie cookie COOKIE.. oh, sorry..
install -> ${INSTALL}, -c -> ${COPY}


# 1.31 16-Nov-1996 downsj

Fix more libss stuff.


# 1.30 15-Nov-1996 downsj

Move libss to the main tree.


# 1.29 11-Nov-1996 downsj

Move libcom_err out of Kerberos, change include location.


# 1.28 05-Nov-1996 downsj

install gnu/ext2fs


# 1.27 27-Oct-1996 etheisen

OLF.


Revision tags: OPENBSD_2_0_BASE
# 1.26 06-Oct-1996 pefo

Fix dlfcn.h and link.h for arc port


# 1.25 29-Sep-1996 millert

removed md2.h


# 1.24 29-Sep-1996 millert

Added sha1 (secure hash function).


# 1.23 27-Sep-1996 millert

includes in skey dir get installed too.


# 1.22 05-Sep-1996 pefo

standard link.h and dlfcn.h not very useful on mips


# 1.21 16-Aug-1996 mickey

netipx.


# 1.20 16-Aug-1996 downsj

Add libcompat.


# 1.19 27-Jul-1996 tholo

Integrate zlib v1.0.3


# 1.18 24-Jul-1996 mickey

install /sys/scsi in /usr/include/scsi


# 1.17 24-Jul-1996 downsj

regexp.h no longer lives here.


# 1.16 19-Jun-1996 deraadt

util.h no longer here


# 1.15 12-Jun-1996 deraadt

add /sbin/scsi from FreeBSD -- a good start!


# 1.14 11-Jun-1996 deraadt

also do includes in libpcap and arch/${MACHINE}


# 1.13 10-Jun-1996 deraadt

libedit has an includes target too


# 1.12 03-Jun-1996 niklas

Forgot to handle the md?.h include files in here


# 1.11 02-Jun-1996 deraadt

../lib/libmenu not ../libmenu


# 1.10 02-Jun-1996 tholo

Include in some more directories


# 1.9 02-Jun-1996 tholo

Recurse into a few more select directories on "make includes"


# 1.8 22-May-1996 deraadt

libutil


# 1.7 06-May-1996 deraadt

hard-code the include installation path (mostly for speed)


# 1.6 01-May-1996 deraadt

realinstall -> includes


# 1.5 18-Apr-1996 mickey

Add /sys/ddb to be installed in /usr/include.


# 1.4 21-Feb-1996 niklas

From NetBSD:
Add cpio.h, tar.h, and re_comp.h headers for POSIX & XPG4 conformance


# 1.3 15-Feb-1996 etheisen

Install elf_abi.h in /usr/include.


# 1.2 24-Oct-1995 deraadt

install curses.h from src/include


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision