aboutsummaryrefslogtreecommitdiff
path: root/lib/libevent
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-10-13 22:15:26 +0000
committerXin LI <delphij@FreeBSD.org>2014-10-13 22:15:26 +0000
commitf9721976514fd3ee8d8ae74e1b32f2e63a4719f7 (patch)
treef0635cb382f1015a3c921ec091c816d96e106308 /lib/libevent
parentd6f180ad78e97a0720ebf6b5da63f6bb720d4c03 (diff)
Notes
Diffstat (limited to 'lib/libevent')
-rw-r--r--lib/libevent/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/libevent/Makefile b/lib/libevent/Makefile
new file mode 100644
index 0000000000000..d8b1e2032ce34
--- /dev/null
+++ b/lib/libevent/Makefile
@@ -0,0 +1,31 @@
+# $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>