Makefile revision 1.1
11.1Spooka#	$NetBSD: Makefile,v 1.1 2010/06/09 12:35:45 pooka Exp $
21.1Spooka#
31.1Spooka
41.1SpookaTESTSDIR=	${TESTSBASE}/rump/modautoload
51.1Spooka
61.1SpookaTESTS_C=	t_modautoload
71.1Spooka
81.1Spooka.include <bsd.own.mk>
91.1Spooka.ifdef RUMPKMOD
101.1SpookaCPPFLAGS+=	-DHAVE_HOST_MODULES
111.1Spooka.endif
121.1Spooka
131.1Spooka# Note: we link the rump kernel into the application to make this work
141.1Spooka# on amd64.  This is the reason we keep this test in its own
151.1Spooka# subdirectory -- otherwise the LDADD lines would get a little hairy.
161.1SpookaLDFLAGS+=	-Wl,-E
171.1SpookaLDADD+=		-Wl,--whole-archive	${DESTDIR}/usr/lib/librumpvfs.a	\
181.1Spooka					${DESTDIR}/usr/lib/librump.a	\
191.1Spooka		-Wl,--no-whole-archive
201.1SpookaLDADD+=		-lrumpuser -lpthread
211.1Spooka
221.1SpookaWARNS=	4
231.1Spooka
241.1Spooka.include <bsd.test.mk>
25