1 1.6 lukem # $NetBSD: Makefile,v 1.6 2023/06/03 09:09:13 lukem Exp $ 2 1.5 christos 3 1.5 christos .include <bsd.own.mk> 4 1.1 explorer 5 1.1 explorer PROG= rndctl 6 1.1 explorer MAN= rndctl.8 7 1.1 explorer 8 1.6 lukem COPTS.rndctl.c+= ${CC_WNO_STRINGOP_TRUNCATION} 9 1.3 mrg 10 1.4 riastrad SRCS+= rndctl.c 11 1.4 riastrad 12 1.4 riastrad # Hack: libc does not export public SHA-3 symbols, so we'll just copy 13 1.4 riastrad # them here statically. 14 1.4 riastrad .PATH: ${NETBSDSRCDIR}/common/lib/libc/hash/sha3 15 1.4 riastrad 16 1.4 riastrad # Hack for namespace.h in sha3.c. 17 1.4 riastrad CPPFLAGS+= -I${.CURDIR} 18 1.4 riastrad 19 1.4 riastrad SRCS+= sha3.c 20 1.4 riastrad SRCS+= keccak.c 21 1.4 riastrad 22 1.1 explorer .include <bsd.prog.mk> 23