Home | History | Annotate | Line # | Download | only in modautoload
Makefile revision 1.1
      1 #	$NetBSD: Makefile,v 1.1 2010/06/09 12:35:45 pooka Exp $
      2 #
      3 
      4 TESTSDIR=	${TESTSBASE}/rump/modautoload
      5 
      6 TESTS_C=	t_modautoload
      7 
      8 .include <bsd.own.mk>
      9 .ifdef RUMPKMOD
     10 CPPFLAGS+=	-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.
     16 LDFLAGS+=	-Wl,-E
     17 LDADD+=		-Wl,--whole-archive	${DESTDIR}/usr/lib/librumpvfs.a	\
     18 					${DESTDIR}/usr/lib/librump.a	\
     19 		-Wl,--no-whole-archive
     20 LDADD+=		-lrumpuser -lpthread
     21 
     22 WARNS=	4
     23 
     24 .include <bsd.test.mk>
     25