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