1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-22 15:47:37 +00:00
freebsd/sys/modules/random/Makefile
Mark Murray 5f3431b5ad As the blocking model has seems to be troublesome for many, disable
it for now with an option.

This option is already deprecated, and will be removed when the
entropy-harvesting code is fast enough to warrant it.
2000-10-27 06:06:04 +00:00

22 lines
487 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/random
.PATH: ${.CURDIR}/../../crypto/blowfish
KMOD = random
SRCS = bus_if.h device_if.h randomdev.c yarrow.c hash.c
SRCS += bf_cbc.c bf_skey.c bf_enc.c
SRCS += vnode_if.h opt_noblockrandom.h
CFLAGS += -I${.CURDIR}/../..
NOMAN = yes
NOBLOCKRANDOM= yes
.if defined(NOBLOCKRANDOM)
RANDOM_OPTS= "\#define NOBLOCKRANDOM"
.endif
opt_noblockrandom.h:
touch opt_noblockrandom.h
echo $(RANDOM_OPTS) >> opt_noblockrandom.h
.include <bsd.kmod.mk>