summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libc_r/Makefile.inc12
-rw-r--r--regress/lib/libc_r/cancel/Makefile5
-rw-r--r--regress/lib/libc_r/close/Makefile5
-rw-r--r--regress/lib/libc_r/cwd/Makefile5
-rw-r--r--regress/lib/libc_r/execve/Makefile5
-rw-r--r--regress/lib/libc_r/fcntl/Makefile5
-rw-r--r--regress/lib/libc_r/fork/Makefile5
-rw-r--r--regress/lib/libc_r/group/Makefile5
-rw-r--r--regress/lib/libc_r/netdb/Makefile5
-rw-r--r--regress/lib/libc_r/pause/Makefile5
-rw-r--r--regress/lib/libc_r/pcap/Makefile5
-rw-r--r--regress/lib/libc_r/poll/Makefile5
-rw-r--r--regress/lib/libc_r/preemption/Makefile5
-rw-r--r--regress/lib/libc_r/preemption_float/Makefile5
-rw-r--r--regress/lib/libc_r/pthread_cond_timedwait/Makefile5
-rw-r--r--regress/lib/libc_r/pthread_create/Makefile5
-rw-r--r--regress/lib/libc_r/pthread_join/Makefile5
-rw-r--r--regress/lib/libc_r/pthread_mutex/Makefile5
-rw-r--r--regress/lib/libc_r/pw/Makefile5
-rw-r--r--regress/lib/libc_r/readdir/Makefile5
-rw-r--r--regress/lib/libc_r/select/Makefile5
-rw-r--r--regress/lib/libc_r/setjmp/Makefile5
-rw-r--r--regress/lib/libc_r/signal/Makefile5
-rw-r--r--regress/lib/libc_r/sigsuspend/Makefile5
-rw-r--r--regress/lib/libc_r/sigwait/Makefile5
-rw-r--r--regress/lib/libc_r/sleep/Makefile5
-rw-r--r--regress/lib/libc_r/socket/1/Makefile5
-rw-r--r--regress/lib/libc_r/socket/2/Makefile5
-rw-r--r--regress/lib/libc_r/stdarg/Makefile7
-rw-r--r--regress/lib/libc_r/stdio/Makefile5
-rw-r--r--regress/lib/libc_r/switch/Makefile5
-rw-r--r--regress/lib/libc_r/system/Makefile5
-rw-r--r--regress/lib/libpthread/Makefile.inc12
-rw-r--r--regress/lib/libpthread/cancel/Makefile5
-rw-r--r--regress/lib/libpthread/close/Makefile5
-rw-r--r--regress/lib/libpthread/cwd/Makefile5
-rw-r--r--regress/lib/libpthread/execve/Makefile5
-rw-r--r--regress/lib/libpthread/fcntl/Makefile5
-rw-r--r--regress/lib/libpthread/fork/Makefile5
-rw-r--r--regress/lib/libpthread/group/Makefile5
-rw-r--r--regress/lib/libpthread/netdb/Makefile5
-rw-r--r--regress/lib/libpthread/pause/Makefile5
-rw-r--r--regress/lib/libpthread/pcap/Makefile5
-rw-r--r--regress/lib/libpthread/poll/Makefile5
-rw-r--r--regress/lib/libpthread/preemption/Makefile5
-rw-r--r--regress/lib/libpthread/preemption_float/Makefile5
-rw-r--r--regress/lib/libpthread/pthread_cond_timedwait/Makefile5
-rw-r--r--regress/lib/libpthread/pthread_create/Makefile5
-rw-r--r--regress/lib/libpthread/pthread_join/Makefile5
-rw-r--r--regress/lib/libpthread/pthread_mutex/Makefile5
-rw-r--r--regress/lib/libpthread/pw/Makefile5
-rw-r--r--regress/lib/libpthread/readdir/Makefile5
-rw-r--r--regress/lib/libpthread/select/Makefile5
-rw-r--r--regress/lib/libpthread/setjmp/Makefile5
-rw-r--r--regress/lib/libpthread/signal/Makefile5
-rw-r--r--regress/lib/libpthread/sigsuspend/Makefile5
-rw-r--r--regress/lib/libpthread/sigwait/Makefile5
-rw-r--r--regress/lib/libpthread/sleep/Makefile5
-rw-r--r--regress/lib/libpthread/socket/1/Makefile5
-rw-r--r--regress/lib/libpthread/socket/2/Makefile5
-rw-r--r--regress/lib/libpthread/stdarg/Makefile7
-rw-r--r--regress/lib/libpthread/stdio/Makefile5
-rw-r--r--regress/lib/libpthread/switch/Makefile5
-rw-r--r--regress/lib/libpthread/system/Makefile5
64 files changed, 130 insertions, 208 deletions
diff --git a/regress/lib/libc_r/Makefile.inc b/regress/lib/libc_r/Makefile.inc
index 6b358ed05ac..e61f52495ff 100644
--- a/regress/lib/libc_r/Makefile.inc
+++ b/regress/lib/libc_r/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.2 2001/11/12 21:11:11 fgsch Exp $
+# $OpenBSD: Makefile.inc,v 1.3 2002/01/03 00:43:47 art Exp $
# Copyright (c) 1993 Chris Provenzano, proven@athena.mit.edu
LIBC_R?= /usr/lib/libc_r.a
@@ -19,12 +19,4 @@ CFLAGS+= -I${.CURDIR}/../include
NOMAN=
-MAXTIME?= 5
-
-regress: ${PROG}
- @echo; echo "*** $? ***"; \
- if (ulimit -t ${MAXTIME}; ${.OBJDIR}/$?); then \
- echo "-- $? passed"; \
- else \
- echo "-- $? FAILED (exit code $$?)" >&2; \
- fi;
+REGRESSMAXTIME?=5
diff --git a/regress/lib/libc_r/cancel/Makefile b/regress/lib/libc_r/cancel/Makefile
index f9faf68398c..de275c5e13a 100644
--- a/regress/lib/libc_r/cancel/Makefile
+++ b/regress/lib/libc_r/cancel/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= cancel
-SRCS= cancel.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/close/Makefile b/regress/lib/libc_r/close/Makefile
index d09a10dbd1c..68692366ab7 100644
--- a/regress/lib/libc_r/close/Makefile
+++ b/regress/lib/libc_r/close/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= close
-SRCS= close.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/cwd/Makefile b/regress/lib/libc_r/cwd/Makefile
index 0821e066592..77118de45f3 100644
--- a/regress/lib/libc_r/cwd/Makefile
+++ b/regress/lib/libc_r/cwd/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= cwd
-SRCS= cwd.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/execve/Makefile b/regress/lib/libc_r/execve/Makefile
index 8a828adb6a3..32df4e49111 100644
--- a/regress/lib/libc_r/execve/Makefile
+++ b/regress/lib/libc_r/execve/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= execve
-SRCS= execve.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/fcntl/Makefile b/regress/lib/libc_r/fcntl/Makefile
index 74f14602f60..19867a16512 100644
--- a/regress/lib/libc_r/fcntl/Makefile
+++ b/regress/lib/libc_r/fcntl/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:11 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= fcntl
-SRCS= fcntl.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/fork/Makefile b/regress/lib/libc_r/fork/Makefile
index d8e724955c6..7d0b80bd968 100644
--- a/regress/lib/libc_r/fork/Makefile
+++ b/regress/lib/libc_r/fork/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:11 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= fork
-SRCS= fork.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/group/Makefile b/regress/lib/libc_r/group/Makefile
index b9f1557ba8a..7dbeea25ff7 100644
--- a/regress/lib/libc_r/group/Makefile
+++ b/regress/lib/libc_r/group/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:11 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= group
-SRCS= group.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/netdb/Makefile b/regress/lib/libc_r/netdb/Makefile
index 7b293a620c5..70b963db05c 100644
--- a/regress/lib/libc_r/netdb/Makefile
+++ b/regress/lib/libc_r/netdb/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:11 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= netdb
-SRCS= netdb.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/pause/Makefile b/regress/lib/libc_r/pause/Makefile
index 588a25ec48c..97f13c0d205 100644
--- a/regress/lib/libc_r/pause/Makefile
+++ b/regress/lib/libc_r/pause/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:11 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pause
-SRCS= pause.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/pcap/Makefile b/regress/lib/libc_r/pcap/Makefile
index 05adefc51d9..821f1c63e48 100644
--- a/regress/lib/libc_r/pcap/Makefile
+++ b/regress/lib/libc_r/pcap/Makefile
@@ -1,8 +1,7 @@
-# $OpenBSD: Makefile,v 1.4 2001/11/12 00:58:57 marc Exp $
+# $OpenBSD: Makefile,v 1.5 2002/01/03 00:43:47 art Exp $
PROG= pcap
-SRCS= pcap.c
LDADD+= -lpcap
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/poll/Makefile b/regress/lib/libc_r/poll/Makefile
index 1d2503867e4..6a0229ac6c7 100644
--- a/regress/lib/libc_r/poll/Makefile
+++ b/regress/lib/libc_r/poll/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= poll
-SRCS= poll.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/preemption/Makefile b/regress/lib/libc_r/preemption/Makefile
index 8370c6cc399..167f6211568 100644
--- a/regress/lib/libc_r/preemption/Makefile
+++ b/regress/lib/libc_r/preemption/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= preemption
-SRCS= preemption.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/preemption_float/Makefile b/regress/lib/libc_r/preemption_float/Makefile
index 381b804eaec..18cead3fbe5 100644
--- a/regress/lib/libc_r/preemption_float/Makefile
+++ b/regress/lib/libc_r/preemption_float/Makefile
@@ -1,8 +1,7 @@
-# $OpenBSD: Makefile,v 1.2 2001/08/30 08:21:42 fgsch Exp $
+# $OpenBSD: Makefile,v 1.3 2002/01/03 00:43:47 art Exp $
PROG= preemption_float
-SRCS= preemption_float.c
DPADD= ${LIBM}
LDADD= -lm
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/pthread_cond_timedwait/Makefile b/regress/lib/libc_r/pthread_cond_timedwait/Makefile
index 487f916efe7..ec62fc93bc6 100644
--- a/regress/lib/libc_r/pthread_cond_timedwait/Makefile
+++ b/regress/lib/libc_r/pthread_cond_timedwait/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pthread_cond_timedwait
-SRCS= pthread_cond_timedwait.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/pthread_create/Makefile b/regress/lib/libc_r/pthread_create/Makefile
index 8ecea5ff1ca..ac499b0615a 100644
--- a/regress/lib/libc_r/pthread_create/Makefile
+++ b/regress/lib/libc_r/pthread_create/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:16 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pthread_create
-SRCS= pthread_create.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/pthread_join/Makefile b/regress/lib/libc_r/pthread_join/Makefile
index fed1bdca2be..694f7d3efe4 100644
--- a/regress/lib/libc_r/pthread_join/Makefile
+++ b/regress/lib/libc_r/pthread_join/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pthread_join
-SRCS= pthread_join.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/pthread_mutex/Makefile b/regress/lib/libc_r/pthread_mutex/Makefile
index 050627af875..d2dc643d581 100644
--- a/regress/lib/libc_r/pthread_mutex/Makefile
+++ b/regress/lib/libc_r/pthread_mutex/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pthread_mutex
-SRCS= pthread_mutex.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/pw/Makefile b/regress/lib/libc_r/pw/Makefile
index f5d21c798ac..6cea3b688f3 100644
--- a/regress/lib/libc_r/pw/Makefile
+++ b/regress/lib/libc_r/pw/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pw
-SRCS= pw.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/readdir/Makefile b/regress/lib/libc_r/readdir/Makefile
index c1c1e68a135..6c4ea73bc67 100644
--- a/regress/lib/libc_r/readdir/Makefile
+++ b/regress/lib/libc_r/readdir/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= readdir
-SRCS= readdir.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/select/Makefile b/regress/lib/libc_r/select/Makefile
index af34834aebc..87a2da6e3d5 100644
--- a/regress/lib/libc_r/select/Makefile
+++ b/regress/lib/libc_r/select/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= select
-SRCS= select.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/setjmp/Makefile b/regress/lib/libc_r/setjmp/Makefile
index 26457b3f0fc..c3f0f635cca 100644
--- a/regress/lib/libc_r/setjmp/Makefile
+++ b/regress/lib/libc_r/setjmp/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:13 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= setjmp
-SRCS= setjmp.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/signal/Makefile b/regress/lib/libc_r/signal/Makefile
index b107b790354..ae0e5be1f63 100644
--- a/regress/lib/libc_r/signal/Makefile
+++ b/regress/lib/libc_r/signal/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:13 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= signal
-SRCS= signal.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/sigsuspend/Makefile b/regress/lib/libc_r/sigsuspend/Makefile
index 4e0c7a93d2f..6d1ff90bb31 100644
--- a/regress/lib/libc_r/sigsuspend/Makefile
+++ b/regress/lib/libc_r/sigsuspend/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:13 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= sigsuspend
-SRCS= sigsuspend.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/sigwait/Makefile b/regress/lib/libc_r/sigwait/Makefile
index 52117d781b0..271d35b166c 100644
--- a/regress/lib/libc_r/sigwait/Makefile
+++ b/regress/lib/libc_r/sigwait/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:13 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= sigwait
-SRCS= sigwait.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/sleep/Makefile b/regress/lib/libc_r/sleep/Makefile
index 5cde62316d2..26876e2b922 100644
--- a/regress/lib/libc_r/sleep/Makefile
+++ b/regress/lib/libc_r/sleep/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:16 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= sleep
-SRCS= sleep.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/socket/1/Makefile b/regress/lib/libc_r/socket/1/Makefile
index e0eeda8e59b..d523ed1e2a3 100644
--- a/regress/lib/libc_r/socket/1/Makefile
+++ b/regress/lib/libc_r/socket/1/Makefile
@@ -1,7 +1,6 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= socket1
-SRCS= socket1.c
CFLAGS+= -I${.CURDIR}/../../include
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/socket/2/Makefile b/regress/lib/libc_r/socket/2/Makefile
index c53d752619c..9fc7ca397ea 100644
--- a/regress/lib/libc_r/socket/2/Makefile
+++ b/regress/lib/libc_r/socket/2/Makefile
@@ -1,8 +1,7 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= socket2
-SRCS= socket2.c
CFLAGS+= -I${.CURDIR}/../../include
CLEANFILES+= socket2a
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/stdarg/Makefile b/regress/lib/libc_r/stdarg/Makefile
index 9db141562a3..2975e4b61c3 100644
--- a/regress/lib/libc_r/stdarg/Makefile
+++ b/regress/lib/libc_r/stdarg/Makefile
@@ -1,10 +1,9 @@
-# $OpenBSD: Makefile,v 1.2 2001/12/12 21:09:18 fgsch Exp $
+# $OpenBSD: Makefile,v 1.3 2002/01/03 00:43:48 art Exp $
PROG= stdarg
-SRCS= stdarg.c
CFLAGS+= -I${.CURDIR}/../include
-MAXTIME= 10
+REGRESSMAXTIME= 10
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/stdio/Makefile b/regress/lib/libc_r/stdio/Makefile
index f41504c0f39..bd02972816e 100644
--- a/regress/lib/libc_r/stdio/Makefile
+++ b/regress/lib/libc_r/stdio/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:16 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= stdio
-SRCS= stdio.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/switch/Makefile b/regress/lib/libc_r/switch/Makefile
index ef0d6108068..e15cfa97be8 100644
--- a/regress/lib/libc_r/switch/Makefile
+++ b/regress/lib/libc_r/switch/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:16 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= switch
-SRCS= switch.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libc_r/system/Makefile b/regress/lib/libc_r/system/Makefile
index 9bf5594d250..f2d82ee8005 100644
--- a/regress/lib/libc_r/system/Makefile
+++ b/regress/lib/libc_r/system/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/11/09 00:13:32 marc Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= system
-SRCS= system.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/Makefile.inc b/regress/lib/libpthread/Makefile.inc
index 6b358ed05ac..e61f52495ff 100644
--- a/regress/lib/libpthread/Makefile.inc
+++ b/regress/lib/libpthread/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.2 2001/11/12 21:11:11 fgsch Exp $
+# $OpenBSD: Makefile.inc,v 1.3 2002/01/03 00:43:47 art Exp $
# Copyright (c) 1993 Chris Provenzano, proven@athena.mit.edu
LIBC_R?= /usr/lib/libc_r.a
@@ -19,12 +19,4 @@ CFLAGS+= -I${.CURDIR}/../include
NOMAN=
-MAXTIME?= 5
-
-regress: ${PROG}
- @echo; echo "*** $? ***"; \
- if (ulimit -t ${MAXTIME}; ${.OBJDIR}/$?); then \
- echo "-- $? passed"; \
- else \
- echo "-- $? FAILED (exit code $$?)" >&2; \
- fi;
+REGRESSMAXTIME?=5
diff --git a/regress/lib/libpthread/cancel/Makefile b/regress/lib/libpthread/cancel/Makefile
index f9faf68398c..de275c5e13a 100644
--- a/regress/lib/libpthread/cancel/Makefile
+++ b/regress/lib/libpthread/cancel/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= cancel
-SRCS= cancel.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/close/Makefile b/regress/lib/libpthread/close/Makefile
index d09a10dbd1c..68692366ab7 100644
--- a/regress/lib/libpthread/close/Makefile
+++ b/regress/lib/libpthread/close/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= close
-SRCS= close.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/cwd/Makefile b/regress/lib/libpthread/cwd/Makefile
index 0821e066592..77118de45f3 100644
--- a/regress/lib/libpthread/cwd/Makefile
+++ b/regress/lib/libpthread/cwd/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= cwd
-SRCS= cwd.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/execve/Makefile b/regress/lib/libpthread/execve/Makefile
index 8a828adb6a3..32df4e49111 100644
--- a/regress/lib/libpthread/execve/Makefile
+++ b/regress/lib/libpthread/execve/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= execve
-SRCS= execve.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/fcntl/Makefile b/regress/lib/libpthread/fcntl/Makefile
index 74f14602f60..19867a16512 100644
--- a/regress/lib/libpthread/fcntl/Makefile
+++ b/regress/lib/libpthread/fcntl/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:11 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= fcntl
-SRCS= fcntl.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/fork/Makefile b/regress/lib/libpthread/fork/Makefile
index d8e724955c6..7d0b80bd968 100644
--- a/regress/lib/libpthread/fork/Makefile
+++ b/regress/lib/libpthread/fork/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:11 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= fork
-SRCS= fork.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/group/Makefile b/regress/lib/libpthread/group/Makefile
index b9f1557ba8a..7dbeea25ff7 100644
--- a/regress/lib/libpthread/group/Makefile
+++ b/regress/lib/libpthread/group/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:11 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= group
-SRCS= group.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/netdb/Makefile b/regress/lib/libpthread/netdb/Makefile
index 7b293a620c5..70b963db05c 100644
--- a/regress/lib/libpthread/netdb/Makefile
+++ b/regress/lib/libpthread/netdb/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:11 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= netdb
-SRCS= netdb.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/pause/Makefile b/regress/lib/libpthread/pause/Makefile
index 588a25ec48c..97f13c0d205 100644
--- a/regress/lib/libpthread/pause/Makefile
+++ b/regress/lib/libpthread/pause/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:11 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pause
-SRCS= pause.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/pcap/Makefile b/regress/lib/libpthread/pcap/Makefile
index 05adefc51d9..821f1c63e48 100644
--- a/regress/lib/libpthread/pcap/Makefile
+++ b/regress/lib/libpthread/pcap/Makefile
@@ -1,8 +1,7 @@
-# $OpenBSD: Makefile,v 1.4 2001/11/12 00:58:57 marc Exp $
+# $OpenBSD: Makefile,v 1.5 2002/01/03 00:43:47 art Exp $
PROG= pcap
-SRCS= pcap.c
LDADD+= -lpcap
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/poll/Makefile b/regress/lib/libpthread/poll/Makefile
index 1d2503867e4..6a0229ac6c7 100644
--- a/regress/lib/libpthread/poll/Makefile
+++ b/regress/lib/libpthread/poll/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= poll
-SRCS= poll.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/preemption/Makefile b/regress/lib/libpthread/preemption/Makefile
index 8370c6cc399..167f6211568 100644
--- a/regress/lib/libpthread/preemption/Makefile
+++ b/regress/lib/libpthread/preemption/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= preemption
-SRCS= preemption.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/preemption_float/Makefile b/regress/lib/libpthread/preemption_float/Makefile
index 381b804eaec..18cead3fbe5 100644
--- a/regress/lib/libpthread/preemption_float/Makefile
+++ b/regress/lib/libpthread/preemption_float/Makefile
@@ -1,8 +1,7 @@
-# $OpenBSD: Makefile,v 1.2 2001/08/30 08:21:42 fgsch Exp $
+# $OpenBSD: Makefile,v 1.3 2002/01/03 00:43:47 art Exp $
PROG= preemption_float
-SRCS= preemption_float.c
DPADD= ${LIBM}
LDADD= -lm
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/pthread_cond_timedwait/Makefile b/regress/lib/libpthread/pthread_cond_timedwait/Makefile
index 487f916efe7..ec62fc93bc6 100644
--- a/regress/lib/libpthread/pthread_cond_timedwait/Makefile
+++ b/regress/lib/libpthread/pthread_cond_timedwait/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pthread_cond_timedwait
-SRCS= pthread_cond_timedwait.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/pthread_create/Makefile b/regress/lib/libpthread/pthread_create/Makefile
index 8ecea5ff1ca..ac499b0615a 100644
--- a/regress/lib/libpthread/pthread_create/Makefile
+++ b/regress/lib/libpthread/pthread_create/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:16 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pthread_create
-SRCS= pthread_create.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/pthread_join/Makefile b/regress/lib/libpthread/pthread_join/Makefile
index fed1bdca2be..694f7d3efe4 100644
--- a/regress/lib/libpthread/pthread_join/Makefile
+++ b/regress/lib/libpthread/pthread_join/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pthread_join
-SRCS= pthread_join.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/pthread_mutex/Makefile b/regress/lib/libpthread/pthread_mutex/Makefile
index 050627af875..d2dc643d581 100644
--- a/regress/lib/libpthread/pthread_mutex/Makefile
+++ b/regress/lib/libpthread/pthread_mutex/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pthread_mutex
-SRCS= pthread_mutex.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/pw/Makefile b/regress/lib/libpthread/pw/Makefile
index f5d21c798ac..6cea3b688f3 100644
--- a/regress/lib/libpthread/pw/Makefile
+++ b/regress/lib/libpthread/pw/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= pw
-SRCS= pw.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/readdir/Makefile b/regress/lib/libpthread/readdir/Makefile
index c1c1e68a135..6c4ea73bc67 100644
--- a/regress/lib/libpthread/readdir/Makefile
+++ b/regress/lib/libpthread/readdir/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= readdir
-SRCS= readdir.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/select/Makefile b/regress/lib/libpthread/select/Makefile
index af34834aebc..87a2da6e3d5 100644
--- a/regress/lib/libpthread/select/Makefile
+++ b/regress/lib/libpthread/select/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:12 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= select
-SRCS= select.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/setjmp/Makefile b/regress/lib/libpthread/setjmp/Makefile
index 26457b3f0fc..c3f0f635cca 100644
--- a/regress/lib/libpthread/setjmp/Makefile
+++ b/regress/lib/libpthread/setjmp/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:13 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:47 art Exp $
PROG= setjmp
-SRCS= setjmp.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/signal/Makefile b/regress/lib/libpthread/signal/Makefile
index b107b790354..ae0e5be1f63 100644
--- a/regress/lib/libpthread/signal/Makefile
+++ b/regress/lib/libpthread/signal/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:13 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= signal
-SRCS= signal.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/sigsuspend/Makefile b/regress/lib/libpthread/sigsuspend/Makefile
index 4e0c7a93d2f..6d1ff90bb31 100644
--- a/regress/lib/libpthread/sigsuspend/Makefile
+++ b/regress/lib/libpthread/sigsuspend/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:13 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= sigsuspend
-SRCS= sigsuspend.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/sigwait/Makefile b/regress/lib/libpthread/sigwait/Makefile
index 52117d781b0..271d35b166c 100644
--- a/regress/lib/libpthread/sigwait/Makefile
+++ b/regress/lib/libpthread/sigwait/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:13 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= sigwait
-SRCS= sigwait.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/sleep/Makefile b/regress/lib/libpthread/sleep/Makefile
index 5cde62316d2..26876e2b922 100644
--- a/regress/lib/libpthread/sleep/Makefile
+++ b/regress/lib/libpthread/sleep/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:16 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= sleep
-SRCS= sleep.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/socket/1/Makefile b/regress/lib/libpthread/socket/1/Makefile
index e0eeda8e59b..d523ed1e2a3 100644
--- a/regress/lib/libpthread/socket/1/Makefile
+++ b/regress/lib/libpthread/socket/1/Makefile
@@ -1,7 +1,6 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= socket1
-SRCS= socket1.c
CFLAGS+= -I${.CURDIR}/../../include
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/socket/2/Makefile b/regress/lib/libpthread/socket/2/Makefile
index c53d752619c..9fc7ca397ea 100644
--- a/regress/lib/libpthread/socket/2/Makefile
+++ b/regress/lib/libpthread/socket/2/Makefile
@@ -1,8 +1,7 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:10 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= socket2
-SRCS= socket2.c
CFLAGS+= -I${.CURDIR}/../../include
CLEANFILES+= socket2a
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/stdarg/Makefile b/regress/lib/libpthread/stdarg/Makefile
index 9db141562a3..2975e4b61c3 100644
--- a/regress/lib/libpthread/stdarg/Makefile
+++ b/regress/lib/libpthread/stdarg/Makefile
@@ -1,10 +1,9 @@
-# $OpenBSD: Makefile,v 1.2 2001/12/12 21:09:18 fgsch Exp $
+# $OpenBSD: Makefile,v 1.3 2002/01/03 00:43:48 art Exp $
PROG= stdarg
-SRCS= stdarg.c
CFLAGS+= -I${.CURDIR}/../include
-MAXTIME= 10
+REGRESSMAXTIME= 10
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/stdio/Makefile b/regress/lib/libpthread/stdio/Makefile
index f41504c0f39..bd02972816e 100644
--- a/regress/lib/libpthread/stdio/Makefile
+++ b/regress/lib/libpthread/stdio/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:16 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= stdio
-SRCS= stdio.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/switch/Makefile b/regress/lib/libpthread/switch/Makefile
index ef0d6108068..e15cfa97be8 100644
--- a/regress/lib/libpthread/switch/Makefile
+++ b/regress/lib/libpthread/switch/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/08/15 14:37:16 fgsch Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= switch
-SRCS= switch.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>
diff --git a/regress/lib/libpthread/system/Makefile b/regress/lib/libpthread/system/Makefile
index 9bf5594d250..f2d82ee8005 100644
--- a/regress/lib/libpthread/system/Makefile
+++ b/regress/lib/libpthread/system/Makefile
@@ -1,6 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2001/11/09 00:13:32 marc Exp $
+# $OpenBSD: Makefile,v 1.2 2002/01/03 00:43:48 art Exp $
PROG= system
-SRCS= system.c
-.include <bsd.prog.mk>
+.include <bsd.regress.mk>