tools/llvm: Do not build with symbols
[minix3.git] / tests / kernel / Makefile
blob1f6e68aa6eedd586ec1ecf9b23862d646ae2b112
1 # $NetBSD: Makefile,v 1.33 2013/04/16 22:05:44 mlelstv Exp $
3 NOMAN= # defined
5 .include <bsd.own.mk>
7 TESTSDIR= ${TESTSBASE}/kernel
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
18 TESTS_SH= t_umount
19 TESTS_SH+= t_umountstress
20 TESTS_SH+= t_ps_strings
22 BINDIR= ${TESTSDIR}
23 PROGS= h_ps_strings1
24 PROGS+= h_ps_strings2
26 LDADD.t_mqueue+= -lrt
29 .if (${MKRUMP} != "no")
30 TESTS_SUBDIRS+= tty
32 TESTS_C+= t_extattrctl
33 TESTS_C+= t_filedesc
34 TESTS_C+= t_rnd
35 LDADD.t_extattrctl+= -lrumpvfs -lrump -lrumpuser -lpthread
36 LDADD.t_filedesc+= ${LDADD.t_rnd}
37 LDADD.t_rnd+= -lrumpvfs -lrumpdev_rnd -lrumpdev -lrump -lrumpuser -lpthread
39 .endif
42 .PATH: ${NETBSDSRCDIR}/sys/kern
43 TESTS_C+= t_extent
44 SRCS.t_extent= t_extent.c subr_extent.c
45 CPPFLAGS.t_extent.c= -D_EXTENT_TESTING -D__POOL_EXPOSE
46 CPPFLAGS.subr_extent.c= -D_EXTENT_TESTING -D__POOL_EXPOSE
48 t_subr_prf.c: gen_t_subr_prf ${NETBSDSRCDIR}/sys/kern/subr_prf.c
49 ${HOST_SH} ${.ALLSRC} ${.TARGET}
51 CLEANFILES+= t_subr_prf.c
53 .include <bsd.test.mk>