NetBSD/tests/rump/rumpkern/Makefile
thorpej 87d5cea604 Add -lrump after -lkernspace, because kernspace.a references symbols
from librump and hooray for static linking semantics.

Fixes sun2 build issue reported by kre@.

(XXX WTF did this only start failing after the addition of t_threadpool?)
2018-12-26 14:27:23 +00:00

34 lines
714 B
Makefile

# $NetBSD: Makefile,v 1.18 2018/12/26 14:27:23 thorpej Exp $
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/rump/rumpkern
TESTS_C= t_copy
TESTS_C+= t_kern
TESTS_C+= t_lwproc
TESTS_C+= t_modcmd
TESTS_C+= t_modlinkset
TESTS_C+= t_signals
TESTS_C+= t_threads
TESTS_C+= t_threadpool
TESTS_C+= t_tsleep
TESTS_C+= t_workqueue
TESTS_C+= t_vm
TESTS_SH= t_sp
SUBDIR+= h_client h_server
ADD_TO_LD= -lrumpvfs -lrump -lrumpuser -lrump -lpthread
LDADD.t_modlinkset+= -lukfs -lrumpdev_disk -lrumpdev -lrumpfs_msdos
LDADD.t_modlinkset+= -lrumpfs_cd9660 ${ADD_TO_LD}
LDADD+= ${ADD_TO_LD}
KERNSPACE != cd ${.CURDIR}/../kernspace && ${PRINTOBJDIR}
LDADD+= -L${KERNSPACE} -lkernspace -lrump
WARNS= 4
.include <bsd.test.mk>