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.5
11.5Schristos#	$NetBSD: Makefile,v 1.5 2016/08/27 14:21:07 christos Exp $
21.1Spooka#
31.1Spooka
41.1SpookaTESTSDIR=	${TESTSBASE}/rump/modautoload
51.5Schristos.include <bsd.init.mk>
61.5SchristosNOPIE=yes
71.1SpookaTESTS_C=	t_modautoload
81.5SchristosPAXCTL_FLAGS=	+m
91.1Spooka
101.3SpgoyetteSRCS.t_modautoload+=	t_modautoload.c
111.3Spgoyette
121.1Spooka# Note: we link the rump kernel into the application to make this work
131.1Spooka# on amd64.  This is the reason we keep this test in its own
141.1Spooka# subdirectory -- otherwise the LDADD lines would get a little hairy.
151.1SpookaLDFLAGS+=	-Wl,-E
161.1SpookaLDADD+=		-Wl,--whole-archive	${DESTDIR}/usr/lib/librumpvfs.a	\
171.1Spooka					${DESTDIR}/usr/lib/librump.a	\
181.1Spooka		-Wl,--no-whole-archive
191.1SpookaLDADD+=		-lrumpuser -lpthread
201.4SchristosDPADD+=		${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER}
211.1Spooka
221.1SpookaWARNS=	4
231.1Spooka
241.3Spgoyette# To include a rump version of sysctlbyname()
251.3Spgoyette
261.3Spgoyette.PATH:		${NETBSDSRCDIR}/lib/libc/gen
271.3SpgoyetteSRCS.t_modautoload+=		sysctlbyname.c
281.3SpgoyetteSRCS.t_modautoload+=		sysctlgetmibinfo.c
291.3SpgoyetteCPPFLAGS+=	-DRUMP_ACTION
301.3Spgoyette
311.1Spooka.include <bsd.test.mk>
32

Indexes created Sun Dec 21 23:09:34 GMT 2025