blob: 2409ede4ae1d4350563883ecde2eeed1b5243b9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $OpenBSD: Makefile,v 1.6 2008/05/09 18:43:28 brad Exp $
PROG= eventtest
LDADD= -levent
DPADD= ${LIBEVENT}
CFLAGS+= -I${.CURDIR}/../../../lib/libevent
REGRESS_TARGETS= eventtest-select eventtest-kqueue eventtest-poll
.PHONY: ${REGRESS_TARGETS}
eventtest-kqueue: ${PROG}
@echo libevent using: kqueue
@echo
@EVENT_NOPOLL=yes EVENT_NOSELECT=yes ./${PROG}
@echo
eventtest-select: ${PROG}
@echo libevent using: select
@echo
@EVENT_NOPOLL=yes EVENT_NOKQUEUE=yes ./${PROG}
@echo
eventtest-poll: ${PROG}
@echo libevent using: poll
@echo
@EVENT_NOSELECT=yes EVENT_NOKQUEUE=yes ./${PROG}
@echo
.include <bsd.regress.mk>
|