summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2003-06-16 14:14:29 +0000
committermarkus <markus@openbsd.org>2003-06-16 14:14:29 +0000
commitc531865d612e45bf11349e84f53a5b090b2c22ca (patch)
tree9eb0cdc02042144e2595a21a1fd59fb478a33c64
parentno noman (diff)
downloadwireguard-openbsd-c531865d612e45bf11349e84f53a5b090b2c22ca.tar.xz
wireguard-openbsd-c531865d612e45bf11349e84f53a5b090b2c22ca.zip
use bsd.regress.mk
-rw-r--r--regress/lib/libevent/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/regress/lib/libevent/Makefile b/regress/lib/libevent/Makefile
index 9d3e7dd38f8..3f96ffa8cd5 100644
--- a/regress/lib/libevent/Makefile
+++ b/regress/lib/libevent/Makefile
@@ -1,18 +1,16 @@
-# $OpenBSD: Makefile,v 1.1 2003/06/15 16:34:53 mickey Exp $
-
-NOMAN= # defined
+# $OpenBSD: Makefile,v 1.2 2003/06/16 14:14:29 markus Exp $
PROG= eventtest
-CFLAGS+=-Wall
-DPADD+= ${LIBEVENT}
-LDADD+= -levent
-
-libevent-regress: ${PROG}
- @EVENT_SHOW_METHOD="yes" EVENT_NOPOLL="yes" ./eventtest
- @EVENT_SHOW_METHOD="yes" EVENT_NOKQUEUE="yes" ./eventtest
+LDADD= -levent
+DPADD= ${LIBEVENT}
-REGRESS_TARGETS=libevent-regress
+REGRESS_TARGETS= eventtest-select eventtest-kqueue
.PHONY: ${REGRESS_TARGETS}
-.include <bsd.regress.mk>
+eventtest-kqueue:
+ @EVENT_SHOW_METHOD=yes EVENT_NOSELECT=yes ./${PROG}
+eventtest-select:
+ @EVENT_SHOW_METHOD=yes EVENT_NOKQUEUE=yes ./${PROG}
+
+.include <bsd.regress.mk>