2007-07-03 14:46:08 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-10-14 00:15:26 +02:00
|
|
|
.PATH: ${.CURDIR}/../../contrib/pf/libevent
|
2007-07-03 14:46:08 +02:00
|
|
|
|
2014-10-14 00:15:26 +02:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
|
|
|
LIB= event
|
|
|
|
SHLIB_MAJOR= 1
|
|
|
|
PRIVATELIB=
|
|
|
|
INTERNALLIB=
|
2007-07-03 14:46:08 +02: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 12:07:44 +01:00
|
|
|
WARNS?= 2
|
|
|
|
|
2007-07-03 14:46:08 +02:00
|
|
|
.include <bsd.lib.mk>
|