summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-06-16 14:14:30 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-06-16 14:14:30 +0000
commit0f215d27db98f9142619ee15a3ac98a82e122947 (patch)
tree6220962c91572dd01178a16026450b197973a991
parent01ce5908a4e535bb387d94bdd1dc784cf40e23a0 (diff)
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>