Cross Reference: Makefile
xref: /src/tests/modules/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/tests/modules/
Makefile revision 1.17
11.17Schristos# $NetBSD: Makefile,v 1.17 2019/04/15 23:41:23 christos Exp $
21.1Sjmmv
31.1Sjmmv.include <bsd.own.mk>
41.1Sjmmv
51.7SpgoyetteTESTSDIR=	${TESTSBASE}/modules
61.12SchristosCPPFLAGS+=	-D_KERNTYPES
71.1Sjmmv
81.7Spgoyette# Ideally this test could be in the parent Makefile, which could not descend
91.7Spgoyette# into this directory at all.  Unfortunately, the etc/mtree/NetBSD.dist file
101.7Spgoyette# creates the 'modules' subdirectory unconditionally, which if left empty
111.7Spgoyette# will confuse atf-run.  Therefore we must install, at the very least, the
121.7Spgoyette# Atffile into it.
131.7SpgoyetteTESTS_C=	t_modctl
141.8SpookaTESTS_C+=	t_builtin
151.15SkamilTESTS_C+=	t_kcov
161.17SchristosTESTS_C+=	t_ufetchstore
171.17SchristosCPPFLAGS.t_ufetchstore.c+=-I${.CURDIR}/ufetchstore
181.17Schristos.for i in t_modctl t_builtin t_kcov
191.17SchristosLDADD.${i}=	-lprop
201.17SchristosLDADD.${i}+=	-lrumpfs_kernfs -lrumpvfs -lrump -lrumpuser -lrump -lpthread
211.17Schristos.endfor
221.2Sjmmv
231.9SjmmvTESTS_SH=	t_abi_uvm
241.9SjmmvTESTS_SH+=	t_modload
251.13SmartinTESTS_SH+= 	t_klua_pr_52864
261.14SchristosTESTS_SH+=	t_threadpool
271.7Spgoyette
281.7SpgoyetteSUBDIR=		k_helper
291.7SpgoyetteSUBDIR+=	k_helper2
301.10SjruohoSUBDIR+=	k_helper3
311.9SjmmvSUBDIR+=	k_uvm
321.14SchristosSUBDIR+=	threadpool_tester
331.16SthorpejSUBDIR+=	ufetchstore
341.16Sthorpej
351.1Sjmmv.include <bsd.test.mk>
36

Indexes created Thu Dec 04 07:09:29 GMT 2025