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