| @@ -1,15 +1,21 @@ | | | @@ -1,15 +1,21 @@ |
1 | # $NetBSD: Makefile.rumpkerncomp,v 1.6 2013/11/16 01:39:18 rmind Exp $ | | 1 | # $NetBSD: Makefile.rumpkerncomp,v 1.7 2013/11/16 10:34:47 martin Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | .include <bsd.own.mk> | | 4 | .include <bsd.own.mk> |
5 | | | 5 | |
6 | RUMPKERNCOMPS= crypto sljit tty z | | 6 | RUMPKERNCOMPS= crypto tty z |
| | | 7 | |
| | | 8 | .if ${MACHINE_ARCH} == "i386" || \ |
| | | 9 | ${MACHINE_ARCH} == "x86_64" || \ |
| | | 10 | ${MACHINE_ARCH} == "sparc" |
| | | 11 | RUMPKERNCOMPS+= sljit |
| | | 12 | .endif |
7 | | | 13 | |
8 | .if ${MKZFS} != "no" | | 14 | .if ${MKZFS} != "no" |
9 | RUMPKERNCOMPS+= solaris | | 15 | RUMPKERNCOMPS+= solaris |
10 | .endif | | 16 | .endif |
11 | | | 17 | |
12 | .for var in ${RUMPKERNCOMPS} | | 18 | .for var in ${RUMPKERNCOMPS} |
13 | RUMPKERNLIBS+=lib${var} | | 19 | RUMPKERNLIBS+=lib${var} |
14 | RUMPKERNLDADD+=-lrumpkern_${var} | | 20 | RUMPKERNLDADD+=-lrumpkern_${var} |
15 | .endfor | | 21 | .endfor |