xref: /netbsd-src/external/bsd/jemalloc/lib/Makefile (revision aff4e455a9ab1419a246f1be3123f4a8a51a2aba)
1# $NetBSD: Makefile,v 1.5 2023/08/24 06:02:44 rin Exp $
2
3WARNS?= 5
4.include <bsd.init.mk>
5
6LIB=jemalloc
7
8# The symbols from the stub only exist in newer jemalloc.
9CPPFLAGS+=	-DHAVE_JEMALLOC=${HAVE_JEMALLOC:U0}
10SRCS=		jemalloc_stub.c
11
12.include <bsd.lib.mk>
13