2007-07-03 12:46:08 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE=lib${LIB}
|
2017-01-20 04:53:50 +00:00
|
|
|
.PATH: ${SRCTOP}/contrib/pf/libevent
|
2007-07-03 12:46:08 +00:00
|
|
|
|
2014-10-13 22:15:26 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2020-05-28 22:05:50 +00:00
|
|
|
LIB= event1
|
2014-10-13 22:15:26 +00:00
|
|
|
SHLIB_MAJOR= 1
|
|
|
|
PRIVATELIB=
|
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
|
2017-03-27 22:34:43 +00:00
|
|
|
INCS= event.h
|
2007-07-03 12:46:08 +00:00
|
|
|
|
|
|
|
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>
|