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