Makefile revision 1.4
11.4Schristos# $NetBSD: Makefile,v 1.4 2016/08/20 17:06:18 christos 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.4SchristosDPADD+= ${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER} 191.1Spooka 201.1SpookaWARNS= 4 211.1Spooka 221.3Spgoyette# To include a rump version of sysctlbyname() 231.3Spgoyette 241.3Spgoyette.PATH: ${NETBSDSRCDIR}/lib/libc/gen 251.3SpgoyetteSRCS.t_modautoload+= sysctlbyname.c 261.3SpgoyetteSRCS.t_modautoload+= sysctlgetmibinfo.c 271.3SpgoyetteCPPFLAGS+= -DRUMP_ACTION 281.3Spgoyette 291.1Spooka.include <bsd.test.mk> 30