| @@ -1,16 +1,20 @@ | | | @@ -1,16 +1,20 @@ |
1 | # $NetBSD: Makefile,v 1.4 2011/12/19 21:56:18 apb Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2011/12/20 17:09:04 apb Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | .PATH: ${.CURDIR}/../../../../dev | | 4 | .PATH: ${.CURDIR}/../../../../dev |
5 | | | 5 | |
6 | LIB= rumpdev_rnd | | 6 | LIB= rumpdev_rnd |
7 | | | 7 | |
8 | SRCS= rnd.c rndpseudo.c rndpool.c | | 8 | SRCS= rnd.c rndpseudo.c rndpool.c |
9 | SRCS+= ${.CURDIR}/../../../../compat/common/rndpseudo_50.c | | | |
10 | | | 9 | |
11 | SRCS+= component.c | | 10 | SRCS+= component.c |
12 | | | 11 | |
| | | 12 | # sys/rump/Makefile.rump sets CPPFLAGS+= -DCOMPAT_50=1, |
| | | 13 | # so we need rndpseudo_50.c from the compat/common directory. |
| | | 14 | .PATH: ${.CURDIR}/../../../../compat/common |
| | | 15 | SRCS+= rndpseudo_50.c |
| | | 16 | |
13 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs | | 17 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs |
14 | | | 18 | |
15 | .include <bsd.lib.mk> | | 19 | .include <bsd.lib.mk> |
16 | .include <bsd.klinks.mk> | | 20 | .include <bsd.klinks.mk> |