Makefile revision 1.3
11.3Spgoyette# $NetBSD: Makefile,v 1.3 2015/12/27 06:36:36 pgoyette Exp $ 21.1Spooka# 31.1Spooka 41.1SpookaTESTSDIR= ${TESTSBASE}/rump/modautoload 51.1Spooka 61.1SpookaTESTS_C= t_modautoload 71.1Spooka 81.3SpgoyetteSRCS.t_modautoload+= t_modautoload.c 91.3Spgoyette 101.1Spooka# Note: we link the rump kernel into the application to make this work 111.1Spooka# on amd64. This is the reason we keep this test in its own 121.1Spooka# subdirectory -- otherwise the LDADD lines would get a little hairy. 131.1SpookaLDFLAGS+= -Wl,-E 141.1SpookaLDADD+= -Wl,--whole-archive ${DESTDIR}/usr/lib/librumpvfs.a \ 151.1Spooka ${DESTDIR}/usr/lib/librump.a \ 161.1Spooka -Wl,--no-whole-archive 171.1SpookaLDADD+= -lrumpuser -lpthread 181.1Spooka 191.1SpookaWARNS= 4 201.1Spooka 211.3Spgoyette# To include a rump version of sysctlbyname() 221.3Spgoyette 231.3Spgoyette.PATH: ${NETBSDSRCDIR}/lib/libc/gen 241.3SpgoyetteSRCS.t_modautoload+= sysctlbyname.c 251.3SpgoyetteSRCS.t_modautoload+= sysctlgetmibinfo.c 261.3SpgoyetteCPPFLAGS+= -DRUMP_ACTION 271.3Spgoyette 281.1Spooka.include <bsd.test.mk> 29