summaryrefslogtreecommitdiffstats
path: root/lib/libevent/Makefile
blob: d8cc57216cded18c3bbbf6f3adfad438fe7cdb11 (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
31
# $FreeBSD$

PACKAGE=lib${LIB}
.PATH:	${.CURDIR}/../../contrib/pf/libevent

.include <src.opts.mk>

LIB=		event
SHLIB_MAJOR=	1
PRIVATELIB=

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"'

WARNS?=	2

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud