Makefile revision 1.6
1# $NetBSD: Makefile,v 1.6 2016/08/27 14:23:54 christos Exp $ 2# 3 4TESTSDIR= ${TESTSBASE}/rump/modautoload 5 6TESTS_C= t_modautoload 7PAXCTL_FLAGS= +m 8 9SRCS.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. 14LDFLAGS+= -Wl,-E 15LDADD+= -Wl,--whole-archive ${DESTDIR}/usr/lib/librumpvfs.a \ 16 ${DESTDIR}/usr/lib/librump.a \ 17 -Wl,--no-whole-archive 18LDADD+= -lrumpuser -lpthread 19DPADD+= ${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER} 20 21WARNS= 4 22 23# To include a rump version of sysctlbyname() 24 25.PATH: ${NETBSDSRCDIR}/lib/libc/gen 26SRCS.t_modautoload+= sysctlbyname.c 27SRCS.t_modautoload+= sysctlgetmibinfo.c 28CPPFLAGS+= -DRUMP_ACTION 29 30.include <bsd.test.mk> 31