1# $NetBSD$ 2# 3 4TESTSDIR= ${TESTSBASE}/rump/modautoload 5 6TESTS_C= t_modautoload 7 8.include <bsd.own.mk> 9.ifdef RUMPKMOD 10CPPFLAGS+= -DHAVE_HOST_MODULES 11.endif 12 13# Note: we link the rump kernel into the application to make this work 14# on amd64. This is the reason we keep this test in its own 15# subdirectory -- otherwise the LDADD lines would get a little hairy. 16LDFLAGS+= -Wl,-E 17LDADD+= -Wl,--whole-archive ${DESTDIR}/usr/lib/librumpvfs.a \ 18 ${DESTDIR}/usr/lib/librump.a \ 19 -Wl,--no-whole-archive 20LDADD+= -lrumpuser -lpthread 21 22WARNS= 4 23 24.include <bsd.test.mk> 25