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