#       $NetBSD: Makefile.rumpkerncomp,v 1.14 2021/09/30 02:00:20 yamaguchi Exp $
#

include <bsd.own.mk>

RUMPKERNCOMPS=  crypto nv sysproxy tty z simplehook_tester
RUMPSYSEMUS=    sys_cygwin sys_linux sys_sunos

if make(rumpdescribe)
RUMPKERNCOMPS+= ${RUMPSYSEMUS}
endif

if ${MKSLJIT} != "no" || make(rumpdescribe)
RUMPKERNCOMPS+= sljit
endif

if ${MKZFS} != "no" || make(rumpdescribe)
RUMPKERNCOMPS+=    solaris
endif

for var in ${RUMPKERNCOMPS}
RUMPKERNLIBS+=lib${var}
RUMPKERNLDADD+=-lrumpkern_${var}
endfor