Go to file
Jessica Clarke 91d7edd549 Generalise libcompat to be a list rather than a single option
Whilst the kernel can support any number of COMPAT_FOO, world can only
build a single libfoo. Upstream this isn't such an issue, since the only
option is lib32 anyway, but downstreams, such as CheriBSD, may wish to
support multiple at the same time. Thus, adjust the top-level Makefiles
to turn _LIBCOMPAT into a _LIBCOMPATS list that gets iterated over, and
adjust bsd.compat.mk to support this use-case.

For the normal NEED_COMPAT/WANT_COMPAT case, LIBCOMPATFOO remain set and
refer to the requested compat's, preserving the current interface. For
the top-level Makefiles those variables are no longer set (since there
is no longer "the" compat) and only the per-compat ones are available.

Reviewed by:	brooks, jhb, imp
Differential Revision:	https://reviews.freebsd.org/D40571
2023-06-28 00:10:49 +01:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github MAINTAINERS: Add myself to stand 2023-05-07 22:30:10 -06:00
bin Vendor import of OpenPAM Ximenia. 2023-06-27 19:01:49 +02:00
cddl zfs: merge openzfs/zfs@feff9dfed 2023-06-10 19:31:17 +02:00
contrib Merge bmake-20230622 2023-06-27 13:57:58 -07:00
crypto Merge OpenSSL 3.0.9 2023-06-23 18:53:36 -04:00
etc Merge OpenSSL 3.0.9 2023-06-23 18:53:36 -04:00
gnu Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
include Vendor import of OpenPAM Ximenia. 2023-06-27 19:01:49 +02:00
kerberos5 kerberos: Request the OpenSSL 1.1 API 2023-06-23 18:53:36 -04:00
lib ncurses: Silence -Wunused-but-set-variable for various files. 2023-06-27 10:19:32 -07:00
libexec rc.d/routing: Correct setting default gateway for each FIB 2023-06-26 18:43:46 +00:00
release release/azure: Update reference URL 2023-06-27 15:58:55 +08:00
rescue Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
sbin ifconfig: skip calling fnmatch once the result no longer matters 2023-06-27 16:28:44 -06:00
secure caroot: add new certs 2023-06-25 18:49:07 -05:00
share Generalise libcompat to be a list rather than a single option 2023-06-28 00:10:49 +01:00
stand efi loader: Move 'module' variable under #ifdef MODINFOMD_MODULEP. 2023-06-27 10:19:32 -07:00
sys usb: Fixed botched spacing 2023-06-28 00:07:54 +01:00
targets local.dirdeps.mk skip N_host_libs for non-FreeBSD host 2023-05-04 11:58:39 -07:00
tests netinet tests: Add a test which connects a disconnected socket 2023-06-23 10:06:13 -04:00
tools depend-cleanup: apply big hammer for OpenSSL 3.0 update 2023-06-24 19:46:09 -04:00
usr.bin Merge bmake-20230622 2023-06-27 13:57:58 -07:00
usr.sbin libbsnmptools: Fully comment out set but unused count variable. 2023-06-27 10:19:32 -07:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint arc lint: ignore /tests/ in chmod 2017-12-19 03:38:06 +00:00
.cirrus.yml Cirrus-CI: use llvm16 job by default and make llvm15 manual 2023-06-22 20:26:34 -04:00
.clang-format clang-format: Add bitset loop macros 2021-09-21 12:08:01 -04:00
.git-blame-ignore-revs Add git-blame ignore file 2023-01-23 15:27:25 -05:00
.gitattributes Add a basic clang-format configuration file 2019-06-07 15:23:52 +00:00
.gitignore .gitignore: Ignore LSP generated .cache 2023-03-07 10:04:18 -05:00
CONTRIBUTING.md CONTRIBUTING.md: minor changes 2023-05-14 06:51:56 -06:00
COPYRIGHT Happy New Year 2023! 2023-01-01 13:44:43 +08:00
LOCKS LOCKS: update current locks 2018-06-09 03:08:04 +00:00
MAINTAINERS MAINTAINERS: Add myself to stand 2023-05-07 22:30:10 -06:00
Makefile Import bmake-20230622 2023-06-27 13:29:43 -07:00
Makefile.inc1 Generalise libcompat to be a list rather than a single option 2023-06-28 00:10:49 +01:00
Makefile.libcompat Generalise libcompat to be a list rather than a single option 2023-06-28 00:10:49 +01:00
Makefile.sys.inc AUTO_OBJ: For all top-level targets enforce using an OBJDIR. 2017-12-05 21:29:47 +00:00
ObsoleteFiles.inc nvme: Don't install nvme_private.h in /usr/include. 2023-06-26 20:30:45 -07:00
README.md README.md: link to the list of supported platforms 2022-11-01 12:20:55 -03:00
RELNOTES Vendor import of OpenPAM Ximenia. 2023-06-27 19:01:49 +02:00
UPDATING UPDATING: Add OpenSSL 3.0 update 2023-06-24 08:14:58 -04:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.