1 # $NetBSD: Makefile,v 1.1 2016/12/19 12:21:29 cherry Exp $ 2 # 3 4 WARNS?=6 5 .include <bsd.own.mk> 6 7 TESTSDIR= ${TESTSBASE}/sys/uvm 8 CPPFLAGS+= -I${NETBSDSRCDIR}/sys -I${.CURDIR}/ -D_TEST -g 9 10 # Depend on the kernel source files too 11 DPSRCS= ${NETBSDSRCDIR}/sys/uvm/uvm_physseg.[ch] 12 13 .PATH: ${NETBSDSRCDIR}/sys/kern 14 TESTS_C+= t_uvm_physseg 15 SRCS.t_uvm_physseg+= t_uvm_physseg.c subr_extent.c 16 CPPFLAGS.t_uvm_physseg.c= -D_EXTENT_TESTING -D__POOL_EXPOSE -DDIAGNOSTIC 17 CPPFLAGS.subr_extent.c= -D_EXTENT_TESTING -D__POOL_EXPOSE -D_KERNTYPES -DDIAGNOSTIC 18 19 TESTS_C+= t_uvm_physseg_load 20 SRCS.t_uvm_physseg_load+= t_uvm_physseg_load.c subr_extent.c 21 CPPFLAGS.t_uvm_physseg_load.c= -D_EXTENT_TESTING -D__POOL_EXPOSE -DDIAGNOSTIC 22 23 .include <bsd.dep.mk> 24 .include <bsd.test.mk> 25