Home | History | Annotate | Line # | Download | only in modautoload
Makefile revision 1.3.2.1
      1  1.3.2.1  pgoyette #	$NetBSD: Makefile,v 1.3.2.1 2016/11/04 14:49:24 pgoyette 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.3.2.1  pgoyette PAXCTL_FLAGS=	+ma
      8      1.1     pooka 
      9      1.3  pgoyette SRCS.t_modautoload+=	t_modautoload.c
     10      1.3  pgoyette 
     11      1.1     pooka # Note: we link the rump kernel into the application to make this work
     12      1.1     pooka # on amd64.  This is the reason we keep this test in its own
     13      1.1     pooka # subdirectory -- otherwise the LDADD lines would get a little hairy.
     14      1.1     pooka LDFLAGS+=	-Wl,-E
     15      1.1     pooka LDADD+=		-Wl,--whole-archive	${DESTDIR}/usr/lib/librumpvfs.a	\
     16      1.1     pooka 					${DESTDIR}/usr/lib/librump.a	\
     17      1.1     pooka 		-Wl,--no-whole-archive
     18      1.1     pooka LDADD+=		-lrumpuser -lpthread
     19      1.1     pooka 
     20      1.1     pooka WARNS=	4
     21      1.1     pooka 
     22      1.3  pgoyette # To include a rump version of sysctlbyname()
     23      1.3  pgoyette 
     24      1.3  pgoyette .PATH:		${NETBSDSRCDIR}/lib/libc/gen
     25      1.3  pgoyette SRCS.t_modautoload+=		sysctlbyname.c
     26      1.3  pgoyette SRCS.t_modautoload+=		sysctlgetmibinfo.c
     27      1.3  pgoyette CPPFLAGS+=	-DRUMP_ACTION
     28      1.3  pgoyette 
     29      1.1     pooka .include <bsd.test.mk>
     30