1*11be35a1SLionel Sambuc# $NetBSD: Makefile,v 1.2 2012/02/14 00:13:54 martin Exp $ 2*11be35a1SLionel Sambuc 3*11be35a1SLionel SambucNOMAN= # defined 4*11be35a1SLionel SambucWARNS=4 5*11be35a1SLionel Sambuc 6*11be35a1SLionel Sambuc.include <bsd.own.mk> 7*11be35a1SLionel Sambuc 8*11be35a1SLionel SambucTESTSDIR= ${TESTSBASE}/lib/libc/gen/posix_spawn 9*11be35a1SLionel Sambuc 10*11be35a1SLionel SambucTESTS_C= t_spawn 11*11be35a1SLionel SambucTESTS_C+= t_fileactions 12*11be35a1SLionel SambucTESTS_C+= t_spawnattr 13*11be35a1SLionel Sambuc 14*11be35a1SLionel SambucBINDIR= ${TESTSDIR} 15*11be35a1SLionel SambucSCRIPTSDIR= ${TESTSDIR} 16*11be35a1SLionel Sambuc 17*11be35a1SLionel SambucPROGS= h_fileactions 18*11be35a1SLionel SambucPROGS+= h_spawn 19*11be35a1SLionel SambucPROGS+= h_spawnattr 20*11be35a1SLionel SambucSCRIPTS= h_nonexec h_zero 21*11be35a1SLionel Sambuc 22*11be35a1SLionel Sambuch_zero: 23*11be35a1SLionel Sambuc dd if=/dev/zero of=h_zero bs=1k count=2 24*11be35a1SLionel Sambuc chmod a+x h_zero 25*11be35a1SLionel Sambuc 26*11be35a1SLionel SambucCLEANFILES+= h_nonexec h_zero 27*11be35a1SLionel Sambuc 28*11be35a1SLionel Sambuc.include <bsd.test.mk> 29