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