opnsense-src/lib/libc/stdlib/malloc/Makefile.inc
Brooks Davis c5f49ece16 libc: regoranize malloc build
Create a stdlib/malloc to hold the definition of the malloc interface
(e.g., the Symbol.map file) and make jemalloc a subdirectory.  This will
make it easier to integrate alternative allocators such as snmalloc
while making it clear that the current jemalloc symbols are the FreeBSD
API/ABI (for better or worse).

Suggested by:	jrtc27
Reviewed by:	jrtc27, emaste
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D41457
2023-08-16 19:16:51 +01:00

3 lines
113 B
Makefile

SYM_MAPS+=${LIBC_SRCTOP}/stdlib/malloc/Symbol.map
.include "${LIBC_SRCTOP}/stdlib/malloc/jemalloc/Makefile.inc"