freebsd-src/lib/libc/stdbit/Makefile.inc
Robert Clausecker 6296500a85 libc: implement C23 <stdbit.h> functions
This new header complies with ISO/IEC 9899:2024 (C23).

Contrary to glibc, we do not provide inline definitions in
<stdbit.h> as we expect our system compiler to soon recognise
these as builtins anyway.

Relnotes:	yes
MFC after:	1 month
Reviewed by:	adrian
Approved by:	markj (mentor)
Differential Revision:	https://reviews.freebsd.org/D53657
2025-11-30 20:21:52 +01:00

19 lines
442 B
Makefile

# sources for <stdbit.h>
.PATH: ${LIBC_SRCTOP}/stdbit
SRCS+= stdc_bit_ceil.c \
stdc_bit_floor.c \
stdc_bit_width.c \
stdc_count_ones.c \
stdc_count_zeros.c \
stdc_first_leading_one.c \
stdc_first_leading_zero.c \
stdc_first_trailing_one.c \
stdc_first_trailing_zero.c \
stdc_has_single_bit.c \
stdc_leading_ones.c \
stdc_leading_zeros.c \
stdc_trailing_ones.c \
stdc_trailing_zeros.c
SYM_MAPS+=${LIBC_SRCTOP}/stdbit/Symbol.map