mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-22 15:47:37 +00:00
5f3431b5ad
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.
22 lines
487 B
Makefile
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>
|