2007-07-03 12:46:08 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-10-13 22:15:26 +00:00
|
|
|
.PATH: ${.CURDIR}/../../contrib/pf/libevent
|
2007-07-03 12:46:08 +00:00
|
|
|
|
2014-10-13 22:15:26 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
|
|
|
LIB= event
|
|
|
|
SHLIB_MAJOR= 1
|
|
|
|
PRIVATELIB=
|
|
|
|
INTERNALLIB=
|
2007-07-03 12:46:08 +00:00
|
|
|
|
|
|
|
SRCS= buffer.c evbuffer.c event.c kqueue.c log.c poll.c select.c signal.c
|
|
|
|
HDRS= event.h
|
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR} \
|
|
|
|
-DHAVE_CLOCK_GETTIME \
|
|
|
|
-DHAVE_FCNTL_H \
|
|
|
|
-DHAVE_POLL \
|
|
|
|
-DHAVE_SELECT \
|
|
|
|
-DHAVE_SETFD \
|
|
|
|
-DHAVE_STDARG_H \
|
|
|
|
-DHAVE_SYS_IOCTL_H \
|
|
|
|
-DHAVE_SYS_TIME_H \
|
|
|
|
-DHAVE_UNISTD_H \
|
|
|
|
-DHAVE_VASPRINTF \
|
|
|
|
-DHAVE_WORKING_KQUEUE \
|
|
|
|
-DVERSION='"1.3b"'
|
|
|
|
|
2010-01-02 11:07:44 +00:00
|
|
|
WARNS?= 2
|
|
|
|
|
2007-07-03 12:46:08 +00:00
|
|
|
.include <bsd.lib.mk>
|