originally created by opening /dev/tun*
-# $OpenBSD: Makefile,v 1.13 2004/12/29 04:39:17 david Exp $
+# $OpenBSD: Makefile,v 1.14 2010/08/04 05:57:21 guenther Exp $
PROG= kqueue-test
CFLAGS+=-Wall
@EVENT_SHOW_METHOD=yes EVENT_NOPOLL=yes EVENT_NOSELECT=yes ${SUDO} ./${PROG} -t
@EVENT_SHOW_METHOD=yes EVENT_NOPOLL=yes EVENT_NOKQUEUE=yes ${SUDO} ./${PROG} -t
@EVENT_SHOW_METHOD=yes EVENT_NOSELECT=yes EVENT_NOKQUEUE=yes ${SUDO} ./${PROG} -t
- @-${SUDO} ifconfig tun98 destroy
- @-${SUDO} ifconfig tun99 destroy
@-${SUDO} rm -f /dev/tun98 /dev/tun99
kq-pty: ${PROG}
${SUDO} ./${PROG} -T