aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/posix_spawn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/posix_spawn/Makefile')
-rw-r--r--lib/libc/gen/posix_spawn/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/libc/gen/posix_spawn/Makefile b/lib/libc/gen/posix_spawn/Makefile
new file mode 100644
index 000000000000..6e72a9ac5cb5
--- /dev/null
+++ b/lib/libc/gen/posix_spawn/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.2 2012/02/14 00:13:54 martin Exp $
+
+NOMAN= # defined
+WARNS=4
+
+.include <bsd.own.mk>
+
+TESTSDIR= ${TESTSBASE}/lib/libc/gen/posix_spawn
+
+TESTS_C= t_spawn
+TESTS_C+= t_fileactions
+TESTS_C+= t_spawnattr
+
+BINDIR= ${TESTSDIR}
+SCRIPTSDIR= ${TESTSDIR}
+
+PROGS= h_fileactions
+PROGS+= h_spawn
+PROGS+= h_spawnattr
+SCRIPTS= h_nonexec h_zero
+
+h_zero:
+ dd if=/dev/zero of=h_zero bs=1k count=2
+ chmod a+x h_zero
+
+CLEANFILES+= h_nonexec h_zero
+
+.include <bsd.test.mk>