FreeBSD src
Go to file
Jessica Clarke 0a5e35a7b1 Makefile.libcompat: Be consistent about not installing includes
Currently we only pass MK_INCLUDES=no for distribute and install, since
it's only in LIB${_LIBCOMPAT}IMAKE, which means that we enable includes
during libraries and thus install includes into worldtmp, despite it
being shared these days across native and libcompats. This also means
we're at risk of having headers needed for building against a libcompat
that don't get installed to the system, but do end up being installed to
worldtmp. In particular, lib/msun has different fenv.h for aarch64 and
arm, so aarch64 will need arm's copy when it grows lib32 support, and
this would be installed to worldtmp, but not to the system, meaning any
programs that use fenv.h wouldn't be able to be built.

Instead, be consistent, and don't install includes at all during any of
the libcompat phases, so that we can detect these issues and ensure any
needed headers are installed for both worldtmp and the system.

Reviewed by:	brooks
Differential Revision:	https://reviews.freebsd.org/D41030
2023-07-14 02:36:04 +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 cat: fallback on EBADF with copy_file_range(2) 2023-07-09 01:08:46 +02:00
cddl dtrace: prevent forked child from running after an error condition 2023-07-12 10:33:28 -05:00
contrib Merge commit fde5924dcc69 from llvm-project (by Serge Pavlov): 2023-07-13 20:57:22 +02:00
crypto libcrypto: add missing symbols to the fips provider 2023-07-05 16:00:54 -04:00
etc Remove GCC 4.2 include dirs 2023-07-10 10:16:13 -03:00
gnu Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
include include: Migrate from COMPAT_32BIT to generic COMPAT_libcompat 2023-07-09 18:48:54 +01:00
kerberos5 kerberos5: Migrate from COMPAT_32BIT to generic COMPAT_LIBCOMPAT 2023-07-09 18:49:21 +01:00
lib getlocalbase: Make default path actually configurable 2023-07-11 21:49:22 +01:00
libexec rtld: Annotate .rtld_start on i386 2023-07-11 15:10:32 +03:00
release release: remove a stray backslash 2023-07-12 16:57:57 -04:00
rescue Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
sbin nvmecontrol.8: Fix a few formatting nits. 2023-07-13 17:10:36 -07:00
secure openssl: include d2i_KeyParams() and d2i_KeyParams_bio() 2023-07-09 15:18:21 +02:00
share signal: Remove gsignal references from manuals 2023-07-14 00:15:47 +03:00
stand Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
sys vfs_bio: initialize pctries 2023-07-13 13:28:21 -05:00
targets local.dirdeps.mk skip N_host_libs for non-FreeBSD host 2023-05-04 11:58:39 -07:00
tests pfsync: transport over IPv6 2023-07-13 08:09:42 +02:00
tools stress2: Added two syzkaller reproducers 2023-07-11 10:24:19 +02:00
usr.bin rpcgen: Perform shell-style word expansion on RPCGEN_CPP 2023-07-14 02:35:25 +01:00
usr.sbin bhyve: Deduplicate some code in modify_bar_registration() 2023-07-11 15:22:37 -04: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: reinsert double spaces 2023-07-10 12:24:24 -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 Move MACHINE/MACHINE_ARCH handling to sys.machine.mk 2023-05-13 08:15:49 -07:00
Makefile.inc1 Make sure MACHINE(_ARCH) are exported for depend-cleanup.sh 2023-07-11 01:53:04 +01:00
Makefile.libcompat Makefile.libcompat: Be consistent about not installing includes 2023-07-14 02:36:04 +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 signal: Remove gsignal references from manuals 2023-07-14 00:15:47 +03:00
README.md README.md: link to the list of supported platforms 2022-11-01 12:20:55 -03:00
RELNOTES nvd/nda: Add release notes info. 2023-06-13 09:18:18 -06:00
UPDATING atkbc: Better test for old chromebooks 2023-06-29 08:34:47 -06: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.