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.6
11.6Schristos#	$NetBSD: Makefile,v 1.6 2016/08/27 14:23:54 christos Exp $
21.1Spooka#
31.1Spooka
41.1SpookaTESTSDIR=	${TESTSBASE}/rump/modautoload
51.6Schristos
61.1SpookaTESTS_C=	t_modautoload
71.5SchristosPAXCTL_FLAGS=	+m
81.1Spooka
91.3SpgoyetteSRCS.t_modautoload+=	t_modautoload.c
101.3Spgoyette
111.1Spooka# Note: we link the rump kernel into the application to make this work
121.1Spooka# on amd64.  This is the reason we keep this test in its own
131.1Spooka# subdirectory -- otherwise the LDADD lines would get a little hairy.
141.1SpookaLDFLAGS+=	-Wl,-E
151.1SpookaLDADD+=		-Wl,--whole-archive	${DESTDIR}/usr/lib/librumpvfs.a	\
161.1Spooka					${DESTDIR}/usr/lib/librump.a	\
171.1Spooka		-Wl,--no-whole-archive
181.1SpookaLDADD+=		-lrumpuser -lpthread
191.4SchristosDPADD+=		${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER}
201.1Spooka
211.1SpookaWARNS=	4
221.1Spooka
231.3Spgoyette# To include a rump version of sysctlbyname()
241.3Spgoyette
251.3Spgoyette.PATH:		${NETBSDSRCDIR}/lib/libc/gen
261.3SpgoyetteSRCS.t_modautoload+=		sysctlbyname.c
271.3SpgoyetteSRCS.t_modautoload+=		sysctlgetmibinfo.c
281.3SpgoyetteCPPFLAGS+=	-DRUMP_ACTION
291.3Spgoyette
301.1Spooka.include <bsd.test.mk>
31

Indexes created Mon Jan 26 14:10:17 GMT 2026