Cross Reference: Makefile
xref: /src/tests/rump/modautoload/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/tests/rump/modautoload/
Makefile revision 1.8
11.8Schristos#	$NetBSD: Makefile,v 1.8 2016/10/14 16:02:35 christos Exp $
21.1Spooka#
31.1Spooka
41.7Schristos.include <bsd.init.mk>
51.7Schristos
61.1SpookaTESTSDIR=	${TESTSBASE}/rump/modautoload
71.6Schristos
81.1SpookaTESTS_C=	t_modautoload
91.8SchristosPAXCTL_FLAGS=	+ma
101.1Spooka
111.3SpgoyetteSRCS.t_modautoload+=	t_modautoload.c
121.3Spgoyette
131.1Spooka# Note: we link the rump kernel into the application to make this work
141.1Spooka# on amd64.  This is the reason we keep this test in its own
151.1Spooka# subdirectory -- otherwise the LDADD lines would get a little hairy.
161.1SpookaLDFLAGS+=	-Wl,-E
171.1SpookaLDADD+=		-Wl,--whole-archive	${DESTDIR}/usr/lib/librumpvfs.a	\
181.1Spooka					${DESTDIR}/usr/lib/librump.a	\
191.1Spooka		-Wl,--no-whole-archive
201.1SpookaLDADD+=		-lrumpuser -lpthread
211.4SchristosDPADD+=		${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER}
221.1Spooka
231.1SpookaWARNS=	4
241.1Spooka
251.3Spgoyette# To include a rump version of sysctlbyname()
261.3Spgoyette
271.3Spgoyette.PATH:		${NETBSDSRCDIR}/lib/libc/gen
281.3SpgoyetteSRCS.t_modautoload+=		sysctlbyname.c
291.3SpgoyetteSRCS.t_modautoload+=		sysctlgetmibinfo.c
301.3SpgoyetteCPPFLAGS+=	-DRUMP_ACTION
311.3Spgoyette
321.1Spooka.include <bsd.test.mk>
33

Indexes created Sun Dec 21 17:09:30 GMT 2025