Makefile revision 69524
1# $FreeBSD: head/sys/modules/random/Makefile 69524 2000-12-02 18:29:18Z markm $
2
3.PATH:	${.CURDIR}/../../dev/random
4.PATH:	${.CURDIR}/../../crypto/blowfish
5KMOD	= random
6SRCS	= bus_if.h device_if.h randomdev.c yarrow.c hash.c
7SRCS	+= bf_cbc.c bf_skey.c bf_enc.c
8SRCS	+= vnode_if.h opt_noblockrandom.h
9CFLAGS	+= -I${.CURDIR}/../..
10NOMAN	= yes
11
12# Uncomment the below macro to make a /dev/random that will not block at
13# boot time. Useful for personal workstations and the like where reboot
14# speed is paramount.
15#NOBLOCKRANDOM=	yes
16.if defined(NOBLOCKRANDOM)
17RANDOM_OPTS=     "\#define NOBLOCKRANDOM"
18.endif
19
20opt_noblockrandom.h:
21	touch opt_noblockrandom.h
22	echo $(RANDOM_OPTS) >> opt_noblockrandom.h
23
24.include <bsd.kmod.mk>
25