NetBSD/sys/rump/kern/Makefile.rumpkerncomp
pooka dc8f80f5c3 Put nanosleep() and folks in librump instead of maintaining them in
the separate rumpkern_time component.  Keeping time-related routines
elsewhere lead to some illogical behavior if you didn't think of linking
in rumpkern_time (hands up everyone who checks the return value of
nanosleep()).

Add warnings if rumpkern_time is linked or used.  I'll remove it in a
month or two instead of now since it was part of a buildrump.sh snapshot
and it's nicer if trying to use it gives a warning instead of an error
in the next snapshot.

"everything should be as modular as possible, but no more modular than that"
2014-04-02 19:37:17 +00:00

20 lines
330 B
Makefile

# $NetBSD: Makefile.rumpkerncomp,v 1.10 2014/04/02 19:37:17 pooka Exp $
#
.include <bsd.own.mk>
RUMPKERNCOMPS= crypto tty z
.if ${MKSLJIT} != "no"
RUMPKERNCOMPS+= sljit
.endif
.if ${MKZFS} != "no"
RUMPKERNCOMPS+= solaris
.endif
.for var in ${RUMPKERNCOMPS}
RUMPKERNLIBS+=lib${var}
RUMPKERNLDADD+=-lrumpkern_${var}
.endfor