1 # $NetBSD: Makefile,v 1.27 2012/11/03 05:19:33 pgoyette 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_mqueue 13 TESTS_C+= t_subr_prf 14 15 TESTS_SH= t_umount 16 TESTS_SH+= t_ps_strings 17 18 BINDIR= ${TESTSDIR} 19 PROGS= h_ps_strings1 20 PROGS+= h_ps_strings2 21 22 23 .if (${MKRUMP} != "no") 24 TESTS_SUBDIRS+= tty 25 26 TESTS_C+= t_extattrctl 27 TESTS_C+= t_filedesc 28 TESTS_C+= t_rnd 29 LDADD.t_extattrctl+= -lrumpvfs -lrump -lrumpuser -lpthread 30 LDADD.t_filedesc+= ${LDADD.t_rnd} 31 LDADD.t_mqueue+= -lrt 32 LDADD.t_rnd+= -lrumpvfs -lrumpdev_rnd -lrumpdev -lrump -lrumpuser -lpthread 33 34 .endif 35 36 37 .PATH: ${NETBSDSRCDIR}/sys/kern 38 TESTS_C+= t_extent 39 SRCS.t_extent= t_extent.c subr_extent.c 40 CPPFLAGS.t_extent.c= -D_EXTENT_TESTING -D__POOL_EXPOSE 41 CPPFLAGS.subr_extent.c= -D_EXTENT_TESTING -D__POOL_EXPOSE 42 43 t_subr_prf.c: gen_t_subr_prf ${NETBSDSRCDIR}/sys/kern/subr_prf.c 44 ${HOST_SH} ${.ALLSRC} ${.TARGET} 45 46 CLEANFILES+= t_subr_prf.c 47 48 .include <bsd.test.mk> 49