1 # $NetBSD: Makefile,v 1.26 2012/08/08 13:57:06 christos Exp $ 2 3 NOMAN= # defined 4 5 .include <bsd.own.mk> 6 7 TESTSDIR= ${TESTSBASE}/kernel 8 9 TESTS_SUBDIRS= kqueue 10 TESTS_C= t_lock 11 TESTS_C+= t_pty 12 TESTS_C+= t_subr_prf 13 14 TESTS_SH= t_umount 15 TESTS_SH+= t_ps_strings 16 17 BINDIR= ${TESTSDIR} 18 PROGS= h_ps_strings1 19 PROGS+= h_ps_strings2 20 21 22 .if (${MKRUMP} != "no") 23 TESTS_SUBDIRS+= tty 24 25 TESTS_C+= t_extattrctl 26 TESTS_C+= t_filedesc 27 TESTS_C+= t_rnd 28 LDADD.t_extattrctl+= -lrumpvfs -lrump -lrumpuser -lpthread 29 LDADD.t_filedesc+= ${LDADD.t_rnd} 30 LDADD.t_rnd+= -lrumpvfs -lrumpdev_rnd -lrumpdev -lrump -lrumpuser -lpthread 31 32 .endif 33 34 35 .PATH: ${NETBSDSRCDIR}/sys/kern 36 TESTS_C+= t_extent 37 SRCS.t_extent= t_extent.c subr_extent.c 38 CPPFLAGS.t_extent.c= -D_EXTENT_TESTING -D__POOL_EXPOSE 39 CPPFLAGS.subr_extent.c= -D_EXTENT_TESTING -D__POOL_EXPOSE 40 41 t_subr_prf.c: gen_t_subr_prf ${NETBSDSRCDIR}/sys/kern/subr_prf.c 42 ${HOST_SH} ${.ALLSRC} ${.TARGET} 43 44 CLEANFILES+= t_subr_prf.c 45 46 .include <bsd.test.mk> 47