freebsd-skq/lib/libevent1/Makefile
emaste 0445cbd6a8 rename in-tree libevent v1 to libevent1
r316063 installed pf's embedded libevent as a private lib, with headers
in /usr/include/private/event.  Unfortunately we also have a copy of
libevent v2 included in ntp, which needed to be updated for compatibility
with OpenSSL 1.1.

As unadorned 'libevent' generally refers to libevent v2, be explicit that
this one is libevent v1.

Reviewed by:	vangyzen (earlier)
Differential Revision:	https://reviews.freebsd.org/D17275
2020-05-28 22:05:50 +00:00

32 lines
517 B
Makefile

# $FreeBSD$
PACKAGE=lib${LIB}
.PATH: ${SRCTOP}/contrib/pf/libevent
.include <src.opts.mk>
LIB= event1
SHLIB_MAJOR= 1
PRIVATELIB=
SRCS= buffer.c evbuffer.c event.c kqueue.c log.c poll.c select.c signal.c
INCS= 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>