freebsd-skq/lib/libevent/Makefile
Xin LI f972197651 Promote libevent to lib/ level and fold ftp-proxy into its parent Makefile.
This allows us to use libevent for other application in the future.

For now libevent is still INTERNALLIB and no shared library is installed.

MFC after:	1 month
2014-10-13 22:15:26 +00:00

32 lines
518 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../contrib/pf/libevent
.include <src.opts.mk>
LIB= event
SHLIB_MAJOR= 1
PRIVATELIB=
INTERNALLIB=
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>