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