Makefile revision 1.56
11.56Sriastrad# $NetBSD: Makefile,v 1.56 2024/08/27 13:43:02 riastradh Exp $
21.1Schristos
31.1Schristos.include <bsd.own.mk>
41.1Schristos
51.1SchristosTESTSDIR=	${TESTSBASE}/lib/libc/gen
61.1Schristos
71.50SkamilTESTS_SUBDIRS+=	execve
81.40SuebayasiTESTS_SUBDIRS+=	posix_spawn
91.34Smartin
101.20SjruohoTESTS_C+=	t_alarm
111.56SriastradTESTS_C+=	t_arc4random
121.26SjruohoTESTS_C+=	t_assert
131.7SpgoyetteTESTS_C+=	t_basedirname
141.22SjruohoTESTS_C+=	t_closefrom
151.33SjruohoTESTS_C+=	t_cpuset
161.7SpgoyetteTESTS_C+=	t_dir
171.39SjoergTESTS_C+=	t_floatunditf
181.7SpgoyetteTESTS_C+=	t_fmtcheck
191.36SjruohoTESTS_C+=	t_fnmatch
201.29SjruohoTESTS_C+=	t_fpclassify
211.29SjruohoTESTS_C+=	t_fpsetmask
221.29SjruohoTESTS_C+=	t_fpsetround
231.33SjruohoTESTS_C+=	t_ftok
241.18SjruohoTESTS_C+=	t_getcwd
251.55SriastradTESTS_C+=	t_getentropy
261.17SjruohoTESTS_C+=	t_getgrent
271.28SjruohoTESTS_C+=	t_glob
281.7SpgoyetteTESTS_C+=	t_humanize_number
291.29SjruohoTESTS_C+=	t_isnan
301.16SjruohoTESTS_C+=	t_nice
311.23SjruohoTESTS_C+=	t_pause
321.15SjruohoTESTS_C+=	t_raise
331.13SpgoyetteTESTS_C+=	t_randomid
341.35SjruohoTESTS_C+=	t_realpath
351.25SjruohoTESTS_C+=	t_setdomainname
361.24SjruohoTESTS_C+=	t_sethostname
371.12SpgoyetteTESTS_C+=	t_siginfo
381.38SpgoyetteTESTS_C+=	t_sleep
391.27SjruohoTESTS_C+=	t_syslog
401.32SjruohoTESTS_C+=	t_time
411.17SjruohoTESTS_C+=	t_ttyname
421.7SpgoyetteTESTS_C+=	t_vis
431.2Spooka
441.54Skamil.if ${MKSANITIZER:Uno} != "yes" && ${MKLIBCSANITIZER:Uno} != "yes"
451.54SkamilCOPTS.t_siginfo.c+=	-DENABLE_TESTS
461.54Skamil.endif
471.54Skamil
481.56SriastradCPPFLAGS.t_arc4random.c+=-I${NETBSDSRCDIR}/lib/libc/include
491.49SchristosCPPFLAGS.t_siginfo.c+=-D__TEST_FENV
501.53SmayaCOPTS.t_fpsetround.c+=${${ACTIVE_CC} == "gcc":? -frounding-math :}
511.49Schristos
521.41SmattLDADD.t_siginfo+=	-lm
531.41SmattDPADD.t_siginfo+=	${LIBM}
541.29SjruohoLDADD.t_fpclassify+=	-lm
551.31SchristosDPADD.t_fpclassify+=	${LIBM}
561.31SchristosLDADD.t_fpsetround+=	-lm
571.31SchristosDPADD.t_fpsetround+=	${LIBM}
581.29Sjruoho
591.56SriastradLDADD.t_arc4random+=	-lpthread
601.56SriastradDPADD.t_arc4random+=	${LIBPTHREAD}
611.19SjruohoLDADD.t_nice+=		-lpthread
621.31SchristosDPADD.t_nice+=		${LIBPTHREAD}
631.27SjruohoLDADD.t_syslog+=	-lpthread
641.31SchristosDPADD.t_syslog+=	${LIBPTHREAD}
651.1Schristos
661.1Schristos.include <bsd.test.mk>
67