Home | History | Annotate | Line # | Download | only in modautoload
Makefile revision 1.6
      1 #	$NetBSD: Makefile,v 1.6 2016/08/27 14:23:54 christos Exp $
      2 #
      3 
      4 TESTSDIR=	${TESTSBASE}/rump/modautoload
      5 
      6 TESTS_C=	t_modautoload
      7 PAXCTL_FLAGS=	+m
      8 
      9 SRCS.t_modautoload+=	t_modautoload.c
     10 
     11 # Note: we link the rump kernel into the application to make this work
     12 # on amd64.  This is the reason we keep this test in its own
     13 # subdirectory -- otherwise the LDADD lines would get a little hairy.
     14 LDFLAGS+=	-Wl,-E
     15 LDADD+=		-Wl,--whole-archive	${DESTDIR}/usr/lib/librumpvfs.a	\
     16 					${DESTDIR}/usr/lib/librump.a	\
     17 		-Wl,--no-whole-archive
     18 LDADD+=		-lrumpuser -lpthread
     19 DPADD+=		${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER}
     20 
     21 WARNS=	4
     22 
     23 # To include a rump version of sysctlbyname()
     24 
     25 .PATH:		${NETBSDSRCDIR}/lib/libc/gen
     26 SRCS.t_modautoload+=		sysctlbyname.c
     27 SRCS.t_modautoload+=		sysctlgetmibinfo.c
     28 CPPFLAGS+=	-DRUMP_ACTION
     29 
     30 .include <bsd.test.mk>
     31