aboutsummaryrefslogtreecommitdiff
path: root/lib/libevent1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libevent1/Makefile')
-rw-r--r--lib/libevent1/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/libevent1/Makefile b/lib/libevent1/Makefile
new file mode 100644
index 000000000000..9e48707bc444
--- /dev/null
+++ b/lib/libevent1/Makefile
@@ -0,0 +1,29 @@
+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>