Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#	$NetBSD: Makefile,v 1.6 2023/06/03 09:09:13 lukem Exp $

.include <bsd.own.mk>

PROG=	rndctl
MAN=	rndctl.8

COPTS.rndctl.c+=	${CC_WNO_STRINGOP_TRUNCATION}

SRCS+=	rndctl.c

# Hack: libc does not export public SHA-3 symbols, so we'll just copy
# them here statically.
.PATH:	${NETBSDSRCDIR}/common/lib/libc/hash/sha3

# Hack for namespace.h in sha3.c.
CPPFLAGS+=	-I${.CURDIR}

SRCS+=	sha3.c
SRCS+=	keccak.c

.include <bsd.prog.mk>